From a7e666bb1b4a10b6f132a8b0d8e04f5fe472f6b7 Mon Sep 17 00:00:00 2001 From: "@s.roertgen" Date: Tue, 30 Jan 2024 10:17:24 +0100 Subject: [PATCH] Check validity of turtle file before sending to SHACL validation #13 Closes #13 --- scripts/validate-skos | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/validate-skos b/scripts/validate-skos index 2430639..527d6ef 100755 --- a/scripts/validate-skos +++ b/scripts/validate-skos @@ -106,6 +106,9 @@ if [ $attempt -gt $max_attempts ]; then exit 1 fi +riotResult="$(docker run --rm -v $testfile:/rdf/testfile.ttl skohub/jena:4.6.1 riot --validate /rdf/testfile.ttl)" +echo $? + # upload file curl --request POST \ --url "http://localhost:$port/dataset/data?graph=default" \