W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > March 2016

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

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 18 Mar 2016 02:57:29 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1agkbR-000FT0-Cp@deneb.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:30 UTC