what is the {replaces} for {Teodoro Obiang Nguema Mbasogo} has {position held} as {Chairperson of the African Union} ?
Who will take over as chairperson of the African Union for eodoro Obiang Nguema Mbasogo?
Who replaces eodoro Obiang Nguema Mbasogo for the position of the chairperson of the African Union?
SELECT ?w WHERE { resource:Teodoro_Obiang property:position_held ?c . ?c property:position_held resource:Chairperson_of_the_African_Union . ?c property:replaces ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57385> .
?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/Q946339> .
?statement <http://www.wikidata.org/entity/P1365> ?value. 
} 

SELECT ?value WHERE { wd:Q57385 p:P39 ?s . ?s ps:P39 wd:Q946339 . ?s pq:P1365 ?value}