query-7253e9b6585cf5d2e673d872dbdf5ab9
Most cited Dane
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?author1 ?author1Label (count(?citing_work) AS ?number_of_citations) (group_concat(distinct ?citing_work_label; separator=" // ") as ?citing_works) WHERE {
{
select distinct ?author1 where {
{ ?author1 wdt:P27 wd:Q35 . }
union { ?author1 wdt:P1416 ?organization . ?organization wdt:P17 wd:Q35 }
union { ?author1 wdt:P108 ?organization . ?organization wdt:P17 wd:Q35 }
}
}
?work wdt:P50 ?author1 .
?citing_work wdt:P2860 ?work .
service wikibase:label { bd:serviceParam wikibase:language "en" . }
?citing_work rdfs:label ?citing_work_label . filter (lang(?citing_work_label) = 'en')
}
GROUP BY ?author1 ?author1Label
ORDER BY DESC(?number_of_citations)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?author1"):::projected
v6("?citing_work"):::projected
v2("?citing_work_label"):::projected
v7("?citing_works")
v7("?number_of_citations")
v4("?organization")
v5("?work")
c10(["bd:serviceParam"]):::iri
c1(["en"]):::literal
c3(["wd:Q35"]):::iri
f0[["?citing_work_label = 'en'"]]
f0 --> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P108"--> v4
v4 --"wdt:P17"--> c3
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P1416"--> v4
v4 --"wdt:P17"--> c3
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P27"--> c3
end
union0r <== or ==> union0l
end
v5 --"wdt:P50"--> v3
v6 --"wdt:P2860"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c1
end
v6 --"rdfs:label"--> v2
bind3[/"count(?citing_work)"/]
v6 --o bind3
bind3 --as--o v7
bind4[/"?citing_work_label"/]
v2 --o bind4
bind4 --as--o v7