What is {position held} of {Jacqueline Kennedy Onassis} that is {replaces} is {Mamie Eisenhower} ?
Which position did Jacqueline Kennedy Onassis replace Mamie Eisenhower for?
What position did Jacqueline Kennedy Onassis replace Mamie Eisenhower?
SELECT ?t WHERE { ?i property:position_held ?t . ?i property:replaces resource:Mamie_Eisenhower . resource:Jacqueline_Kennedy_Onassis property:position_held ?i }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q165421> .
?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/Q233686>
} 

SELECT ?obj WHERE { wd:Q165421 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q233686 }