Question: What was the position held by Gough Whitlam, which was replaced by Malcolm Fraser?
Paraphrase: Name the position for which Malcolm Fraser replaced Gough Whitlam.
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q23333 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q315979 }