What is {deathplace} of {Henry Purcell}, that has {inhabitants} is {8787892} ?
"What is the deathplace of Henry Purcell, that current inhabits 8787892?"
SELECT ?answer WHERE { wd:Q9695 wdt:P20 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x,'8787892'))}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9695> . ?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/P1082> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <8787892> . }
"What is the deathplace of Henry Purcell, that present day inhabits 8787892?"