Task: Question Generation
Input (English): Context : General Algernon Seymour, 7th Duke of Somerset (11 November 1684 -- 7 February 1750), styled Earl of Hertford until 1748, of Petworth House in Sussex, was a British soldier, politician and landowner. 
Answer : politician
Output (English): What was Algernon Seymour, 7th Duke of Somerset's occupation?