Input: Hellenistic period
Carthage was a Phoenician colony on the coast of Tunisia. Carthaginian culture came into contact with the Greeks through Punic colonies in Sicily and through their widespread Mediterranean trade network. While the Carthaginians retained their Punic culture and language, they did adopt some Hellenistic ways, one of the most prominent of which was their military practices. In 550 BCE, Mago I of Carthage began a series of military reforms which included copying the army of Timoleon, Tyrant of Syracuse. The core of Carthage's military was the Greek-style phalanx formed by citizen hoplite spearmen who had been conscripted into service, though their armies also included large numbers of mercenaries. After their defeat in the first Punic war, Carthage hired a Spartan mercenary captain, Xanthippus of Carthage to reform their military forces. Xanthippus reformed the Carthaginian military along Macedonian army lines.

What Greek style was the core of Carthage's military?
Output: phalanx

Input: Muammar Gaddafi
International reactions to Gaddafi's death were divided. U.S. President Barack Obama stated that it meant that "the shadow of tyranny over Libya has been lifted," while UK Prime Minister David Cameron stated that he was "proud" of his country's role in overthrowing "this brutal dictator". Contrastingly, former Cuban President Fidel Castro commented that in defying the rebels, Gaddafi would "enter history as one of the great figures of the Arab nations", while Venezuelan President Hugo Chávez described him as "a great fighter, a revolutionary and a martyr." Nelson Mandela expressed sadness at the news, praising Gaddafi for his anti-apartheid stance, remarking that he backed the African National Congress during "the darkest moments of our struggle". Gaddafi was mourned by many as a hero across Sub-Saharan Africa, for instance, a vigil was held by Muslims in Sierra Leone. The Daily Times of Nigeria stated that while undeniably a dictator, Gaddafi was the most benevolent in a region that only knew dictatorship, and that he was "a great man that looked out for his people and made them the envy of all of Africa." The Nigerian newspaper Leadership reported that while many Libyans and Africans would mourn Gaddafi, this would be ignored by western media and that as such it would take 50 years before historians decided whether he was "martyr or villain."

Who expressed pride at overthrowing Gaddafi's government?
Output: David Cameron

Input: John, King of England
Prince Louis intended to land in the south of England in May 1216, and John assembled a naval force to intercept him. Unfortunately for John, his fleet was dispersed by bad storms and Louis landed unopposed in Kent. John hesitated and decided not to attack Louis immediately, either due to the risks of open battle or over concerns about the loyalty of his own men. Louis and the rebel barons advanced west and John retreated, spending the summer reorganising his defences across the rest of the kingdom. John saw several of his military household desert to the rebels, including his half-brother, William Longespée. By the end of the summer the rebels had regained the south-east of England and parts of the north.

Why did John hesitate to attack Louis?
Output: due to the risks of open battle

Input: Hindu philosophy
Hindu philosophy refers to a group of darśanas (philosophies, world views, teachings) that emerged in ancient India. The mainstream Hindu philosophy includes six systems (ṣaḍdarśana) – Samkhya, Yoga, Nyaya, Vaisheshika, Mimamsa and Vedanta. These are also called the Astika (orthodox) philosophical traditions and are those that accept the Vedas as authoritative, important source of knowledge.[note 1][note 2] Ancient and medieval India was also the source of philosophies that share philosophical concepts but rejected the Vedas, and these have been called nāstika (heterodox or non-orthodox) Indian philosophies. Nāstika Indian philosophies include Buddhism, Jainism, Cārvāka, Ājīvika, and others.

What was the origin of Hindu philosophy?
Output:
ancient India