Question: What position did Kim Beazly replace John Curtin in?
Paraphrase: Kim Beazly replaced John Curtin in which position?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q23375 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q2266155 }