ISSUE-168: How to constrain number of instances of a class in a graph
instance count
How to constrain number of instances of a class in a graph
- State:
- CLOSED
- Product:
- SHACL - Core
- Raised by:
- Holger Knublauch
- Opened on:
- 2016-06-13
- Description:
- There was recent discussion about how to specify min/max numbers of instances in a graph. Off-list I had also received a question from schema.org people about how to state that a graph/message must have exactly one instance of schema:FlightReservation, possibly to ensure that a graph has a starting point/root for validation.
A possible syntax that would easily work with the current architecture could be
ex:MyShape
a sh:Shape ;
sh:scopeNode schema:FlightReservation ;
sh:constraint [
sh:minInstanceCount 1 ;
sh:maxInstanceCount 1 ;
] . - Related Actions Items:
- No related actions
- Related emails:
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-23)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-23)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-23)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from pfpschneider@gmail.com on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from lehors@us.ibm.com on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-22)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-21)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-18)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-18)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-17)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-17)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-17)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-17)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-17)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-17)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kontokostas@informatik.uni-leipzig.de on 2016-06-14)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-14)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from holger@topquadrant.com on 2016-06-14)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kontokostas@informatik.uni-leipzig.de on 2016-06-13)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-13)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-13)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from kcoyle@kcoyle.net on 2016-06-13)
- Re: shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from irene@topquadrant.com on 2016-06-13)
- shapes-ISSUE-168 (instance count): How to constrain number of instances of a class in a graph [SHACL - Core] (from sysbot+tracker@w3.org on 2016-06-13)
Related notes:
RESOLUTION: Close ISSUE-168, without adding min/maxInstanceCount as not motivated enough
See https://www.w3.org/2016/06/23-shapes-minutes.html#item04
Display change log