-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add SPARQL evaluation tests for triple terms and reified triples #168
base: main
Are you sure you want to change the base?
Conversation
These tests are derived from the rdf-star SPARQL evaluation tests. https://github.com/w3c/rdf-star/tree/main/tests/sparql/eval Closes w3c#140
These look great! I have a problem with one test ( |
I am getting different answers for The test is The question is whether being
(The "b0" is scoped to the table only - the first "Got" table use of "b0" is not the same blank node as in the "Expected" table.) |
Thanks for checking the tests @afs!
I think your results are correct, and this is an issue in my implementation. |
@afs After some deeper analysis, I'm actually not sure about this anymore. For instance, what happens with
So based on my understanding of the spec, I believe both of our test outputs are actually correct, as Jena probably has a defined behaviour for comparing bnodes, whereas Comunica doesn't. (unless my reasoning is flawed somewhere) |
@rubensworks Interesting! I'll investigate further.
Agreed.
|
@afs Thanks for your comment.
This was the problem in my implementation. Our |
@afs I was just informed by my colleague @jitsedesmet (who implemented much of the expressions logic in comunica), that my comment above is not entirely accurate, and that our old implementation should in fact still be spec-compliant. Because in https://www.w3.org/TR/sparql11-query/#OperatorMapping, So we might need to add |
These tests are derived from the rdf-star SPARQL evaluation tests.
https://github.com/w3c/rdf-star/tree/main/tests/sparql/eval
All tests pass on my end, but to make sure I did not make any mistakes, it would be good if we have at least one other reference implementations that pass all these tests in the same way.
Closes #140