W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > November 2016

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

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Tue, 22 Nov 2016 22:49:54 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1c9Jsw-0007aN-Kv@maia.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:38 UTC