another problem with pre-binding

Here is another problem with pre-binding in SHACL.

Consider the following query

PREFIX ex: <http://example.org/>
SELECT $this WHERE {
 ?parent ex:type/ex:subClassOf* ex:Person .
 BIND ( ?parent AS $this )
 FILTER EXISTS { ?parent ex:child ?this . }
}

The evaluation of this legal query with this pre-bound to any RDF term
produces an undefined result.


Peter F. Patel-Schneider
Nuance Communications

Received on Friday, 10 March 2017 17:32:45 UTC