what is the {replaces} for {Paul Martin} has {position held} as {Minister responsible for the Economic Development Agency of Canada for the Regions of Quebec} ?
On what date did Paul Martin replace the Minister responsible for the economic development of Quebec?
When did Paul Martin replace the Minister responsible for the economic development of Quebec?
SELECT ?z WHERE { ?w property:position_held resource:Minister_responsible_for_the_Economic_Development_Agency_of_Canada_for_the_Regions_of_Quebec . ?w property:replaces ?z . resource:Paul_Martin property:position_held ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q128529> .
?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/Q6866460> .
?statement <http://www.wikidata.org/entity/P1365> ?value. 
} 

SELECT ?value WHERE { wd:Q128529 p:P39 ?s . ?s ps:P39 wd:Q6866460 . ?s pq:P1365 ?value}