what is the {replaces} for {Luchino Visconti} has {position held} as {President of the Jury at the Cannes Festival} ?
Who was Luchino Visconti's replacement as President of the Jury at the Cannes Festival?
Who replaced Luchino Visconti as President of the Jury at the Cannes Festival?
SELECT ?n WHERE { resource:Luchino_Visconti property:position_held ?r . ?r property:position_held resource:President_of_the_Jury_at_the_Cannes_Festival . ?r property:replaces ?n }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13888> .
?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/Q23958341> .
?statement <http://www.wikidata.org/entity/P1365> ?value. 
} 

SELECT ?value WHERE { wd:Q13888 p:P39 ?s . ?s ps:P39 wd:Q23958341 . ?s pq:P1365 ?value}