Remove the FILTER EXISTS
from organization_page-production.sparql
#2208
Labels
P108-employer
Wikidata property
P1104-number-of-pages
Wikidata property
P1416-affiliation
Wikidata property
SPARQL
the way Scholia queries Wikidata
Projects
What query is this about
The query in organization_page-production.sparql uses a clause
FILTER EXISTS { ?researcher wdt:P108 | wdt:P463 | (wdt:P1416 / wdt:P361*) target: . }
wherein the
FILTER EXISTS
part is not really necessary but slows things down considerably.What change do you propose, and why?
Just remove it:
?researcher wdt:P108 | wdt:P463 | (wdt:P1416 / wdt:P361*) target: .
Any other considerations?
This can be tested with any organization profile, e.g. https://scholia.toolforge.org/organization/Q3530296#page-production .
The text was updated successfully, but these errors were encountered: