SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Murray_Gleeson> <http://dbpedia.org/ontology/appointer> ?x . ?x <http://dbpedia.org/ontology/primeMinister> ?uri . }
Which prime ministers were served by the governor who appointed Murray Gleeson?
SELECT DISTINCT ?o WHERE { resource:Murray_Gleeson property:appointer ?m . ?m property:prime_minister ?o . }
Paul Keating, John Howard
The prime ministers of the appointers of Murray Gleeson are [Paul Keating, John Howard].
Prime Ministers apologizing to Murray Gleeson - [Paul Keating, John Howard].
The prime minister of the governor who is the appointer of him  are [Paul Keating, John Howard].
The prime minister of the governor who appoints him is [Paul Keating, John Howard].