Closed dpetran closed 5 months ago
Awesome @dpetran! Super happy to see this.
I think we are also still missing class inheritance (parent class shapes should apply to child classes).
I think we are also still missing class inheritance (parent class shapes should apply to child classes).
Thanks, that's absolutely right, I had forgotten about hierarchies.
We were very close and the work was not hard, so I decided to make our SHACL support more complete.
This PR adds support (and tests) for all remaining SHACL constraints, namely:
sh:languageIn
sh:uniqueLang
sh:and
sh:or
sh:xone
It also adds support for SHACL
sh:alternativePath
paths.It also adds tests for existing
sh:targetSubjectsOf
andsh:targetNode
target declarations.The only unsupported part of SHACL that remains are the recursive
sh:path
variants:sh:zeroOrMorePath
sh:oneOrMorePath
sh:zeroOrOnePath