
|
If you were logged in you would be able to see more operations.
|
|
Evaluating this query:
PREFIX : <http://example/>
SELECT DISTINCT *
WHERE {
?s1 :p1 ?o .
{
optional {
?s2 :p2 ?o .
}
}
union
{
optional {
?s3 :p3 ?o .
}
}
}
on the following data:
@prefix : <http://example/> .
:s1 :p1 :o1 .
:s3 :p3 :o1 .
produces results where ?o is not bound, although it is referenced in a non-optional statement pattern.
This is a bug in the query engine, which doesn't process the results coming from the nested optional join correctly.
|
|
The query engine now makes sure that all bindings coming from the parent node are included in the results coming from the "badly designed" left join.
|
|