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: 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: How many years after the citizens of Acre formed a commune to unify their opposition to Filangieri was John of Ibelin elected its mayor?

SOLUTION: number

PROBLEM: Passage: The Spanish were able to complete their escape to Tlaxcala. There, they were given assistance, since all 440 of them were wounded, with only 20 horses left. Maxixcatzin, Xicotencatl the Elder and Chichimecatecle told Cortés's men: "Consider yourselves at home. Rest...do not think it a small thing that you have escaped with your lives from that strong city...if we thought of you as brave men before, we consider you much braver now.":306-07 Cortés got reinforcements when the Panuco River settlement was abandoned, and supply ships arrived from Cuba and Spain. Cortés also had built 13 brigantines then had them mounted with cannons, turning Lake Texcoco into a strategic body of water to assault Tenochtitlan. Xicotencatl the Younger, however, sought an alliance with the Mexicans, but was opposed.:309-11 Cortés sent Diego de Ordaz, and the remnants of Navarez's men, on a ship to Spain, and Alonso de Ávila on a ship to Santo Domingo to represent his case in the Royal Courts.:311 Cortés was able to pacify the country, after the indigenous realized the Spaniards put "an end to the rape and robbery that the Mexicans practised." Finally, Xicotencatl the Elder, baptized as Don Lorenzo de Vargas, agreed to support Cortés's expedition against Texcoco. According to Bernal Diaz, he sent more than ten thousand warriors under the command of Chichimecatecle as Cortés marched on the day after Christmas 1520.:309, 311-12
Question: On what date did 10,000 warriors march under Chichimecatecle?

SOLUTION: date

PROBLEM: Passage: Genetic research suggests that the earliest settlers migrated from Iberia following the most recent ice age. After the Mesolithic, Neolithic and Bronze Age, migrants introduced a Celtic language and culture. Migrants from the two latter eras still represent the genetic heritage of most Irish people. Gaelic tradition expanded and became the dominant form over time. Irish people are a combination of Gaelic, Norse, Anglo-Norman, French, and British ancestry. The population of Ireland stood at 4,588,252 in 2011, an increase of 8.2% since 2006. As of  2011, Ireland had the highest birth rate in the European Union . In 2014, 36.3% of births were to unmarried women. Annual population growth rates exceeded 2% during the 2002-2006 intercensal period, which was attributed to high rates of natural increase and immigration. This rate declined somewhat during the subsequent 2006-2011 intercensal period, with an average annual percentage change of 1.6%. At the time of the 2011 census, the number of non-Irish nationals was recorded at 544,357, comprising 12% of the total population. This is nearly 2.5 times the number of non-Irish nationals recorded in the 2002 census , when the question of nationality was asked for the first time. The five largest non-national cohorts were Polish , UK , Lithuanian , Latvian  and Nigerian  respectively.
Question: Was the number of non-Irish nationals living in Ireland higher in 2002 or 2011?

SOLUTION:
date