Input: Somalis
Somalis constitute the largest ethnic group in Somalia, at approximately 85% of the nation's inhabitants. They are traditionally nomads, but since the late 20th century, many have moved to urban areas. While most Somalis can be found in Somalia proper, large numbers also live in Ethiopia, Djibouti, Kenya, Yemen, the Middle East, South Asia and Europe due to their seafaring tradition.

Along with Djibouti and Ethiopia, in what African country outside Somalia can Somalis be found?
Output: Kenya

Input: Roman Republic
Roman government was headed by two consuls, elected annually by the citizens and advised by a senate composed of appointed magistrates. As Roman society was very hierarchical by modern standards, the evolution of the Roman government was heavily influenced by the struggle between the patricians, Rome's land-holding aristocracy, who traced their ancestry to the founding of Rome, and the plebeians, the far more numerous citizen-commoners. Over time, the laws that gave patricians exclusive rights to Rome's highest offices were repealed or weakened, and leading plebeian families became full members of the aristocracy. The leaders of the Republic developed a strong tradition and morality requiring public service and patronage in peace and war, making military and political success inextricably linked. Many of Rome's legal and legislative structures (later codified into the Justinian Code, and again into the Napoleonic Code) can still be observed throughout Europe and much of the world in modern nation states and international organizations.

What were Rome's legislative structures eventually turned into?
Output: the Justinian Code

Input: Myanmar
The impact of the post-election reforms has been observed in numerous areas, including ASEAN's approval of Myanmar's bid for the position of ASEAN chair in 2014; the visit by United States Secretary of State Hillary Clinton in December 2011 for the encouragement of further progressit was the first visit by a Secretary of State in more than fifty years (Clinton met with the Burmese president and former military commander Thein Sein, as well as opposition leader Aung San Suu Kyi); and the participation of Aung San Suu Kyi's National League for Democracy (NLD) party in the 2012 by-elections, facilitated by the government's abolition of the laws that previously barred the NLD. As of July 2013, about 100 political prisoners remain imprisoned, while conflict between the Burmese Army and local insurgent groups continues.

Who was the United States Secretary of State who visited Myanmar in 2014?
Output: Secretary of State Hillary Clinton

Input: Hellenistic period
Philip II was a strong and expansionist king and he took every opportunity to expand Macedonian territory. In 352 BC he annexed Thessaly and Magnesia. In 338 BC, Philip defeated a combined Theban and Athenian army at the Battle of Chaeronea after a decade of desultory conflict. In the aftermath, Philip formed the League of Corinth, effectively bringing the majority of Greece under his direct sway. He was elected Hegemon of the league, and a campaign against the Achaemenid Empire of Persia was planned. However, while this campaign was in its early stages, he was assassinated.

Who was Philip II planning a campaign against when he was assasinated?
Output:
Achaemenid Empire of Persia