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 : General Sir William Gabriel Davy, KCH (1780 -- 25 January 1856) was a British Army officer who fought in the Peninsular War. 
Question : Which war was William Gabriel Davy a part of?

SOLUTION: conflict

PROBLEM: Context : Janar Talts (born 7 April 1983) is an Estonian professional basketball player. 
Question : What kind of  occupation does Janar Talts have?

SOLUTION: occupation

PROBLEM: Context : After Stallone directed the second through fourth films in the series, Rocky V saw the return of John G. Avildsen, whose direction of Rocky won him an Academy Award for Best Directing. 
Question : Which production company is involved with Rocky V?

SOLUTION:
production company