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: Singapore did not have a native population in the true sense of the word as the population became dominated numerically by three main groups of immigrants after the British founded Singapore as a free port in the 19th century. It was estimated that when Raffles arrived in Singapore in January 1819, Singapore had about 120 Malays, 30 Chinese and some local tribes (the Orang Laut) under the rule of the Temenggung. Around 100 of these Malays had originally moved to Singapore from Johor in 1811 led by the Temenggung. Another estimate put the total population of the whole of Singapore at 1,000, mostly of various local tribes. Early census figures of Singapore show a long period of influx of migrant workers into the country, initially mostly Malays, quickly followed by the Chinese. By 1821, the population was estimated to have increased to 4,724 Malays and 1,150 Chinese. In the first census of 1824, 6,505 out of the 10,683 total were Malays and Bugis, constituting over 60% of the population. Large number of Chinese migrants started to enter Singapore just months after it became a British settlement, and they were predominantly male. In 1826, official census figures give a total population of 13,750, with 6,088 Chinese, 4,790 Malays, 1,242 Bugis, 1,021 Indians from Bengal (244) and the Coromandel Coast (777), smaller number of Javanese people (267), Europeans (87) and other peoples. The population total of Singapore increased to 16,000 in 1829, 26,000 five years later. By 1836, the Chinese at 13,749 had become the most populous ethnic group, overtaking the broad Malay grouping (12,538, including other groups such as the Bugis, Javanese, and Balinese). By the beginning of 1850, the population had reached 60,000, 24,790 of them Chinese.
Question: In what year did the Chinese population of Singapore surpass the Malay population?

SOLUTION: date

PROBLEM: Passage: The median age in the city was 35.1 years. 24.2% of residents were under the age of 18; 7.9% were between the ages of 18 and 24; 33.8% were from 25 to 44; 24.6% were from 45 to 64; and 9.5% were 65 years of age or older. The gender makeup of the city was 48.6% male and 51.4% females.
Question: How many percent of people were in the three biggest age groups combined?

SOLUTION: number

PROBLEM: Passage: Frederick had been King of Jerusalem—and as such claimed suzerainty over Cyprus—in right of his wife Isabella II until her death in 1228. That year he arrived first in Cyprus, where he antagonised the nobles, and then in Jerusalem, where he stayed until 1229, leaving in humiliating circumstances after having produced an anti-imperialist reaction in the people. In 1231 he sent Riccardo Filangieri as his marshal. His attempt to assert his authority was opposed by John of Ibelin, the Old Lord of Beirut, who had been regent until Frederick's arrival. On John's death in 1236 the war was taken up by his son Balian. In 1239 Philip of Montfort assumed the leadership of the opposition. Though the ecclesiastical hierarchy and the Knights Templar supported the nobility, the Teutonic Knights and Knights Hospitaller supported Filangieri. In general his rights as regent were recognised but his practical power was denied on the basis of the Assizes and the Haute Cour. His headquarters were in Tyre and he had the allegiance of Bohemond V, Prince of Antioch and Count of Tripoli. He also held the Holy City of Jerusalem itself, which had been negotiated away from the Saracens by Frederick. So long as the Ibelins controlled the opposition, Filangieri could count on the support of their enemies as well. The Italian cities were also divided between the two factions: Pisa supported Filangieri and Genoa the Ibelins. The Ibelins controlled Beirut, Arsuf, and Caesarea as well as the old capital of Acre. In 1231 the citizens of Acre formed a commune with their headquarters at the church of Saint Andrew's in order to unify their opposition to Filangieri. In 1232 John of Ibelin was elected its mayor.
Question: Where did Frederick go last, Cyprus or Jerusalem?

SOLUTION:
span