Task: Question Generation
Input (English): Context : David Geisinger (1790 -- 5 March 1860) was an officer of the United States Navy, who served during the War of 1812, and was later Commodore of the East India Squadron. 
Answer : War of 1812
Output (English): Which war did David Geisinger serve in?