SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Michael_Jeffery> <http://dbpedia.org/property/primeminister> ?uri. <http://dbpedia.org/resource/William_Deane> <http://dbpedia.org/ontology/primeMinister> ?uri}
Who is the prime minister of Michael Jeffery who is also the minister of Williuam Deane?
SELECT DISTINCT ?y WHERE { resource:William_Deane property:prime_minister ?y . resource:Michael_Jeffery property:primeminister ?y }
John Howard
[John Howard] is the prime minister of Michael Jeffery and William Deane.
[John Howard] is the prime minister of Michael Jeffery who is also the minister of Williuam Deane.
[John Howard] is the prime minister of them.
[John Howard] is their prime minister.