Question: Which occupation was the military rank held by Barack Obama ?
Answer: commander-in-chief
Answer sentence: barack obama held the commander-in-chief rank of military.