qnli question: How many years of school do students attend after primary? sentence: The former leads to the Abitur exam after a further eight years and prepares for higher education, while the latter has a more vocational focus and finishes with exams after five or six years, comparable to the Hauptschule and Realschule found elsewhere in Germany.