shapes-ISSUE-53 (labra): Conjunction of shapes [SHACL Spec]

shapes-ISSUE-53 (labra): Conjunction of shapes [SHACL Spec]

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

Raised by: Jose Emilio Labra Gayo
On product: SHACL Spec

Add a language construct to define conjunction between different shapes in SHACL

Most of the SHACL proposals contain a construct to specify that two shapes (or set of constraints) can be applied to a node.

In compact syntax, the conjunction is defined by a comma ",".

An simple example is this:

<Shape> { 
  rdfs:label xsd:string
, rdfs:comment xsd:string
}

Although conjunction seems quite natural to be added to SHACL, there are some issues that may be handled in the semantic definition of conjunction like what happens when we define conjunction on shapes that constraint the same predicate.

Received on Saturday, 23 May 2015 05:35:52 UTC