Input: Ottoman Empire
During his brief majority reign, Murad IV (16121640) reasserted central authority and recaptured Iraq (1639) from the Safavids. The resulting Treaty of Zuhab of that same year decisively parted the Caucasus and adjacent regions between the two neighbouring empires as it had already been defined in the 1555 Peace of Amasya. The Sultanate of women (16481656) was a period in which the mothers of young sultans exercised power on behalf of their sons. The most prominent women of this period were Kosem Sultan and her daughter-in-law Turhan Hatice, whose political rivalry culminated in Kosem's murder in 1651. During the Koprulu Era (16561703), effective control of the Empire was exercised by a sequence of Grand Viziers from the Koprulu family. The Koprulu Vizierate saw renewed military success with authority restored in Transylvania, the conquest of Crete completed in 1669, and expansion into Polish southern Ukraine, with the strongholds of Khotyn and Kamianets-Podilskyi and the territory of Podolia ceding to Ottoman control in 1676.

What years define the Koprulu Era?
Output: 16561703

Input: Alfred North Whitehead
The ultimate substantive legacy of Principia Mathematica is mixed. It is generally accepted that Kurt Godel's incompleteness theorem of 1931 definitively demonstrated that for any set of axioms and inference rules proposed to encapsulate mathematics, there would in fact be some truths of mathematics which could not be deduced from them, and hence that Principia Mathematica could never achieve its aims. However, Godel could not have come to this conclusion without Whitehead and Russell's book. In this way, Principia Mathematica's legacy might be described as its key role in disproving the possibility of achieving its own stated goals. But beyond this somewhat ironic legacy, the book popularized modern mathematical logic and drew important connections between logic, epistemology, and metaphysics.

Godel couldn't have come to his conclusion without what book?
Output: Principia Mathematica

Input: Treaty
The terminology can also be confusing because a treaty may and usually is named something other than a treaty, such as a convention, protocol, or simply agreement. Conversely some legal documents such as the Treaty of Waitangi are internationally considered to be documents under domestic law.

Convention, protocol, and agreement are examples of examples of different kinds of what that can create confusion about a treaty?
Output: terminology

Input: Pub
In 1393 King Richard II compelled landlords to erect signs outside their premises. The legislation stated "Whosoever shall brew ale in the town with intention of selling it must hang out a sign, otherwise he shall forfeit his ale." This was to make alehouses easily visible to passing inspectors, borough ale tasters, who would decide the quality of the ale they provided. William Shakespeare's father, John Shakespeare, was one such inspector.

What was John Shakespeare's profession?
Output:
inspectors