what is the {country} for {Jean Sibelius} has {place of birth} as {Hämeenlinna} ?
Jean Sibelius was born in the city of Hameenlinna, which is in what country?
What country is Hämeenlinna in, the city Jean Sibelius was born in?
SELECT ?r WHERE { resource:Jean_Sibelius property:place_of_birth ?c . ?c property:country ?r . ?c property:place_of_birth resource:Hämeenlinna }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q45682> .
?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/Q202158> .
?statement <http://www.wikidata.org/entity/P17> ?value. 
} 

SELECT ?value WHERE { wd:Q45682 p:P19 ?s . ?s ps:P19 wd:Q202158 . ?s pq:P17 ?value}