shapes-ISSUE-59 (labra): Cardinalities and default cardinalities [SHACL Spec]

shapes-ISSUE-59 (labra): Cardinalities and default cardinalities [SHACL Spec]

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

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

Most of current SHACL proposals already contain the notion of cardinalities to restrict the number of triples with the focus node as the subject and the given property as the predicate. 

The maximum cardinality is also defined in a way that can be a number or unlimited. 

In SHACL compact syntax, cardinality can be expressed by two numbers {m,n} or by the common regular expression operators 

+ = {1,unbounded}
? = {0,1}
* = {0,unbouned)

One of the differences between proposals is about the default cardinality if no cardinality is expressed. Possibilities:

- {1,1} 
- {0,unbounded} 
- {1,unbounded} 
- Other

Received on Saturday, 23 May 2015 07:13:31 UTC