- From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Wed, 14 Oct 2015 15:48:05 +0000
- To: public-data-shapes-wg@w3.org
shapes-ISSUE-102 (Specifying defaults): Some defaults cannot be explicitly coded [SHACL Spec] http://www.w3.org/2014/data-shapes/track/issues/102 Raised by: Karen Coyle On product: SHACL Spec There are at least two SHACL defaults that cannot be explicitly coded: maxCount and open shape. Being able to code these would not change the behavior of the program, but would have advantages for training and for the documentation function of SHACL. maxCount: maxCount cannot be written in SHACL because the count must be an integer, and there is therefore no way to express "unbounded". However, minCount 0, also a default, can be coded. The difference between them is not user-friendly because it has to do with the internals of SHACL and not user needs. Possible solutions: 1) include a maxCount value in SHACL that means "unbounded" 2) remove minCount 0 to be symmetrical with maxCount and make both min and max defaults explicit in the documentation 3) leave SHACL as is, but create a maxCount value in the high-level language that is interpreted as the maxCount default in SHACL open shape: Both open shape and closed shape could be considered as defaults in SHACL -- different communities will lean in one direction or the other. Because there is no obvious choice for default, it may not be obvious to users which is the default. The only indication that open is the default is the fact that there is an optional SHACL property that closes the shape. Possible solutions: 1) include a SHACL property for the open shape constraint that has the same function as the default
Received on Wednesday, 14 October 2015 15:48:08 UTC