Question: What was Peter Fraser's job before being replaced by Walter Nash?
Paraphrase: What job did Peter Fraser lose to Walter Nash?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q1400226 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q721770 }