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

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