query-3e0b9fd4eb3c7d52a4ddad76b3cd99c7
Magyar anyanyelvűek beszélt nyelvei? (P1412)languages spoken, written or signed , milyen más nyelvek vannak megadva mint (Q9067)Hungarian (P103)native language Akiknél az
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 ?country ?countryLabel ?count WHERE {
{
select ?country (COUNT(*) AS ?count) where {
?item wdt:P103 wd:Q9067 .
?item wdt:P31 wd:Q5 .
?item wdt:P1412 ?country .
} group by ?country
}
SERVICE wikibase:label { # ... include the labels
bd:serviceParam wikibase:language "hu" .
}
} ORDER BY DESC (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count"):::projected
v3("?country"):::projected
v2("?item")
c7(["bd:serviceParam"]):::iri
c2(["wd:Q9067"]):::iri
c4(["wd:Q5"]):::iri
c9(["hu"]):::literal
v2 --"wdt:P103"--> c2
v2 --"wdt:P31"--> c4
v2 --"wdt:P1412"--> v3
bind1[/"count(*)"/]
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end