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.
--------
Question: Passage: Švitrigaila was losing his influence in the Slavic principalities and could no longer resist Poland and Sigismund. On 4 September 1437 he attempted to reconcile with Poland: he would rule the lands that still backed him , and after his death these territories would pass to the King of Poland. However, under strong protest from Sigismund, the Polish Senate declined to ratify the treaty . In 1438 Švitrigaila withdrew to Moldavia. The reign of Sigismund Kęstutaitis was brief — he was assassinated in 1440. Švitrigaila returned from exile in 1442 and ruled Lutsk until his death a decade later. Jogaila's son Casimir IV Jagiellon, born in 1426, received approval as a hereditary hospodar from Lithuania's ruling families in 1440. This event is seen by the historians Jerzy Lukowski and Hubert Zawadzki as marking the end of the succession dispute.
Question: What year did Švitrigaila die?

Answer: date


Question: Passage: The government of Portuguese India started in 1505, six years after the discovery of the sea route to India by Vasco da Gama, with the nomination of the first Viceroy Francisco de Almeida, then settled at Kochi. Until 1752, the name "India" included all Portuguese possessions in the Indian Ocean, from southern Africa to Southeast Asia, governed - either by a Viceroy or Governor - from its headquarters, established in Goa since 1510. In 1752 Portuguese Mozambique got its own government and in 1844 the Portuguese Government of India stopped administering the territory of Portuguese Macau, Solor and Portuguese Timor, seeing itself thus confined to a reduced territorial entity in Malabar: Goa, Daman, Diu, Dadra and Nagar Haveli. Portuguese control ceased in the last two enclaves in 1954, and finally ceased in the remaining three pockets in 1961, when they were occupied by the Republic of India . This ended four and a half centuries of Portuguese rule in parts—thought tiny—of India. It may be noted that during the term of the monarchy, the title of the head of the Portuguese government in India ranged from "Governor" to "Viceroy". The title of viceroy would only be assigned to members of the nobility; It was formally terminated in 1774, although it has later been given sporadically to be decisively ended after 1835), as shown below.
Question: What year was the discovery of the sea route to India by Vasco da Gama?

Answer: date


Question: Passage: The first major battle of the war took place at Casal Imbert in May 1232. Filangieri defeated the Ibelins. In June, however, he was so soundly defeated by an inferior force at the Battle of Agridi in Cyprus that his support on the island dwindled to zero within a year. In 1241 the barons offered the bailliage of Acre to Simon de Montfort, the Earl of Leicester, a cousin of Philip of Montfort, and a relative through marriage to both the Hohenstaufen and the Plantagenets. He never assumed it. In 1242 or 1243 Conrad declared his own majority and on 5 June the absentee monarch's regency was granted by the Haut Court to Alice, widow of Hugh I of Cyprus and daughter of Isabella I of Jerusalem. Alice promptly began ruling as if queen, ignoring Conrad, who was in Italy, and ordering Filangieri arrested. After a long siege, Tyre fell on 12 June. The Ibelins seized its citadel on 7 or 10 July, with the help of Alice, whose forces arrived on 15 June. Only the Ibelins could claim to be the winners of the war.
Question: Which did Filangieri lose to, the Ibelins or an inferior force at the Battle of Agridi?

Answer:
span