what is the {replaced by} for {Sean Penn} has {position held} as {President of the Jury at the Cannes Festival} ?
At the Cannes Film Festival, by what person has Sean Penn been replaced as the jury president?
Who replaced Sean Penn as the President of the Jury at the Cannes Festival?
SELECT ?k WHERE { ?a property:position_held resource:President_of_the_Jury_at_the_Cannes_Festival . ?a property:replaced_by ?k . resource:Sean_Penn property:position_held ?a }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44221> .
?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/P1366> ?value. 
} 

SELECT ?value WHERE { wd:Q44221 p:P39 ?s . ?s ps:P39 wd:Q23958341 . ?s pq:P1366 ?value}