What is {place of birth} of {Alexis of Russia} that is {country} is {Tsardom of Russia} ?
At Tsardom of Russia, where was Alexis of Russia born?
Where Alexis of Russia was born at Tsardom of Russia?
SELECT ?f WHERE { resource:Alexis_of_Russia property:place_of_birth ?q . ?q property:country resource:Tsardom_of_Russia . ?q property:place_of_birth ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7731> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P17> <http://wikidata.dbpedia.org/resource/Q186096>
} 

SELECT ?obj WHERE { wd:Q7731 p:P19 ?s . ?s ps:P19 ?obj . ?s pq:P17 wd:Q186096 }