Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate Failed to determine the content type #2

Open
coret opened this issue Mar 24, 2020 · 1 comment
Open

validate Failed to determine the content type #2

coret opened this issue Mar 24, 2020 · 1 comment

Comments

@coret
Copy link

coret commented Mar 24, 2020

Als ik de validate run (zoals beschreven in README, na crawl en map) krijg ik de volgende foutmelding:

$docker-compose run --rm --user 1000:1000 validate starter.sh --data centsprenten_edm.ttl --shape CHO_edm.shacl --output validate_results.ttl

Checking input parameters...

Starting SHACL validation with shapes: shapes/CHO_edm.shacl on input data data/centsprenten_edm.ttl...
org.apache.jena.riot.RiotException: Failed to determine the content type: (URI=/opt/shapes/CHO_edm.shacl : stream=null)
        at org.apache.jena.riot.RDFParser.parseURI(RDFParser.java:316)
        at org.apache.jena.riot.RDFParserBuilder.parse(RDFParserBuilder.java:540)
        at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:252)ava:921)
        at org.apache.jena.riot.RDFDataMgr.loadGraph(RDFDataMgr.java:384)
        at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)a:88)
        at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
        at shacl.shacl.main(shacl.java:81)_validate.java:54)

(ook met andere, eigen data/shape bestanden)

@coret
Copy link
Author

coret commented Mar 26, 2020

Workaround: rename *.shacl to *.ttl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant