Input: Somalis
In the Middle Ages, several powerful Somali empires dominated the regional trade including the Ajuran Sultanate, which excelled in hydraulic engineering and fortress building, the Sultanate of Adal, whose general Ahmad ibn Ibrahim al-Ghazi (Ahmed Gurey) was the first commander to use cannon warfare on the continent during Adal's conquest of the Ethiopian Empire, and the Sultanate of the Geledi, whose military dominance forced governors of the Omani empire north of the city of Lamu to pay tribute to the Somali Sultan Ahmed Yusuf.

What state employed Abmad ibn Ibrahim al-Ghazi?
Output: the Sultanate of Adal

Input: Middle Ages
Although the Palaeologi emperors recaptured Constantinople from the Western Europeans in 1261, they were never able to regain control of much of the former imperial lands. They usually controlled only a small section of the Balkan Peninsula near Constantinople, the city itself, and some coastal lands on the Black Sea and around the Aegean Sea. The former Byzantine lands in the Balkans were divided between the new Kingdom of Serbia, the Second Bulgarian Empire and the city-state of Venice. The power of the Byzantine emperors was threatened by a new Turkish tribe, the Ottomans, who established themselves in Anatolia in the 13th century and steadily expanded throughout the 14th century. The Ottomans expanded into Europe, reducing Bulgaria to a vassal state by 1366 and taking over Serbia after its defeat at the Battle of Kosovo in 1389. Western Europeans rallied to the plight of the Christians in the Balkans and declared a new crusade in 1396; a great army was sent to the Balkans, where it was defeated at the Battle of Nicopolis. Constantinople was finally captured by the Ottomans in 1453.

In what year did Bulgaria become a vassal of the Ottomans?
Output: 1366

Input: Dog
Dog communication is about how dogs "speak" to each other, how they understand messages that humans send to them, and how humans can translate the ideas that dogs are trying to transmit.:xii These communication behaviors include eye gaze, facial expression, vocalization, body posture (including movements of bodies and limbs) and gustatory communication (scents, pheromones and taste). Humans communicate with dogs by using vocalization, hand signals and body posture.

What is gustatory communication include in dogs?
Output: scents, pheromones and taste

Input: Dutch language
Many native speakers of Dutch, both in Belgium and the Netherlands, assume that Afrikaans and West Frisian are dialects of Dutch but are considered separate and distinct from Dutch: a daughter language and a sister language, respectively. Afrikaans evolved mainly from 17th century Dutch dialects, but had influences from various other languages in South Africa. However, it is still largely mutually intelligible with Dutch. (West) Frisian evolved from the same West Germanic branch as Old English and is less akin to Dutch.

What two-word phrase describes the relationship whereby Dutch and Afrikaans speakers can understand each other?
Output:
mutually intelligible