What is {position held} of {Daniel Webster} that is {replaces} is {John Middleton Clayton} ?
What position was held by Daniel Webster after he supplanted John Middleton Clayton?
What  position was held by Daniel Webster after he replaced John Middleton Clayton?
SELECT ?o WHERE { ?v property:replaces resource:John_Middleton_Clayton . resource:Daniel_Webster property:position_held ?v . ?v property:position_held ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q106231> .
?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/Q17889>
} 

SELECT ?obj WHERE { wd:Q106231 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q17889 }