What is {location of death} of {Feodor III of Russia}, that has {twin city} is {Pyongyang} ?
GOOD
good
SELECT ?c WHERE { ?c property:twinned_administrative_body resource:Pyongyang . resource:Feodor_III_of_Russia property:place_of_death ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q184868> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P20>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q18808> . }
SELECT ?answer WHERE { wd:Q184868 wdt:P20 ?answer . ?answer wdt:P190 wd:Q18808}
Moscow