Question: Martin Ferguson and Mike Kelly served under which aussie PM?
SPARQL query: SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Martin_Ferguson> <http://dbpedia.org/property/primeminister> ?uri. <http://dbpedia.org/resource/Mike_Kelly_(Australian_politician)> <http://dbpedia.org/property/primeminister> ?uri . }
Answer: The prime ministers of both Martin Ferguson and Mike Kelly are [Julia Gillard, Kevin Rudd].