shapes-ISSUE-213 (Finding shapes): Finding shapes [SHACL Spec]

shapes-ISSUE-213 (Finding shapes): Finding shapes [SHACL Spec]

http://www.w3.org/2014/data-shapes/track/issues/213

Raised by: Karen Coyle
On product: SHACL Spec

Email from Peter: https://lists.w3.org/Archives/Public/public-rdf-shapes/2016Nov/0005.html

Data Graph D:

ex:i1 rdf:type ex:c ;
 ex:p1 ex:i2 .

2/ finding shapes

Shapes Graph S2:

se:s1
  sh:not se:s2 .
se:s2
  sh:targetClass ex:c ;
  sh:class ex:d .
se:s3
  sh:targetClass ex:c ;
  sh:nodeKind sh:BlankNode .

Validating D against S2 produces the following validation report

[ rdf:type sh:ValidationResult ;
  sh:severity sh:Violation ;
  sh:focusNode ex:i1 ;
  sh:sourceConstraintComponent sh:ClassConstraintComponent ;
  sh:sourceShape se:s2 ] .

Received on Tuesday, 22 November 2016 22:50:00 UTC