What is {place of death} of {Anton Chekhov} that is {country} is {German Empire} ?
Where is the National Gallery of Art headquartered at at the coordinates 38.89147 -77.02001?
Where in the German Empire was Anton Chekhov's place of death?
SELECT ?u WHERE { resource:Anton_Chekhov property:place_of_death ?v . ?v property:country resource:German_Empire . ?v property:place_of_death ?u }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5685> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P20> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P17> <http://wikidata.dbpedia.org/resource/Q43287>
} 

SELECT ?obj WHERE { wd:Q5685 p:P20 ?s . ?s ps:P20 ?obj . ?s pq:P17 wd:Q43287 }