- From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
- Date: Sun, 4 Dec 2016 12:25:13 -0800
- To: "public-rdf-shapes@w3.org" <public-rdf-shapes@w3.org>
Data Graph @prefix ex: <http://example.org/> . ex:i rdf:type ex:c ; ex:p ex:v1, ex:v2, ex:v3 . Shapes Graph @prefix ex: <http://example.org/> . @prefix sh: <http://www.w3.org/ns/shacl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . ex:s rdf:type sh:Shape ; sh:targetClass ex:c ; sh:property [ sh:class ex:c ] . The graph below is an acceptable validation report for validating the above data graph against the above shapes graph. @prefix ex: <http://example.org/> . @prefix sh: <http://www.w3.org/ns/shacl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . ex:ValidationResult rdfs:subClassOf sh:ValidationResult ; [] a [ rdfs:subClassOf sh:ValidationReport ] ; sh:conforms false ; sh:result [ a ex:ValidationResult ; sh:resultSeverity sh:Violation ; sh:focusNode ex:i ; sh:resultPath ex:p ; sh:value ex:v1, ex:v2, ex:v3 ; sh:sourceConstraintComponent sh:ClassConstraintComponent ] . Peter F. Patel-Schneider Nuance Communications
Received on Sunday, 4 December 2016 20:25:50 UTC