What is {position held} of {Jean-Baptiste Colbert} that is {replaced by} is {Claude Le Peletier} ?
What position did Claude Le Peletier replace that was held by Jean-Baptiste Colbert?
What position did Jean-Baptiste Colbert hold that was replaced by Claude Le Peletier?
SELECT ?j WHERE { ?z property:replaced_by resource:Claude_Le_Peletier . ?z property:position_held ?j . resource:Jean-Baptiste_Colbert property:position_held ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q188971> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1366> <http://wikidata.dbpedia.org/resource/Q2977668>
} 

SELECT ?obj WHERE { wd:Q188971 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q2977668 }