How looks ValidationReport + according ValidationResult for sh:or based shape?

Hello,

i am currently working on a SHACL Core processor for PHP[1]. Handling 
the ValidationReport as result of sh:or is unclear for me. The section 
4.6.3 of the spec[2] does not outline how the ValidationResult looks 
like, if one, none or all shapes fail.

Is there anything i missed in the specification? If not, can you please 
give me a simple example of a ValidationReport and according 
ValidationResults for a given sh:or?

> :NodeShape
>     rdf:type sh:NodeShape ;
>     sh:targetClass foaf:Person ;
>     sh:or ([
>             sh:path foaf:firstName ;
>             sh:minCount 1 ;
>         ],
>         [
>             sh:path foaf:givenName ;
>             sh:minCount 1 ;
>         ]) .


[1] - https://github.com/k00ni/shacl-php
[2] - https://www.w3.org/TR/shacl/#OrConstraintComponent

Thanks in advance!

-- 
Mit freundlichem Gruß / Kinda regards
Konrad Abicht

Leipzig University
Institute of Computer Science
AKSW Group
http://aksw.org/KonradAbicht.html

Received on Wednesday, 18 October 2017 09:00:32 UTC