Aklakan opened a new issue, #2412:
URL: https://github.com/apache/jena/issues/2412
### Version
5.1.0-SNAPSHOT
### What happened?
The following two variants incorrectly return 1 binding whereas 0 would be
expected.
The reason is that JoinClassifier.isLinear returns true because VarFinder
does not consider the unbound values.
```sparql
SELECT * {
VALUES ?x {
0
}
{
VALUES ?x {
UNDEF
}
FILTER(bound(?x))
}
}
```
```sparql
SELECT * {
BIND(0 AS ?x)
{
BIND(coalesce() AS ?x)
FILTER(bound(?x))
}
}
```
### Relevant output and stacktrace
_No response_
### Are you interested in making a pull request?
Yes
--
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]