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 : Andrew Snape Douglas was born in Edinburgh on 8 October 1761, the son of Dr. William Douglas, a medical doctor of Springfield, and Lydia Hamond, daughter of a London merchant and shipowner. 
Question : What military branch did Andrew Snape Douglas serve?

SOLUTION: military branch

PROBLEM: Context : In 2008 the extrasolar planet WASP-12b was discovered orbiting WASP-12 by the transit method. 
Question : What constellation is WASP-12 in?

SOLUTION: constellation

PROBLEM: Context : On his second trip to the East, for a different company, Cornelis de Houtman and his troops got into a confrontation in Aceh, because of his rude temperament, and soon there were fierce battles with the Acehnese Navy, led by Aceh's female admiral, Keumalahayati (Malahayati) who eventually managed to kill Cornelis de Houtman. 
Question : What was Cornelis de Houtman's occupation?

SOLUTION:
occupation