query-0c69004932a95c65dea96ae34c0e6c52
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 that are Armenian citiziens (and notable on Wikidata) speak
#defaultView:BubbleChart
SELECT ?language ?languageLabel ?count WHERE
{
{
SELECT ?language (count(?item) as ?count) WHERE {
?item wdt:P27 wd:Q399.
?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
c7(["hy"]):::literal
c2(["wd:Q399"]):::iri
c5(["bd:serviceParam"]):::iri
v2 --"wdt:P27"--> 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;
c5 --"wikibase:language"--> c7
end