We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What query is this about Number of pages bar chart on organization is too slow
What change do you propose, and why?
# tool: scholia #defaultView:BarChart PREFIX target: <http://www.wikidata.org/entity/Q23048689> # Pages per year bar chart of an organization SELECT ?year (SUM(?pages_per_author) AS ?number_of_pages) ?researcher_label WITH { SELECT DISTINCT ?researcher WHERE { ?researcher wdt:P108 | wdt:P463 | (wdt:P1416 / wdt:P361*) target: . } } AS %researchers WHERE { { SELECT ?researcher_label ?work ?year (SAMPLE(?pages) / COUNT(?researcher_of_paper) AS ?pages_per_author) WHERE { # Find authors associated with organization INCLUDE %researchers ?work wdt:P50 ?researcher . ?work (wdt:P50|wdt:P2093) ?researcher_of_paper . # Disabled to only look on scholarly articles # ?work wdt:P31 wd:Q13442814 . ?work wdt:P1104 ?pages . ?work wdt:P577 ?date . BIND(STR(YEAR(?date)) AS ?year) ?researcher rdfs:label ?researcher_label . FILTER(LANG(?researcher_label) = 'en') } GROUP BY ?work ?researcher_label ?year } } GROUP BY ?year ?researcher_label ORDER BY ?year
The text was updated successfully, but these errors were encountered:
FILTER EXISTS
No branches or pull requests
What query is this about
Number of pages bar chart on organization is too slow
What change do you propose, and why?
The text was updated successfully, but these errors were encountered: