what is the {country} for {John Barrymore} has {place of death} as {Los Angeles} ?
If John Barrymore died in Los Angeles, what country did he die in?
What country did John Barrymore die in if the city was Los Angeles?
SELECT ?a WHERE { ?h property:country ?a . resource:John_Barrymore property:place_of_death ?h . ?h property:place_of_death resource:Los_Angeles }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q95034> .
?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/Q65> .
?statement <http://www.wikidata.org/entity/P17> ?value. 
} 

SELECT ?value WHERE { wd:Q95034 p:P20 ?s . ?s ps:P20 wd:Q65 . ?s pq:P17 ?value}