Closed hmottestad closed 5 years ago
It should only link to the sh:or but sh:details could be used to provide info into deeper causes.
https://www.w3.org/TR/shacl/#results-detail
In the case of sh:or, there would be pointers to all nested shapes, because all of them have failed. In the TopBraid API there is a flag to activate those nested sh:details.
Thank you @HolgerKnublauch
I've implemented it as you have recommended. The SHACL engine in RDF4J is getting closer and closer to being useful now :)
Nested shapes in sh:or do not produce very useful reports.
Consider the following shape:
Should a failing validation report link to the OrConstraintComponent or the DatatypeConstraintComponent? Or both, like this: