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.

Ex Input:
Passage: The English Civil War had left resentment among some of the population about the monarchy and the penalties which had been imposed on the supporters of the Commonwealth. The South West of England contained several towns where opposition remained strong. Fears of a potential Catholic monarch persisted, intensified by the failure of Charles II and his wife to produce any children. A defrocked Anglican clergyman, Titus Oates, spoke of a "Popish Plot" to kill Charles and to put the Duke of York on the throne. The Earl of Shaftesbury, a former government minister and a leading opponent of Catholicism, attempted to have James excluded from the line of succession. Some members of Parliament even proposed that the crown go to Charles's illegitimate son, James Scott, who became the Duke of Monmouth. In 1679, with the Exclusion Bill - which would exclude the King's brother and heir presumptive, James, Duke of York, from the line of succession - in danger of passing, Charles II dissolved Parliament. Two further Parliaments were elected in 1680 and 1681, but were dissolved for the same reason. After the Rye House Plot of 1683, an attempt to assassinate both Charles and James, Monmouth went into self-imposed exile in the Netherlands, and gathered supporters in The Hague. Monmouth was a Protestant and had toured the South West of England in 1680, where he had been greeted amicably by crowds in towns such as Chard and Taunton. So long as Charles II remained on the throne, Monmouth was content to live a life of pleasure in Holland, while still hoping to accede peaceably to the throne. The accession of James II and coronation at Westminster Abbey on 23 April 1685 put an end to these hopes.
Question: when was the coronation of James 2

Ex Output:
date


Ex Input:
Passage: The main legacy of the Revolt of the Barretinas was an enduring anti-French sentiment in the Catalan leadership and intelligentsia.  This would become relevant a decade later in 1700, when King Charles II died without a son.  Charles' death triggered the War of the Spanish Succession.  The two claimants were the French Philip, Duke of Anjou and the Austrian Emperor Leopold I.  The Spanish government chose Philip; French King Louis XIV, Philip's grandfather, naturally supported his grandson as well.  The Catalan upper classes, still distrustful of France from its efforts to stir the peasantry against them in 1689, had no love for Philip.  He was "a king chosen by Castilians."  In 1702, the cortes voted to recognize Leopold as king, and full-scale rebellion against Philip began in 1705 with the arrival of supporting Austrian troops.  The war would continue for nine more years, until the Siege of Barcelona in 1714 when the last remaining Catalan supporters of Leopold were defeated by the combined Franco-Castilian army.  The Nueva Planta decrees, issued by Philip from 1707-1714, ended the nominal split between Castile and Aragon and eliminated the traditional autonomy Aragon had kept.  Castilian law and institutions were mandated throughout Spain.
Question: In which year did the War of the Spanish Succession end?

Ex Output:
date


Ex Input:
Passage: As of 2014 there are 33 official communities in the NWT. These range in size from Yellowknife with a population of 19,569 to Kakisa with 36 people. Governance of each community differs, some are run under various types of First Nations control, while others are designated as a city, town, village or hamlet, but most communities are Municipal government in Canada. Yellowknife is the largest community and has the largest number of Aboriginal peoples, 4,520 (23.4%) people. However, Behchokǫ̀, with a population of 1,874, is the largest First Nations community, 1,696 (90.9%), and Inuvik with 3,243 people is the largest Inuvialuit community, 1,315 (40.5%). There is one Indian reserve in the NWT, Hay River Reserve, located on the south shore of the Hay River (Canada).
Question: Which community has the lowest population?

Ex Output:

span