What is {position held} of {Richard Nixon} that is {replaced by} is {Gerald Ford} ?
Richard Nixon was replaced by Gerald Ford in what position?
What position was held by Richard Nixon that was later taken by Gerald Ford?
SELECT ?g WHERE { resource:Richard_Nixon property:position_held ?j . ?j property:replaced_by resource:Gerald_Ford . ?j property:position_held ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9588> .
?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/Q9582>
} 

SELECT ?obj WHERE { wd:Q9588 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q9582 }