Task: Question Generation
Input (English): Passage: Julian Scherner was born on September 23, 1895 in the town of Bagamoyo in German East Africa, where he lived until the age of two. Scherner attended the cadet schools, Kadettenanstalt, Karlsruhe between October 1, 1905 and 1911 and Berlin-Lichterfield between 1911 and 1914. Scherner was enlisted in the infantrie rgt. 114 between March 15, 1912 and August 10, 1914. During this time, Scherner earned the rank of Fähnrich in April 1914 and received officer rank on August 5, 1914. In 1914, he joined the Reichsheer or Imperial army. Scherner served in World War 1 as a Zugführer (military), Kompanieführer, company commander and platoon leader. Scherner was injured by shell splinters and rifle fire in the ankle and head respectively and was hospitalized between 1914-1915. After Scherner was released from the hospital, in 1915, he returned to his military unit but was captured by the French in May 1915. Scherner was honored with the Iron Cross second class and the Wound Badge in black and subsequently discharged from the military on March 30, 1920 with the rank of Oberleutnant.
Output (English): For how many years did Scherner attend Kadettenanstalt in Karlsruhe?