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
FILTER on langString literals does not work with N3 as source #1146
Comments
Thanks for reporting! |
This is surprising, I thought we had spec tests for this. |
A bounty has been placed on this issue via the Comunica Association (see original post). |
I have reproduced with the code in the description. The logger shows:
That pointed me towards: https://github.com/comunica/sparqlee/blob/master/lib/functions/RegularFunctions.ts#L111 That looks kind of odd to me. |
Could this be related? |
@jitsedesmet Do you have any thoughts on the findings of @danielbeeke? |
I think it should be possible to check against Literals Also the equality check also happens in the Term itself. |
I think this is an error in the code.
|
Great, same findings as me, I created PR to fix it. |
Not sure this is fully resolved - see #1182 (reply in thread). |
Might be better to create a separate issue for this. This issue is about the equality operator, while the new one seems to be about |
Closing in favour of #1185 |
Any FILTER on ?o in the example fails (with or without language string, = or !=). That is, as soon as a FILTER on the langString literal is present in the query, it won't return any results anymore. No crash or log warnings, just an empty result set.
Observed on Comunica v2.6.0 in combination with N3 v1.16.3.
Bounty
A bounty has been placed on this issue by:
Click here to learn more if you're interested in claiming this bounty by resolving this issue.
The text was updated successfully, but these errors were encountered: