bindings of variables are not carried into FILTERs in (NOT) EXISTS clauses · Issue #615 · RDFLib/rdflib (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@pfps

Description

@pfps

My understanding is that variable bindings carry into FILTER constructs. However, this sometime does not work in rdflib. I have a short example that shows this, with a FILTER inside a FILTER EXISTS. My belief is that the binding of ?this from the outermost portion should be visible in the innermost portion, meaning that the ?this = ?valu will only filter out solutions where the two variables have different bindings. However, all solutions appear to be filtered out, which would happen if the ?this binding(s) from the outermost portion are not making their way into the innermost portion.

This is very similar to the example in SPARQL 1.1 Query Language section 8.3.3.

bug2-rdflib.txt