query-20095e87c0b94fe31e343a48149707a8
People born somewhere in Zhytomyr oblast, with fallback languages marked SELECT ?shtuka ?shtukaLabel (LANG(?shtukaLabel) as ?lang) WHERE { { ?shtuka wdt:P31 wd:Q5 . # all the humans ?shtuka wdt:P19 ?place . # who have a place of birth
?place wdt:P131 wd:Q40637 .} # which is in Zhytomyr oblast
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ru,pl,be,cs,bg,sr,en". } }
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#>
# People born somewhere in Zhytomyr oblast, with fallback languages marked
SELECT ?shtuka ?shtukaLabel (LANG(?shtukaLabel) as ?lang)
WHERE
{
{ ?shtuka wdt:P31 wd:Q5 . # all the humans
?shtuka wdt:P19 ?place . # who have a place of birth
?place wdt:P131 wd:Q40637 .} # which is in Zhytomyr oblast
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ru,pl,be,cs,bg,sr,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?lang")
v2("?place")
v1("?shtuka"):::projected
c5(["wd:Q40637"]):::iri
c7(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,ru,pl,be,cs,bg,sr,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P19"--> v2
v2 --"wdt:P131"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind0[/"?shtukaLabel"/]
null --o bind0
bind0 --as--o v3