query-4eb9015cd50cf889c69a60e13501663e

rq turtle/ttl

Propertiesplace of death (P20)located in the administrative territorial entity (P131)instance of (P31)subclass of (P279)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?city { ?city ^(wdt:P20/wdt:P131*) wd:Q7315; wdt:P31/wdt:P279* wd:Q515 . }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?city"):::projected a1((" ")) a2((" ")) c6(["wd:Q515"]):::iri c1(["wd:Q7315"]):::iri c1 --"wdt:P20"--> a1 a1 --"wdt:P131"--> v1 v1 --"wdt:P31"--> a2 a2 --"wdt:P279"--> c6