- From: Karen Coyle <kcoyle@kcoyle.net>
- Date: Sat, 04 Apr 2015 07:30:18 -0700
- To: public-data-shapes-wg@w3.org
I wasn't able to answer this one because the property, as defined, doesn't make sense to me. The definition in the document is: "The property sh:valueShape can be used verify that all values of the given property must match a given shape." But in the introduction, there is a clear separation between node constraints and property contraints: "A shape describes a group of local constraints with the same focus node. Many of these constraints are about a certain property only, and these are called property constraints." To me, constraints on values are property constraints, while constraints on the content or shape of the node (e.g. the properties and classes) are shape constraints. Thus the statement "all values of a given property must match a given shape" would make more sense as "all values of a given property must match the property constraint". "valueShape" reads to me as "appleOrange", and that section of the document isn't clear for this reason. Also, that section only shows a nested example. The text should make clear that the value can be a literal, a datatype, or a node, and should show how one indicates those. I am particularly interested in how one would create a constraint that limits the value to a particular literal list, and another example that shows limiting to a particular RDF-defined vocabulary. kc On 4/2/15 4:21 PM, RDF Data Shapes Working Group Issue Tracker wrote: > shapes-ISSUE-39 (Value shape facet): Naming of value shape facet [SHACL Spec] > > http://www.w3.org/2014/data-shapes/track/issues/39 > > Raised by: Holger Knublauch > On product: SHACL Spec > > See https://www.w3.org/2014/data-shapes/wiki/Facet_Property_Names > > How should the facet property for value shapes be called? Please cast your vote on the page linked above. > > > > -- Karen Coyle kcoyle@kcoyle.net http://kcoyle.net m: 1-510-435-8234 skype: kcoylenet/+1-510-984-3600
Received on Saturday, 4 April 2015 14:30:47 UTC