what is the {replaces} for {Benazir Bhutto} has {position held} as {Prime Minister of Pakistan} ?
Who took the place of Benazir Bhutto as Prime Minister of Pakistan?
Who replaced Benazir Bhutto as Prime Minister of Pakistan?
SELECT ?p WHERE { resource:Benazir_Bhutto property:position_held ?f . ?f property:replaces ?p . ?f property:position_held resource:Prime_Minister_of_Pakistan }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34413> .
?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/Q735575> .
?statement <http://www.wikidata.org/entity/P1365> ?value. 
} 

SELECT ?value WHERE { wd:Q34413 p:P39 ?s . ?s ps:P39 wd:Q735575 . ?s pq:P1365 ?value}