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

Re: shapes-ISSUE-160 (Generalize sh:valueShape): Shall we generalize sh:valueShape to sh:shape [SHACL - Core]

From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
Date: Thu, 19 May 2016 13:13:03 -0700
To: RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
Message-ID: <d2109274-02f7-f1ea-66a8-a812853b75f0@gmail.com>
The idea behind this generalization is good, but there needs to be more
details in how the generalization works, particularly as the current
descriptive wording in the spec is quite explicit in that it works for
properties only:

The property sh:valueShape can be used verify that all values of the given
property must have a given shape.



peter


On 05/11/2016 04:31 PM, RDF Data Shapes Working Group Issue Tracker wrote:
> shapes-ISSUE-160 (Generalize sh:valueShape): Shall we generalize sh:valueShape to sh:shape [SHACL - Core]
> 
> http://www.w3.org/2014/data-shapes/track/issues/160
> 
> Raised by: Holger Knublauch
> On product: SHACL - Core
> 
> Currently sh:valueShape only applies to property constraints. However, this means that it cannot easily be used in cases like sh:or. Also, there is no reason not to allow it for NodeConstraints.
> 
> PROPOSAL: Rename sh:valueShape to sh:shape, add sh:NodeConstraint to its context.
> 
> 
> 
Received on Thursday, 19 May 2016 20:13:37 UTC

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