Question: What position did George II of Great Britain hold before he was replaced by George III of Great Britain?
Paraphrase: In Great Britain, George III replaced George II in what job?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q127318 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q131981 }