shapes-ISSUE-61 (Direction of sh:nodeShape): Direction of individual scoping: sh:nodeShape vs. sh:individualScope [SHACL Spec]

shapes-ISSUE-61 (Direction of sh:nodeShape): Direction of individual scoping: sh:nodeShape vs. sh:individualScope [SHACL Spec]

http://www.w3.org/2014/data-shapes/track/issues/61

Raised by: Holger Knublauch
On product: SHACL Spec

The SHACL spec currently defines property sh:nodeShape that points from a resource to the shape(s) that it should be validated against. E.g.

ex:MyPerson
    sh:nodeShape ex:PersonShape .

Peter's proposal has an intermediate object (of type sh:Constraint) that represents such linkage, e.g.

ex:MyConstraint
    sh:individualScope ex:MyPerson ;
    sh:shape ex:PersonShape .

(Peter correct me if this is wrong).

We should agree on one mechanism. My belief is that the sh:nodeShape is the more natural and more compact way of representing this, and better aligns with Linked Data principles (how could the system discover a stand-alone constraint at another URI?).

A related question is whether sh:nodeShape would be expected to be in the Shapes Graph (I don't think so).

Received on Saturday, 30 May 2015 03:34:05 UTC