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

State:
CLOSED
Product:
SHACL - SPARQL
Raised by:
Holger Knublauch
Opened on:
2017-02-10
Description:
At the end of

https://lists.w3.org/Archives/Public/public-rdf-shapes/2017Feb/0080.html

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:
  1. 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 sysbot+tracker@w3.org on 2017-02-10)

Related notes:

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 ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 230.html,v 1.1 2018/11/26 09:03:37 carine Exp $