shapes-ISSUE-82 (Unique language): Shall SHACL Core include support for unique language constraints? [SHACL Spec]

shapes-ISSUE-82 (Unique language): Shall SHACL Core include support for unique language constraints? [SHACL Spec]

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

Raised by: Holger Knublauch
On product: SHACL Spec

A very common pattern e.g. for skos:prefLabel is that all values of a property must have a distinct language tag. SHACL core could include this as a built-in, e.g.

ex:MyShape
    sh:property [
        a sh:UniqueLangPropertyConstraint ;
        sh:predicate skos:prefLabel ;
        sh:datatype sh:text ;
    ] .

Alternatively:

ex:MyShape
    sh:property [
        sh:predicate skos:prefLabel ;
        sh:datatype sh:text ;
        sh:uniqueLang true ;
    ] .

Received on Wednesday, 19 August 2015 00:06:23 UTC