Skip to content

Commit

Permalink
Check validity of turtle file before sending to SHACL validation #13
Browse files Browse the repository at this point in the history
Closes #13
  • Loading branch information
sroertgen committed Jan 30, 2024
1 parent e5f8f50 commit a7e666b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/validate-skos
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit a7e666b

Please sign in to comment.