W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > May 2015

shapes-ISSUE-57 (labra): Grouping of Shapes [SHACL Spec]

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Sat, 23 May 2015 06:24:18 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1Yw2r4-000ASv-2m@maia.w3.org>
shapes-ISSUE-57 (labra): Grouping of Shapes [SHACL Spec]

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

Raised by: Jose Emilio Labra Gayo
On product: SHACL Spec

When combining Shapes with and and or operators, it is natural to group those shapes. In compact syntax, grouping is represented by parenthesis. 

For example:

<PersonShape> {
  foaf:name xsd:string
| ( foaf:firstName xsd:string +
  , foaf:lastName xsd:String
  )
}

A natural extension is to add cardinalities on those groups. SHACL spec should define if groupings and cardinalities over groupings are possible.
Received on Saturday, 23 May 2015 06:24:19 UTC

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