What is {position held} of {Douglas Nicholls} that is {replaces} is {Mark Oliphant} ?
Douglas Nicholls replaced Mark Oliphant for what position?
For what position did Douglas Nicholls replace Mark Oliphant ?
SELECT ?x WHERE { resource:Douglas_Nicholls property:position_held ?b . ?b property:replaces resource:Mark_Oliphant . ?b property:position_held ?x }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q447675> .
?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/Q727443>
} 

SELECT ?obj WHERE { wd:Q447675 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q727443 }