TASK DEFINITION: Classify the relation of question with context to one of these categories: 1) award received, 2) based on, collection, 3) conflict, 4) constellation, 5) convicted of, 6) date of death, 7) director, 8) drafted by, 9) educated at, 10) medical condition, 11) military branch, 12) narrative location, 13) occupation, 14) original network, 15) parent company, 16) point in time, 17) production company, 18) residence, 19) series, 20) service entry, 21) sex or gender, 22) spouse, 23) standards body question.
PROBLEM: Context : James Mitchell Varnum was born in Dracut, Massachusetts. 
Question : What military organization did James Mitchell Varnum belong to?

SOLUTION: military branch

PROBLEM: Context : Le Corsaire is a ballet typically presented in three acts, with a libretto originally created by Jules-Henri Vernoy de Saint-Georges loosely based on the poem The Corsair by Lord Byron. 
Question : The Le Corsaire is based upon what?

SOLUTION: based on

PROBLEM: Context : ``Bart's New Friend'' was written by Judd Apatow, better known for films such as Bridesmaids and The 40-Year-Old Virgin. 
Question : What series is Bart's New Friend a part of?

SOLUTION:
series