Question: Who was the PM under which William Deane served?
SPARQL query: SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/William_Deane> <http://dbpedia.org/ontology/primeMinister> ?uri  . }
Answer: [Paul Keating, John Howard] was the PM under which William Deane served.