Task: Question Answering
Input (English): Who were the two parties fighting in the war where Kajiwara Heima served as karō?
Output (English): Tokugawa shogunate and those seeking to return political power to the Imperial Court