SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/primeMinister> <http://dbpedia.org/resource/Bob_Hawke> }
Who were all the people in office when bob hawke was the PM?
SELECT DISTINCT ?s WHERE { ?s property:prime_minister resource:Bob_Hawke }
answer
The politicians whose prime minister is Bob Hawke are [answer].
Politicians having prime minister named Bob Hawke is [answer].
The office holders whose prime minister is him are [answer].
The politicians of which he is prime minister [answer].