shapes-ISSUE-138 (Property constraints as lists): Should property constraints use rdf:Lists? [SHACL - Core]

shapes-ISSUE-138 (Property constraints as lists): Should property constraints use rdf:Lists? [SHACL - Core]

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

Raised by: Holger Knublauch
On product: SHACL - Core

Proposal 4 proposes a change to the RDF representation of property constraints, from

ex:MyShape a sh:Shape ;
    sh:property [
        sh:predicate rdfs:label ;
        sh:minCount 1 ;
    ] .

to

ex:MyShape a sh:Shape ;
    sh:propValues (
        rdfs:label
        [ sh:minCount 1 ]
    ) .

Inverse properties currently look like

ex:MyShape a sh:Shape ;
    sh:inverseProperty [
        sh:predicate ex:myProperty ;
        sh:minCount 1 ;
    ] .

and would change to

ex:MyShape a sh:Shape ;
    sh:propValues (
        [ sh:inverse ex:myProperty ] ;
        [ sh:minCount 1 ] ;
    ) .

Received on Friday, 18 March 2016 02:57:30 UTC