TASK DEFINITION: Given a question and a context passage, generate the answer having the word or phrase from the context passage. Here, the answer should be a shortest continous span from the passage.
PROBLEM: Context: Mortimer Dormer Leggett (April 19, 1821 -- January 6, 1896) was a lawyer, school administrator, professor, and major general of the Union Army during the American Civil War. 
 Question: Which entity was Mortimer Dormer Leggett a part of?

SOLUTION: union army

PROBLEM: Context: Kanalaattam is a 1979 Indian Malayalam film, directed by C Radhakrishnan and produced by PMK Bapu. 
 Question: In what year is the film Kanalaattam released?

SOLUTION: 1979

PROBLEM: Context: In America, when the eighth graders leave the middle school, they are often worried about moving to the high school. It is a hard time for them, but it can be an exciting one as well. To make it easier, students need to get familiar with their school. Even though they've done this already in the middle school, it's still important to find where their classrooms are. Most schools take students to the high school for a visit at the end of their eighth grade year. And, most schools also have a freshman speech for parents and students before the first year begins. Sometimes the main office will give away a map of the school. This can help students and parents to find different places in the school. One way to know your high school more and make new friends is to join a club or play a sport. Schools often offer chances to join different clubs and sports. Fall activities begin in August before the first day of school. If you are not interested in sports, there are clubs for any interest, such as drama, dance, chess, photography, community service, etc. These clubs allow students from different grades. By joining an activity, students can find new friendships, not to mention improving their chances in future college applications . The school office will have a list of activities offered at the school and information on how to join them. What's more, to have a great start to a high school year, students can write down some of their worries, and ask for help from teachers and school workers. 
 Question: When do many schools take students to visit their new high school?

SOLUTION:
at the end of their eighth grade year