What is {position held} of {Hosni Mubarak} that is {replaces} is {Moussa Traoré} ?
What position is currently held by Honsi Mubarak that Moussa Traore held?
SELECT ?obj WHERE { wd:Q34105 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q313242 }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34105> .
?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/P1365> <http://wikidata.dbpedia.org/resource/Q313242>
} 

What position did Honsi Mubarak take over from Moussa Traore?