what is the {replaced by} for {Honorius I} has {position held} as {pope} ?
Whom got substituted by the new pope?
who was the pope replaced by?
SELECT ?j WHERE { ?r property:replaced_by ?j . resource:Honorius_I property:position_held ?r . ?r property:position_held resource:pope }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170502> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q19546> .
?statement <http://www.wikidata.org/entity/P1366> ?value. 
} 

SELECT ?value WHERE { wd:Q170502 p:P39 ?s . ?s ps:P39 wd:Q19546 . ?s pq:P1366 ?value}