What is {position held} of {Haile Selassie I of Ethiopia} that is {replaced by} is {Mobutu Sese Seko} ?
What position did Mobutu Sese Seko replace Haile Selassie of Ethiopia?
Mobutu Sese Seko replaced  Haile Selassie I of Ethiopia in what position?
SELECT ?o WHERE { resource:Haile_Selassie_I property:position_held ?e . ?e property:replaced_by resource:Mobutu_Sese_Seko . ?e property:position_held ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41178> .
?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/Q164535>
} 

SELECT ?obj WHERE { wd:Q41178 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q164535 }