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.

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: How did Wang Song die?
span

Passage: In the city, the year 2010 population was spread out with 26.3% under the age of 18, 13.6% from 18 to 24, 30.7% from 25 to 44, 21.1% from 45 to 64, and 7.2% who were 65 years of age or older. The median age was 32 years. For every 100 females, there were 92.5 males. For every 100 females age 18 and over, there were 88.4 males.
Question: Which age group is larger: under the age of 18 or 65 years of age or older?
span

Passage: In Ancient Egypt the Bronze Age begins in the Protodynastic period, c. 3150 BC. The archaic early Bronze Age of Egypt, known as the Early Dynastic Period of Egypt, immediately follows the unification of Lower and Upper Egypt, c. 3100 BC. It is generally taken to include the First and Second Dynasties, lasting from the Protodynastic Period of Egypt until about 2686 BC, or the beginning of the Old Kingdom. With the First Dynasty, the capital moved from Abydos to Memphis with a unified Egypt ruled by an Egyptian god-king. Abydos remained the major holy land in the south. The hallmarks of ancient Egyptian civilization, such as art, architecture and many aspects of religion, took shape during the Early Dynastic period. Memphis in the Early Bronze Age was the largest city of the time.The Old Kingdom of the regional Bronze Age is the name given to the period in the 3rd millennium BC when Egypt attained its first continuous peak of civilization in complexity and achievement - the first of three "Kingdom" periods, which mark the high points of civilization in the lower Nile Valley . The First Intermediate Period of Egypt, often described as a "dark period" in ancient Egyptian history, spanned about 100 years after the end of the Old Kingdom from about 2181 to 2055 BC. Very little monumental evidence survives from this period, especially from the early part of it. The First Intermediate Period was a dynamic time when the rule of Egypt was roughly divided between two competing power bases: Heracleopolis in Lower Egypt and Thebes in Upper Egypt. These two kingdoms would eventually come into conflict, with the Theban kings conquering the north, resulting in the reunification of Egypt under a single ruler during the second part of the 11th Dynasty.
Question: Which happened later, the beginning of the Old Kingdom or the First Intermediate Period of Egypt?

span