TASK DEFINITION: This task involves annotating the answer type to a given question that involve some kind of complex reasoning (including numerical reasoning). Note that the questions require looking at more than one part of the passage to answer. There are 3 possible answer types (i) spans, (ii) numbers and (iii) dates. If the answer can be found in the passage, label it as "span". If the answer is a number, label as "number". Similarly, label "date" if you think the answer to the given question is a date.
PROBLEM: Passage: The Second Goryeo-Khitan War was an 11th-century conflict between the kingdom of Goryeo and the Liao dynasty  near what is now the border between China and North Korea. It was the second of the Goryeo-Khitan Wars, with the First Goryeo-Khitan War occurring in 993, the second in 1010, and the third in 1018. When King Seongjong died in 997, Liao invested his successor Wang Song as king of Goryeo . In 1009, he was assassinated by the forces of the general Gang Jo. Using it as a pretext, the Liao attacked Goryeo in the next year. They lost the first battle but won the second one, and Gang Jo was captured and killed. The Liao occupied and burnt the Goryeo capital Kaesong. The Khitan withdrew after Goryeo reaffirmed its tributary relationship with the Khitan.
Question: which battle did Liao win?

SOLUTION: span

PROBLEM: Passage: Hoping to rebound from their loss to the Jaguars the Raiders played in home ground for an AFC West rivalry rematch against the Broncos. The Raiders took the lead with Jacoby Ford running 71&#160;yards for a touchdown. The Broncos replied as Tim Tebow scrambled 40&#160;yards for a touchdown. The Raiders trailed as Tebow made a 33-yard TD pass to WR Brandon Lloyd. They soon responded by RB Michael Bush got a 1-yard TD run. The Broncos lead again with kicker Steven Hauschka making a 46-yard field goal, but the Raiders pulled ahead as kicker Sebastian Janikowski nailed a 49 and a 35-yard field goal. The Broncos re-tied the game after Hauschka made a 35-yard field goal, but the Raiders got the lead back with Janikowski nailing a 47-yard field goal, followed by QB Jason Campbell completing a 73-yard TD pass to FB Marcel Reece. The lead was narrowed when Hauschka nailed a 45-yard field goal, but the Raiders pulled away with OLB Quentin Groves tackling RB Correll Buckhalter in the endzone for a safety, followed by Bush getting a 1-yard TD run.
Question: How many field goals were longer than 40 yards?

SOLUTION: number

PROBLEM: Passage: According to the Yuanshi, the Yuan fleet set out with an estimated 15,000 Mongol and Chinese soldiers and 1,600-8,000 Korean soldiers in 300 large vessels and 400-500 smaller craft along with several thousand sailors, although figures vary considerably depending on the source and many modern historians consider the numbers exaggerated. The primary port for the operation was Quanzhou in Fujian, then the center of China's maritime trade. They landed on Komodahama beach on Tsushima Island on October 5, 1274. Sō Sukekuni, governor of Tsushima, led a cavalry unit of 80 to defend the island, but he and his outnumbered unit were killed in the engagement. The Mongols and Koreans subsequently invaded Iki. Tairano Takakage, the Governor of Iki, fought the invaders with about 100 of his cavalrymen, but he killed himself after his unit was defeated. The Mongol forces landed on November 19 in Hakata Bay, a short distance from Dazaifu, the ancient administrative capital of Kyūshū. The following day brought the Battle of Bun'ei , also known as the "First Battle of Hakata Bay". The Japanese coalition force opposing them included 120 armed samurai each with a warband and likely numbered between 3,000 and 6,000 strong. Later accounts have both sides believing themselves to be drastically outnumbered by the enemy; the Yuanshi provides an estimate of 102,000 for the Japanese force, while the Japanese Hachiman Gudokun describes the invaders as outnumbering the Japanese 10 to 1. Conlan argues that the Yuanshi's account of the battle suggests that both the Japanese and Yuan forces were of similar size. Conlan estimated that both armies numbered around 3,000 each .
Question: What was the date of Battle of Bun'ei?

SOLUTION:
date