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: In September 1190 Richard and Philip arrived in Sicily. After the death of King William II of Sicily his cousin Tancred had seized power and had been crowned early in 1190 as King Tancred of Sicily, although the legal heir was William's aunt Constance, wife of the new Emperor Henry VI. Tancred had imprisoned William's widow, Queen Joan, who was Richard's sister and did not give her the money she had inherited in William's will. When Richard arrived he demanded that his sister be released and given her inheritance; she was freed on 28 September, but without the inheritance. The presence of foreign troops also caused unrest: in October, the people of Messina revolted, demanding that the foreigners leave. Richard attacked Messina, capturing it on 4 October 1190. After looting and burning the city Richard established his base there, but this created tension between Richard and Philip Augustus. He remained there until Tancred finally agreed to sign a treaty on 4 March 1191. The treaty was signed by Richard, Philip, and Tancred. Its main terms were:
Question: What was the date that all this ended?

SOLUTION: date

PROBLEM: Passage: In 1710, the Swedish army in Poland retreated to Swedish Pomerania, pursued by the coalition. In 1711, siege was laid to Stralsund. Yet the town could not be taken due to the arrival of a Swedish relief army, which secured the Pomeranian pocket before turning west to defeat an allied army in the Battle of Gadebusch. Pursued by coalition forces, the Swedish army was trapped and surrendered in the Siege of Tönning. In 1714, Charles XII returned from the Ottoman Empire, arriving in Stralsund in November. In nearby Greifswald, already lost to Sweden, Russian tsar Peter the Great and British king George I, in his position as Elector of Hanover, had just signed an alliance on 17 /28  October. Previously a formally neutral party in the Pomeranian campaigns, Brandenburg-Prussia openly joined the coalition by declaring war on Sweden in the summer of 1715. Charles was then at war with much of Northern Europe, and Stralsund was doomed. Charles remained there until December 1715, escaping only days before Stralsund fell. When Wismar surrendered in 1716, all of Sweden's Baltic and German possessions were lost.
Question: How many years passed from when Swedish army in Poland retreated to Swedish Pomerania to when Wismar surrendered ?

SOLUTION: number

PROBLEM: Passage: The United States occupation of Nicaragua from 1912 to 1933 was part of the Banana Wars, when the US military forcefully intervened in various Latin American countries from 1898 to 1934. The formal occupation began in 1912, even though there were various other assaults by the U.S. in Nicaragua throughout this period. American military interventions in Nicaragua were designed to stop any other nation except the United States of America from building a Nicaraguan Canal. Nicaragua assumed a quasi-protectorate status under the 1916 Bryan-Chamorro Treaty. But with the onset of the Great Depression and Augusto C. Sandino's Nicaraguan guerrilla troops fighting back against U.S. troops, it became too costly for the U.S. government and a withdrawal was ordered in 1933.
Question: What year did Nicaragua become formally protected by the United States?

SOLUTION:
date