What is {position held} of {Lyndon B. Johnson} that is {replaces} is {Richard Nixon} ?
What is the position held by Lyndon B. Johnson by replacing Richard Nixon?
SELECT ?obj WHERE { wd:Q9640 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q9588 }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9640> .
?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/Q9588>
} 

How'd LBJ feel about replacing Nixon?