Re: shapes-ISSUE-91 (hsolbrig): Default Cardinality [SHACL Spec]

* Karen Coyle <kcoyle@kcoyle.net> [2015-09-25 14:15+0200]
> I think that the cardinality defaults interact with the closed/open
> graph definition. If the graph is open, then a default of
> "minCardinality = 0, maxCardinality = *" is pretty close to
> meaningless. In an open graph, all potential predicates are
> "optional" unless defined otherwise, and specifying optional
> predicates does not invoke any useful behavior. In the case of an
> closed graph, "minCardinality = 0" describes a specific optional
> predicate.
> 
> SHACL, if I understand it correctly, describes an open graph by
> default. This means that only ""minCardinality > 0" can be
> validated.
> 
> Although the statement by Holger that "if something is left
> unspecified then it should count as unconstrained" resonates, I
> would consider the inclusion of a optional property to be specified,
> not unspecified.

reading this as support for a default of {1,1}, I support this.
+1 to {1,1}.


> kc
> 
> On 9/25/15 1:02 AM, Holger Knublauch wrote:
> >I believe if something is left unspecified then it should count as
> >unconstrained. So if no sh:minCount or sh:maxCount is given then it
> >should count as 0..* by default.
> >
> >PROPOSAL: Close ISSUE-91 stating that the default interpretations of
> >sh:minCount and sh:maxCount (and their qualified counterparts) should
> >remain as currently specified.
> >
> >Holger
> >
> >PS: A compact syntax may of course use different conventions and
> >automatically generate the corresponding min/max triples.
> >
> >
> >On 9/25/2015 0:46, RDF Data Shapes Working Group Issue Tracker wrote:
> >>shapes-ISSUE-91 (hsolbrig): Default Cardinality [SHACL Spec]
> >>
> >>http://www.w3.org/2014/data-shapes/track/issues/91
> >>
> >>Raised by: Harold Solbrig
> >>On product: SHACL Spec
> >>
> >>The defaults for cardinality in UML are [1..1]  (see:
> >>MultiplicityElement.lowerBound() and MultiplicityElement.upperBound()
> >>on page 41 of OMG specification ptc/2013-09-05).  Should these be the
> >>defaults for mincount and maxcount in Section 3.1.5 of the SHACL
> >>specification as well?  Currently they are [0..*].
> >>
> >>
> >>
> >
> >
> >
> 
> -- 
> Karen Coyle
> kcoyle@kcoyle.net http://kcoyle.net
> m: 1-510-435-8234
> skype: kcoylenet/+1-510-984-3600
> 

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.

Received on Friday, 25 September 2015 13:03:24 UTC