What is {place of birth} of {Innocent IV} that is {country} is {Holy Roman Empire} ?
Where was Innocent VI born?
What country in the Holy Roman Empire was Innocent IV born in?
SELECT ?r WHERE { resource:Innocent_IV property:place_of_birth ?e . ?e property:country resource:Holy_Roman_Empire . ?e property:place_of_birth ?r }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160609> .
?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/Q12548>
} 

SELECT ?obj WHERE { wd:Q160609 p:P19 ?s . ?s ps:P19 ?obj . ?s pq:P17 wd:Q12548 }