slanted W3C logo
Cover page images (keys)

RDF Data Shapes [Was: ShExC]

W3C Tech Review
24 July, 2014

Problem Statement

Sample use case

See http://www.w3.org/2012/12/rdf-val/SOTA

ShExC (Compact syntax)

See http://www.w3.org/2013/ShEx/Examples/

OWL Closed World/Unique Name (ICV)

in ICV (untested):

  Class: my:UserShape
      SubClassOf:
          ((foaf:name exactly 1 xsd:string)
           or ((foaf:givenName min 1 xsd:string)
               and (foaf:familyName exactly 1 xsd:string)))
          and (foaf:mbox min 0 owl:Thing)
          and (foaf:mbox max 1 owl:Thing)

  DataProperty: foaf:givenName
  DataProperty: foaf:familyName
  DataProperty: foaf:name
  ObjectProperty: foaf:mbox
  ObjectProperty: foaf:phone

similar to ShExC:

my:UserShape {
    (foaf:name xsd:string
     | foaf:givenName xsd:string+,
       foaf:familyName xsd:string),
    foaf:mbox IRI
}

Semantics