What is {place of death} of {Gregory I} that is {country} is {Byzantine Empire} ?
Where did the Byzantine Empire start?
Where Gregory I at Byzantine Empire dired?
SELECT ?d WHERE { ?m property:country resource:Byzantine_Empire . resource:Gregory_I property:place_of_death ?m . ?m property:place_of_death ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42827> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P17> <http://wikidata.dbpedia.org/resource/Q12544>
} 

SELECT ?obj WHERE { wd:Q42827 p:P20 ?s . ?s ps:P20 ?obj . ?s pq:P17 wd:Q12544 }