-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPARQL: error selecting variables in OPTIONAL clauses #142
Comments
Thank you for reporting @KonradHoeffner . This might be related to comunica/comunica#666 . Which version of |
I was using https://cdn.jsdelivr.net/gh/beautifulinteractions/node-quadstore-webpack-bundle/quadstore.bundle.js, which was using quadstore version 9.2.0-alpha.0 at the time. |
Which means this happened using |
Things seem to be going wrong because of the usage of Note to self, this also occurs for MINUS queries such as this one: PREFIX ex: <http://www.w3.org/2009/sparql/docs/tests/data-sparql11/negation#>
SELECT * {
?animal a ex:Animal MINUS {
optional {
?animal a ?type
FILTER(?type = ex:Reptile || ?type = ex:Insect)
}
}
}
|
Sure! |
Tracked upstream in comunica/comunica#866 |
Fixed, will ship with next major version (10.0.0) |
Selecting a variable that only occurs in an optional clause results in an error such as this:
Example Query
The query works perfectly on a Virtuoso SPARQL endpoint.
The text was updated successfully, but these errors were encountered: