Question: Is Julia Gillard the prime minister of Kate Lundy?
SPARQL:
ASK WHERE { <http://dbpedia.org/resource/Kate_Lundy> <http://dbpedia.org/ontology/primeMinister> <http://dbpedia.org/resource/Julia_Gillard> }