what is the {replaced by} for {Clovis I} has {position held} as {king of Franks} ?
Who was the King of France before Clovis I?
Who was replaced by Clovis I as King of France?
SELECT ?u WHERE { ?b property:replaced_by ?u . ?b property:position_held resource:king_of_Franks . resource:Clovis_I property:position_held ?b }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q82339> .
?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/Q22923081> .
?statement <http://www.wikidata.org/entity/P1366> ?value. 
} 

SELECT ?value WHERE { wd:Q82339 p:P39 ?s . ?s ps:P39 wd:Q22923081 . ?s pq:P1366 ?value}