query-df6646a18810374d09b766760c543dd8
TODO
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 bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel ?number
where {
{ # select all the numbers of sitelinks
select ?number (count(*) as ?total) { # we don't use ?total but without it the query times out, so we'll just ignore it
[] wikibase:sitelinks ?number .
} group by ?number
}.
filter (?number > 25) .
?item wikibase:sitelinks ?number .
?item wdt:P31 wd:Q5.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} order by desc(?number)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?number"):::projected
v2("?total")
a1((" "))
c6(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c8(["en"]):::literal
f0[["?number > '25^^xsd:integer'"]]
f0 --> v1
a1 --"wikibase:sitelinks"--> v1
bind2[/"count(*)"/]
bind2 --as--o v2
v3 --"wikibase:sitelinks"--> v1
v3 --"wdt:P31"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end