Input: Imamah (Shia doctrine)
Within Shia Islam (Shiism), the various sects came into being because they differed over their Imams' successions, just as the Shia - Sunni separation within Islam itself had come into being from the dispute that had arisen over the succession to Muhammad. Each succession dispute brought forth a different tariqah (literal meaning 'path'; extended meaning 'sect') within Shia Islam. Each Shia tariqah followed its own particular Imam's dynasty, thus resulting in different numbers of Imams for each particular Shia tariqah. When the dynastic line of the separating successor Imam ended with no heir to succeed him, then either he (the last Imam) or his unborn successor was believed to have gone into concealment, that is, The Occultation.

Why did different sects come about within Shiism?
Output: they differed over their Imams' successions

Input: Religion in ancient Rome
The same divine agencies who caused disease or harm also had the power to avert it, and so might be placated in advance. Divine consideration might be sought to avoid the inconvenient delays of a journey, or encounters with banditry, piracy and shipwreck, with due gratitude to be rendered on safe arrival or return. In times of great crisis, the Senate could decree collective public rites, in which Rome's citizens, including women and children, moved in procession from one temple to the next, supplicating the gods.

What elements had the power of benefit or harm in Roman religion?
Output: divine agencies

Input: Greeks
Homer uses the terms Achaeans and Danaans () as a generic term for Greeks in Iliad, and they were probably a part of the Mycenean civilization. The names Achaioi and Danaoi seem to be pre-Dorian belonging to the people who were overthrown. They were forced to the region that later bore the name Achaea after the Dorian invasion. In the 5th century BC, they were redefined as contemporary speakers of Aeolic Greek which was spoken mainly in Thessaly, Boeotia and Lesbos. There are many controversial theories on the origin of the Achaeans. According to one view, the Achaeans were one of the fair-headed tribes of upper Europe, who pressed down over the Alps during the early Iron age (1300 BC) to southern Europe. Another theory suggests that the Peloponnesian Dorians were the Achaeans. These theories are rejected by other scholars who, based on linguistic criteria, suggest that the Achaeans were mainland pre-Dorian Greeks. There is also the theory that there was an Achaean ethnos that migrated from Asia minor to lower Thessaly prior to 2000 BC. Some Hittite texts mention a nation lying to the west called Ahhiyava or Ahhiya. Egyptian documents refer to Ekwesh, one of the groups of sea peoples who attached Egypt during the reign of Merneptah (1213-1203 BCE), who may have been Achaeans.

Where was this origin of this redefinition ?
Output: spoken mainly in Thessaly, Boeotia and Lesbos

Input: Saint Helena
The island was uninhabited when discovered by the Portuguese in 1502. One of the most remote islands in the world, it was for centuries an important stopover for ships sailing to Europe from Asia and South Africa. Napoleon was imprisoned there in exile by the British, as were Dinuzulu kaCetshwayo (for leading a Zulu army against British rule) and more than 5,000 Boers taken prisoner during the Second Boer War.

When was the island discovered?
Output:
1502