query-7ccf58624679de848382657246da2dd9
There are many of them (and should be more), by all languages:
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 ?langLabel (COUNT(?cat) AS ?cnt) WHERE {
?cat wdt:P971 wd:Q54662266.
OPTIONAL {?cat wdt:P971 ?lang.
?lang wdt:P31/wdt:P279* wd:Q315.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,en". }
}
GROUP BY ?langLabel
ORDER BY DESC(?cnt)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?cat"):::projected
v4("?cnt")
v3("?lang")
a1((" "))
c7(["bd:serviceParam"]):::iri
c5(["wd:Q315"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,fr,en"]):::literal
c2(["wd:Q54662266"]):::iri
v2 --"wdt:P971"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P971".-> v3
v3 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"count(?cat)"/]
v2 --o bind1
bind1 --as--o v4