SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/successor> <http://dbpedia.org/resource/Derick_Heathcoat-Amory,_1st_Viscount_Amory> . ?x <http://dbpedia.org/property/primeminister> ?uri . }
Who was the prime minister under which the predecessor of Derick Heathcoat Amory served?
SELECT DISTINCT ?n WHERE { ?u property:primeminister ?n . . ?u property:successor resource:Derick_Heathcoat-_Amory,_1st_Viscount_Amory }
Winston Churchill, Harold Macmillan, Anthony Eden, Sir Alec Douglas-Home, Clement Attlee
The prime ministers of the predecessors of Derick Heathcoat-Amory, 1st Viscount Amory are [Winston Churchill, Harold Macmillan, Anthony Eden, Sir Alec Douglas-Home, Clement Attlee].
Derick Heathcoat-Amory's predecessors, the 1st Viscount Amory, were prime ministers [Winston Churchill, Harold Macmillan, Anthony Eden, Sir Alec Douglas-Home, Clement Attlee].