What is {position held} of {Philip Stanhope, 4th Earl of Chesterfield} that is {replaced by} is {Thomas Pelham-Holles, 1st Duke of Newcastle-upon-Tyne} ?
Tell me the position title that Thomas Pelham-Holles, 1st Duke of Newcastle-upon-Tyne, inherited from Philip Stanhope, 4th Earl of Chesterfield.
What position held by Philip Stanhope, 4th Earl of Chesterfield was replaced by Thomas Pelham-Holles, 1st Duke of Newcastle-upon-Tyne?
SELECT ?f WHERE { resource:Philip_Stanhope,_4th_Earl_of_Chesterfield property:position_held ?u . ?u property:replaced_by resource:Thomas_Pelham-Holles,_1st_Duke_of_Newcastle-upon-Tyne . ?u property:position_held ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q332487> .
?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/Q273809>
} 

SELECT ?obj WHERE { wd:Q332487 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q273809 }