what is the {country} for {Hrant Dink} has {place of death} as {Istanbul} ?
which is the {country} for {Hrant Dink} that has {place of death} as {Istanbul} ?
SELECT ?value WHERE { wd:Q110126 p:P20 ?s . ?s ps:P20 wd:Q406 . ?s pq:P17 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q110126> .
?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> <http://wikidata.dbpedia.org/resource/Q406> .
?statement <http://www.wikidata.org/entity/P17> ?value. 
} 

which is the {country} for {Hrant Dink} that has {place of death} as {Istanbul} ?