what is the {country} for {Mercedes McCambridge} has {place of birth} as {Joliet} ?
Where was Mercedes McCambridge of Joliet born?
What country was Mercedes McCambridge of Joliet born in?
SELECT ?p WHERE { ?g property:country ?p . ?g property:place_of_birth resource:Joliet . resource:Mercedes_McCambridge property:place_of_birth ?g }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q140017> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q40345> .
?statement <http://www.wikidata.org/entity/P17> ?value. 
} 

SELECT ?value WHERE { wd:Q140017 p:P19 ?s . ?s ps:P19 wd:Q40345 . ?s pq:P17 ?value}