ISSUE-230: Inconsistency in the use of $this and $PATH in sh:sparql vs constraint components
$this and $PATH in sh:sparql
Inconsistency in the use of $this and $PATH in sh:sparql vs constraint components
- SHACL - SPARQL
- Raised by:
- Holger Knublauch
- Opened on:
- At the end of
Peter reports that we use $this to point at value nodes in SPARQL constraints.
This should be fixed so that it refers again to the focus node, plus we should allow the use of $PATH when sh:sparql is used in property shapes.
Related is that we currently support a SPARQL result variable "focusNode" which has higher precedence than ?this for sh:focusNode in the results. I don't think this variable was ever discussed property and I want to delete it.
- Related Actions Items:
- No related actions
- Related emails:
- shapes-ISSUE-230 ($this and $PATH in sh:sparql): Inconsistency in the use of $this and $PATH in sh:sparql vs constraint components [SHACL - SPARQL] (from firstname.lastname@example.org on 2017-02-10)
RESOLVED 2017-02-15: Close ISSUE-230 by changing the binding of ?this from the value node to the focus node (section 5.3.1) and allowing the use of $PATH in SPARQL-based constraints. Remove the special handling of the result variable ?focusNode in SPARQL constraints. $this will become the sh:focusNode.Holger Knublauch, 15 Feb 2017, 23:44:52
Display change log