shapes-ISSUE-81 (Property pair constraints): Shall SHACL Core include support for disjoint properties and other property pair constraints? [SHACL Spec]

shapes-ISSUE-81 (Property pair constraints): Shall SHACL Core include support for disjoint properties and other property pair constraints? [SHACL Spec]

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

Raised by: Holger Knublauch
On product: SHACL Spec

SKOS has several pairs of properties that must be disjoint. E.g. skos:prefLabel and skos:altLabel must not have the same values. This seems to be a recurring pattern, also supported by OWL. We may want to add something like

sh:AbstractPropertyPairConstraint
    sh:argument sh:predicate1 ;
    sh:argument sh:predicate2 .

sh:DisjointPropertyPairConstraint
    rdfs:subClassOf sh:AbstractPropertyPairConstraint .

Another common pattern would be

sh:OrderedPropertyPairConstraint
    rdfs:subClassOf sh:AbstractPropertyPairConstraint .

where all values of ?predicate1 must be < ?predicate2.

Received on Wednesday, 19 August 2015 00:03:38 UTC