query-fa410ce7d086d5ecd6062cf66dad89a5
Languages
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
PREFIX target: <http://www.wikidata.org/entity/Q7894897>
SELECT
?works
?language ?languageLabel
WHERE {
{
SELECT
(COUNT(?work) AS ?works)
?language
WHERE {
?work wdt:P123 target: ;
wdt:P407 ?language .
}
GROUP BY ?language
} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?works)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?language"):::projected
v2("?work")
v4("?works"):::projected
c5(["bd:serviceParam"]):::iri
c2([http://www.wikidata.org/entity/Q7894897]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P123"--> c2
v2 --"wdt:P407"--> v3
bind1[/"count(?work)"/]
v2 --o bind1
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end