File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 11{% import ' sparql-helpers.sparql' as sparql_helpers -%}
2- PREFIX bd : <http://www.bigdata.com/rdf# >
2+ PREFIX wd : <http://www.wikidata.org/entity/ >
33PREFIX wdt: <http://www.wikidata.org/prop/direct/>
4- PREFIX wikibase: <http://wikiba.se/ontology#>
54SELECT ?number_of_publications ?country ?countryLabel ?example_author ?example_authorLabel ?example_work ?example_workLabel WHERE {
65 {
76 SELECT ?country (COUNT (DISTINCT ?work ) AS ?number_of_publications ) (SAMPLE (?work ) AS ?example_work ) (SAMPLE (?author ) AS ?example_author ) WHERE {
8- {
9- SELECT ?country WHERE {
10- # VALUES ?country { {% for q in qs %} wd:{{ q }} {% endfor %} }
11- }
12- }
7+ VALUES ?country { {% for q in qs %} wd:{{ q }} {% endfor %} }
138 OPTIONAL {
9+ VALUES ?country { {% for q in qs %} wd:{{ q }} {% endfor %} }
1410 ?organization wdt:P17 ?country .
1511 ?author wdt:P108 | wdt:P463 | wdt:P1416/wdt:P361* ?organization .
1612 ?work wdt:P50 ?author .
You can’t perform that action at this time.
0 commit comments