Skip to content
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 operation gets repeated many times #1454

Open
hannahbast opened this issue Aug 22, 2024 · 0 comments
Open

FILTER operation gets repeated many times #1454

hannahbast opened this issue Aug 22, 2024 · 0 comments

Comments

@hannahbast
Copy link
Member

The following query on Wikidata has a single FILTER, but in the analysis tree, it is repeated multiple times:

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT * WHERE {
  ?person wdt:P569 ?date_of_birth .
  FILTER (?date_of_birth >= "2020-01-01"^^xsd:date)
  OPTIONAL { ?person wdt:P21 ?sex_or_gender }
  OPTIONAL { ?person wdt:P106 ?occupation }
}

https://qlever.cs.uni-freiburg.de/wikidata/0UrekI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant