arne-bdt commented on issue #3455:
URL: https://github.com/apache/jena/issues/3455#issuecomment-3316152685
> Isn't `?x` unbound within the `OPTIONAL`s? Inside-out SPARQL execution and
all that :)
```SPARQL
SELECT ?x ?y ?z1 ?z2
WHERE
{
VALUES ?x { "A" "B" }
BIND(?x as ?y)
OPTIONAL {
FILTER(STRSTARTS(?x, "A") && BOUND(?x))
BIND(?x as ?z1)
}
OPTIONAL {
FILTER(STRSTARTS(?x, "A") && BOUND(?x))
BIND("starts with A" as ?z2)
}
}
```
returns the same output.
--> ?x is bound in both optional block.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]