shapes-ISSUE-90 (Literal focus nodes): Can the focus node be a literal? [SHACL Spec]

shapes-ISSUE-90 (Literal focus nodes): Can the focus node be a literal? [SHACL Spec]

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

Raised by: Holger Knublauch
On product: SHACL Spec

The spec is vague on that topic, but we need to clarify whether the focus node can also be a literal. My assumption from the SPIN days is that they would only be IRIs and blank nodes, but now I see no real reason for such a restriction. But I have not tried it out yet, so I may be missing some consequences. Does anyone see problems?

A use case would be to allow sh:valueShape to apply to literals too, e.g. to check its own datatype or length, e.g. for qualified constraints.

If we change this, then http://w3c.github.io/data-shapes/shacl/#AllObjectsScope should be generalized.

Received on Monday, 21 September 2015 00:44:34 UTC