What is {position held} of {Robert Bork} that is {replaced by} is {Wade H. McCree} ?
Wade H. McCree supplanted Robert Bork in which position?
Wade H. McCree replaced Robert Bork in which position?
SELECT ?f WHERE { ?n property:replaced_by resource:Wade_H._McCree . ?n property:position_held ?f . resource:Robert_Bork property:position_held ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1365780> .
?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/Q2538688>
} 

SELECT ?obj WHERE { wd:Q1365780 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q2538688 }