Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Passage: Other projects were made for the occupation of parts of Brazil in 1579, following the death of Sebastian of Portugal at the Battle of Alcacer Quibir, and also in 1582 under Admiral Filippo di Piero Strozzi, cousin of Catherine de Medicis. During that period the crowns of Spain and Portugal were united under the same king, the Dutch attacked and captured Salvador de Bahia and the island of Fernando de Noronha, but a Portuguese-Spanish fleet very soon recovered those cities. In the 17th century, France again briefly established a colony in Brazil with the establishment of France Equinoxiale. On 21 September 1711, in the 11-day Battle of Rio de Janeiro, Rene Duguay-Trouin captured Rio de Janeiro, then believed impregnable, with twelve ships and 6,000 men, in spite of the defence consisting of seven ships of the line, five forts and 12,000 men; he held the governor for ransom. Investors in this venture doubled their money, and Duguay-Trouin earned a promotion to Lieutenant general de la Marine.
Question: Which happened first Battle of Rio de Janeiro or Battle of Alcacer Quibir?
Student:
span