query-0683a2364751cab79075af1005f38b8a
Residence of authors from Denmark
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#defaultView:Map
select ?place_label ?place ?geo (?author_label as ?layer) ?author where {
?author wdt:P27 wd:Q35 .
?work wdt:P50 ?author .
?author wdt:P551 ?place .
?place wdt:P625 ?geo .
?author rdfs:label ?author_label . filter (lang(?author_label) = 'da')
?place rdfs:label ?place_label . filter (lang(?place_label) = 'da')
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?author"):::projected
v2("?author_label"):::projected
v6("?geo"):::projected
v7("?layer")
v5("?place"):::projected
v1("?place_label"):::projected
v4("?work")
c3(["wd:Q35"]):::iri
f0[["?place_label = 'da'"]]
f0 --> v1
f1[["?author_label = 'da'"]]
f1 --> v2
v3 --"wdt:P27"--> c3
v4 --"wdt:P50"--> v3
v3 --"wdt:P551"--> v5
v5 --"wdt:P625"--> v6
v3 --"rdfs:label"--> v2
v5 --"rdfs:label"--> v1
bind2[/"?author_label"/]
v2 --o bind2
bind2 --as--o v7