query-a7cd8818bf20cb7c551373cf34ec2516
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?instance_of (COUNT(?item) AS ?count)
WHERE
{
?item p:P31/ps:P31 ?instance_of.
?item wikibase:sitelinks ?sitelinks.
FILTER (?sitelinks >= "40"^^xsd:integer)
}
GROUP BY ?instance_of
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v4("?instance_of"):::projected
v3("?item"):::projected
v2("?sitelinks")
a1((" "))
f0[["?sitelinks >= '40^^xsd:integer'"]]
f0 --> v2
v3 --"p:P31"--> a1
a1 --"p:statement/P31"--> v4
v3 --"wikibase:sitelinks"--> v2
bind2[/"count(?item)"/]
v3 --o bind2
bind2 --as--o v5