Problem: The 9th- and 10th-century mosaics of the Hagia Sophia in Constantinople are truly classical Byzantine artworks. The north and south tympana beneath the dome was decorated with figures of prophets, saints and patriarchs. Above the principal door from the narthex we can see an Emperor kneeling before Christ (late 9th or early 10th century). Above the door from the southwest vestibule to the narthex another mosaic shows the Theotokos with Justinian and Constantine. Justinian I is offering the model of the church to Mary while Constantine is holding a model of the city in his hand. Both emperors are beardless this is an example for conscious archaization as contemporary Byzantine rulers were bearded. A mosaic panel on the gallery shows Christ with Constantine Monomachos and Empress Zoe (10421055). The emperor gives a bulging money sack to Christ as a donation for the church.
The tympana under the dome had images of whom displayed?
The answer is the following: prophets, saints and patriarchs

On the other hand, many of the medieval buildings once situated within the town walls are now in ruins or have disappeared altogether. From successive incarnations of the motte and bailey castle, only a section of the bailey wall remains today, lying just off Castle Way. The last remains of the Franciscan friary in Southampton, founded circa 1233 and dissolved in 1538, were swept away in the 1940s. The site is now occupied by Friary House.
The only remaining piece of the motte and bailey castle can be seen near what modern Southampton street?
Castle Way

Input: Qing dynasty
The dynasty lost control of peripheral territories bit by bit. In return for promises of support against the British and the French, the Russian Empire took large chunks of territory in the Northeast in 1860. The period of cooperation between the reformers and the European powers ended with the Tientsin Massacre of 1870, which was incited by the murder of French nuns set off by the belligerence of local French diplomats. Starting with the Cochinchina Campaign in 1858, France expanded control of Indochina. By 1883, France was in full control of the region and had reached the Chinese border. The Sino-French War began with a surprise attack by the French on the Chinese southern fleet at Fuzhou. After that the Chinese declared war on the French. A French invasion of Taiwan was halted and the French were defeated on land in Tonkin at the Battle of Bang Bo. However Japan threatened to enter the war against China due to the Gapsin Coup and China chose to end the war with negotiations. The war ended in 1885 with the Treaty of Tientsin (1885) and the Chinese recognition of the French protectorate in Vietnam.

When was the Tientsin Massacre?
Output: 1870

Input: Article: Slavery and slaves were part of the social order; there were slave markets where they could be bought and sold. Many slaves were freed by the masters for services rendered; some slaves could save money to buy their freedom. Generally, mutilation and murder of slaves was prohibited by legislation. However, Rome did not have a law enforcement arm. All actions were treated as "torts," which were brought by an accuser who was forced to prove the entire case himself. If the accused were a noble and the victim, not a noble, the likelihood of finding for the accused was small. At most, the accused might have to pay a fine for killing a slave. It is estimated that over 25% of the Roman population was enslaved.

Now answer this question: Where in the Roman Republic could slaves be acquired?

Output: slave markets

Article: High levels of precipitation cause the glaciers to descend to permafrost levels in some areas whereas in other, more arid regions, glaciers remain above about the 3,500 m (11,483 ft) level. The 1,817 square kilometres (702 sq mi) of the Alps covered by glaciers in 1876 had shrunk to 1,342 km2 (518 sq mi) by 1973, resulting in decreased river run-off levels. Forty percent of the glaciation in Austria has disappeared since 1850, and 30% of that in Switzerland.

Question: How much of the glaciation in Austria disappeared?
Ans: Forty percent

Input: On the Origin of Species
The Protestant Reformation inspired a literal interpretation of the Bible, with concepts of creation that conflicted with the findings of an emerging science seeking explanations congruent with the mechanical philosophy of Rene Descartes and the empiricism of the Baconian method. After the turmoil of the English Civil War, the Royal Society wanted to show that science did not threaten religious and political stability. John Ray developed an influential natural theology of rational order; in his taxonomy, species were static and fixed, their adaptation and complexity designed by God, and varieties showed minor differences caused by local conditions. In God's benevolent design, carnivores caused mercifully swift death, but the suffering caused by parasitism was a puzzling problem. The biological classification introduced by Carl Linnaeus in 1735 also viewed species as fixed according to the divine plan. In 1766, Georges Buffon suggested that some similar species, such as horses and asses, or lions, tigers, and leopards, might be varieties descended from a common ancestor. The Ussher chronology of the 1650s had calculated creation at 4004 BC, but by the 1780s geologists assumed a much older world. Wernerians thought strata were deposits from shrinking seas, but James Hutton proposed a self-maintaining infinite cycle, anticipating uniformitarianism.

Who proposed that life is a self-maintaining, infinite cycle?
Output:
James Hutton