SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/primeMinister> <http://dbpedia.org/resource/Gough_Whitlam> }
Who all held a position when Gough Whitlam was the prime minister?
SELECT DISTINCT ?v WHERE { ?v property:prime_minister resource:Gough_Whitlam }
answer
The office holders whose prime minister is Gough Whitlam are [answer].
The office holders, of which Gough Whitlam is the prime minister, are [answer].
The office holders whose prime minister is him are [answer].
The office holders of which he is prime minister [answer].