W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > March 2016

Re: SHACL syntax and metamodel complexity

From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
Date: Thu, 3 Mar 2016 15:29:09 -0800
To: Arnaud Le Hors <lehors@us.ibm.com>
Cc: public-data-shapes-wg@w3.org
Message-ID: <56D8C8C5.6070208@gmail.com>
This wording is extremely confused.   It is possible to have multiple
constraint components on the same property in one component, such as a
minCount and a class.  The confusion comes from using "property" for two
different things.

peter


On 03/03/2016 03:22 PM, Arnaud Le Hors wrote:
> Ah ok, I found where the restriction comes from in the spec:
> 
> http://w3c.github.io/data-shapes/shacl/#constraints-property
> 
> Section 3.1 Property Constraints (sh:property)
> "None of these properties can be repeated within the same
> sh:PropertyConstraint. In order to define multiple constraints using the same
> property, such as multiple sh:hasValue constraints, the shape must use
> multiple sh:property definitions."
> 
> Thanks.
> --
> Arnaud  Le Hors - Senior Technical Staff Member, Open Web Technologies - IBM
> Software Group
> 
> 
Received on Thursday, 3 March 2016 23:29:43 UTC

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