Input: Somalis
Somalis (Somali: Soomaali, Arabic: ) are an ethnic group inhabiting the Horn of Africa (Somali Peninsula). The overwhelming majority of Somalis speak the Somali language, which is part of the Cushitic branch of the Afro-Asiatic family. They are predominantly Sunni Muslim. Ethnic Somalis number around 16-20 million and are principally concentrated in Somalia (around 12.3 million), Ethiopia (4.6 million), Kenya (2.4 million), and Djibouti (464,600), with many also residing in parts of the Middle East, North America and Europe.

What is the majority religion of Somalis?
Output: Sunni Muslim

Input: Umayyad Caliphate
The Umayyad Caliphate (Arabic: , trans. Al-Khilafat al-umawiyya) was the second of the four major Islamic caliphates established after the death of Muhammad. This caliphate was centered on the Umayyad dynasty (Arabic: , al-Umawiyyun, or , Banu Umayya, "Sons of Umayya"), hailing from Mecca. The Umayyad family had first come to power under the third caliph, Uthman ibn Affan (r. 644656), but the Umayyad regime was founded by Muawiya ibn Abi Sufyan, long-time governor of Syria, after the end of the First Muslim Civil War in 661 CE/41 AH. Syria remained the Umayyads' main power base thereafter, and Damascus was their capital. The Umayyads continued the Muslim conquests, incorporating the Caucasus, Transoxiana, Sindh, the Maghreb and the Iberian Peninsula (Al-Andalus) into the Muslim world. At its greatest extent, the Umayyad Caliphate covered 15 million km2 (5.79 million square miles), making it the largest empire (in terms of area - not in terms of population) the world had yet seen, and the fifth largest ever to exist.

How many major Islamic caliphates existed after Muhammad's death?
Output: four

Input: Philadelphia
According to the Census Bureau, the median household income in 2013 was $36,836, down 7.9 percent from 2008 when the median household income was $40,008 (in 2013 dollars). For comparison, the median household income among metropolitan areas was $60,482, down 8.2 percent in the same period, and the national median household income was $55,250, down 7.0 percent from 2008. The city's wealth disparity is evident when neighborhoods are compared. Residents in Society Hill had a median household income of $93,720 while residents in one of North Philadelphia's districts reported the lowest median household income, $14,185.

What is the lowest median income in Philadelphia?
Output: $14,185

Input: Pacific War
Allied submarines did not adopt a defensive posture and wait for the enemy to attack. Within hours after the Pearl Harbor attack, in retribution against Japan, Roosevelt promulgated a new doctrine: unrestricted submarine warfare against Japan. This meant sinking any warship, commercial vessel, or passenger ship in Axis-controlled waters, without warning and without help to survivors.[nb 13] At the outbreak of the war in the Pacific the Dutch Admiral in charge of the naval defense of the East Indies, Conrad Helfrich, gave instructions to wage war aggressively. His small force of submarines sank more Japanese ships in the first weeks of the war than the entire British and US navies together, an exploit which earned him the nickname "Ship-a-day Helfrich". The Dutch force were in fact the first to sink an enemy warship; On 24 December 1941, HNLMS K XVI torpedoed and sank the Japanese destroyer Sagiri.

When was the first Japanese warship sunk by a submarine?
Output:
24 December 1941