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

This is a requirement [1] on our list.

Does this apply only to literal values, or also object values (as per 
OWL)? Note that SKOS labels are defined as owl:AnnotationProperty.[2] I 
don't know if that makes a difference.

kc
[1] http://w3c.github.io/data-shapes/data-shapes-ucr/#dfn-r7.3
[2] http://www.w3.org/TR/2009/REC-skos-reference-20090818/#L1329

On 8/18/15 5:03 PM, RDF Data Shapes Working Group Issue Tracker wrote:
> 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.
>
>
>
>

-- 
Karen Coyle
kcoyle@kcoyle.net http://kcoyle.net
m: 1-510-435-8234
skype: kcoylenet/+1-510-984-3600

Received on Thursday, 20 August 2015 16:51:21 UTC