Question: What was Robert Jenkinson, 2nd Earl of Liverpool's position when he was replaced by William Wyndham Grenville, 1st Baron of Grenville?
Paraphrase: When he was replaced by William Wyndham Grenville, 1st Baron of Grenville, what was the position of Robert Jenkinson, 2nd Earl of Liverpool?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q312569 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q312596 }