what is the {country} for {Jack Brabham} has {place of death} as {Gold Coast} ?
On the Gold Coast, what country did Jack Brabham die in?
Which country on the Gold Coast did Jack Brabham die?
SELECT ?f WHERE { ?v property:country ?f . ?v property:place_of_death resource:Gold_Coast . resource:Jack_Brabham property:place_of_death ?v }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2125> .
?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/Q140075> .
?statement <http://www.wikidata.org/entity/P17> ?value. 
} 

SELECT ?value WHERE { wd:Q2125 p:P20 ?s . ?s ps:P20 wd:Q140075 . ?s pq:P17 ?value}