-
Notifications
You must be signed in to change notification settings - Fork 64
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
Difference between PySHACL and TopBraid SHACL API #227
Comments
I suspect this is a bug in the pyshacl sh:path builder, related to the use of |
@rmfranken |
🥳 Thank you for the fix! Look forward to testing it :) |
@rmfranken |
I first posted this in the SHACL discord lastweek, but wanted to make an issue here officially.
I'm getting a significantly different result from PySHACL vs TopBraid SHACL validation engine.
parameters for pyshacl:
pyshacl -s shapestest.ttl -m -a -f human -j datatest.ttl
command TopBraid:
.\shaclvalidate.bat -datafile 'datatest.ttl' -shapesfile 'shapestest.ttl'
I also tried running pyshacl with -i rdfs flag with same result.
Pyshacl seems to find 9 errors
TopBraid finds 5
I am expecting 3 validation errors from ex-sh-rl:Or1 , 1 from ex-sh-rl:WrongClass and 1 from ex-sh-rl:bothOrsAtOnce
In other words, for some reason, pyshacl is incorrectly saying that my correctClass and correctSuperClass are wrong for every scenario.
why is there a difference?
Data:
Shapes:
The text was updated successfully, but these errors were encountered: