query-cb96b3f1e36339a409dd9d7f393be6c7
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#>
# What languages do people speak that speak Armenian
#defaultView:BubbleChart
SELECT ?language ?languageLabel ?count WHERE {
{
SELECT ?language (COUNT(?item) AS ?count) WHERE {
?item wdt:P1412 wd:Q8785.
?item wdt:P1412 ?language.
}
GROUP BY ?language
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "hy". }
}
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count"):::projected
v2("?item")
v3("?language"):::projected
c6(["hy"]):::literal
c2(["wd:Q8785"]):::iri
c4(["bd:serviceParam"]):::iri
v2 --"wdt:P1412"--> c2
v2 --"wdt:P1412"--> v3
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end