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: On July 24, 1580, António proclaimed himself as King of Portugal and of the Algarves, in Santarém, which was followed by popular acclamation in several locations of the country. However, he governed in Continental Portugal for only 33 days, culminating in his defeat at the Battle of Alcântara by the Spanish armies led by Fernando Álvarez de Toledo, Duke of Alba on August 25. The Battle ended in a decisive victory for the Spanish Habsburgs, both on land and sea. Two days later, the Duke of Alba captured Lisbon. In early 1581, António fled to France and, as Philip's armies had not yet occupied the Azores, he sailed there with a number of French adventurers under Filippo Strozzi, a Florentine exile in the service of France, but was utterly defeated at sea by a combined Spanish-Portuguese navy commanded by Don Álvaro de Bazán, 1st Marquis of Santa Cruz at the Battle of Ponta Delgada off Terceira Island on July 26, 1582 and off São Miguel Island on July 27, 1582. António still accompanied an English Expedition, under the command of Sir Francis Drake and Sir John Norreys, to the coasts of Spain and Portugal but the Expedition failed and António's attempt to rule Portugal from Terceira Island, in the Azores  came to an end in 1583.
Question: Which date was António no longer King?

SOLUTION: date

PROBLEM: Passage: According to the census in 2005, there were 2,628,811 residents in Osaka, an increase of 30,037 or 1.2% from 2000. There were 1,280,325 households with approximately 2.1 persons per household. The population density was 11,836 persons per km². The 1923 Great Kantō earthquake caused a mass migration to Osaka between 1920 and 1930, and the city became Japans largest city in 1930 with 2,453,573 people, outnumbering even Tokyo, which had a population of 2,070,913. The population peaked at 3,252,340 in 1940, and had a post-war peak of 3,156,222 in 1965, but continued to decrease since, as the residents moved out to the suburbs.
Question: Which year had a higher peak in population, 1940 or 1965?

SOLUTION: date

PROBLEM: Passage: Besides the Navy, Generalissimo Guards and twenty battalions of the Guangdong Army, Sun Yat-sen lacked strong support of military strength in the Guangzhou Military Government, and sometimes his order was only effective in the Generalissmo Government. Sun had thoughts of mutiny at once, hoping to overthrow the Guangxi influence, and had personally ordered the Navy to fire at the Guangxi headquarters at one time. Near the end of 1917, Lu Rongting, Tang Jiyao, Mo Rongxin and others along with Tang Shaoyi convened a conference, and they advocated recognition of Feng Guozhang's presidency and formation a united government. During 1918, Cheng Biguang aligned himself with the Guangxi clique, and was assassinated. The Extraordinary Session of Parliament was controlled by the Guangxi clique, and was restructured in May 1918 by replacing the office of generalissimo with a committee of seven executives consisting of Sun, Tang Shaoyi, Wu Tingfang, and Tang Jiyao on one side and Lu Rongting, Cen Chunxuan, and Lin Baoyi on the other. Feeling marginalized, Sun Yat-sen resigned as the generalissimo, and left Guangzhou for Shanghai. The Guangzhou Military Government was now headed by Cen Chunxuan, the chief executive. Wu Tingfang's election as Guangdong's governor was nullified by Lu Rongting. From February to August 1919, the North and South held negotiations in Shanghai but they were stalled by Duan's sabotage.  All MPs who did not attend the southern "extraordinary" session were disqualified and replaced.  Parliament was adjourned by its Speaker Lin Sen on January 24, 1920 when a faction of MPs boycotted the assembly, depriving it of a quorum.  Cen also suspended the salaries of the MPs.  With the southern government effectively under the influence of the Old Guangxi Clique, the first constitutional protection movement was over.
Question: How many months did the negotiations between the North and South last in 1919?

SOLUTION:
number