query-d5e54499d10160c72b278195ac8941c5
Top botanists by number of sitelinks
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?b ?q ?qLabel (count(?s) AS ?sitelinks) WHERE {
?q wdt:P428 ?b.
?s schema:about ?q.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} GROUP BY ?b ?q ?qLabel
ORDER BY DESC(?sitelinks)
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?b"):::projected
v2("?q"):::projected
v4("?s"):::projected
v5("?sitelinks")
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
v2 --"wdt:P428"--> v3
v4 --"schema:about"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind1[/"count(?s)"/]
v4 --o bind1
bind1 --as--o v5