-
Notifications
You must be signed in to change notification settings - Fork 71
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
Don't apply language filter if no matching triple pattern exists #1868
Don't apply language filter if no matching triple pattern exists #1868
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1868 +/- ##
==========================================
- Coverage 90.52% 90.52% -0.01%
==========================================
Files 403 403
Lines 39308 39316 +8
Branches 4429 4433 +4
==========================================
+ Hits 35585 35591 +6
- Misses 2401 2403 +2
Partials 1322 1322 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small suggestions.
Conformance check passed ✅No test result changes. |
|
QLever has two efficient ways of applying language filter: One using the tagged predicates like
@en@rdfs:label
and one that joins with theql:langtag
predicate. The latter one can only be safely applied, if the filtered variable appears somewhere in a triple, otherwise entities with a language tag that are created by the query (e.g. in a VALUES clause) are filtered out even if they have the correct language tag. This last restriction was missing so far and is introduced via this PR.Fixes #1312