Input: Gramophone record
Lateral-cut disc records were developed in the United States by Emile Berliner, who named his system the "gramophone", distinguishing it from Edison's wax cylinder "phonograph" and Columbia's wax cylinder "graphophone". Berliner's earliest discs, first marketed in 1889, but only in Europe, were 5 inches (13 cm) in diameter, and were played with a small hand-propelled machine. Both the records and the machine were adequate only for use as a toy or curiosity, due to the limited sound quality. In the United States in 1894, under the Berliner Gramophone trademark, Berliner started marketing records with somewhat more substantial entertainment value, along with somewhat more substantial gramophones to play them. Berliner's records had poor sound quality compared to wax cylinders, but his manufacturing associate Eldridge R. Johnson eventually improved the sound quality. Abandoning Berliner's "Gramophone" trademark for legal reasons, in 1901 Johnson's and Berliner's separate companies reorganized to form the Victor Talking Machine Company, whose products would come to dominate the market for many years. Emile Berliner moved his company to Montreal in 1900. The factory which became RCA Victor stills exists. There is a dedicated museum in Montreal for Berliner.

What is the name of lateral cut disc records?
Output: gramophone

Input: Pub
The London Gazette of 17 March 1691 published a patent in favour of John Lofting for a fire engine, but remarked upon and recommended another invention of his, for a beer pump:

In what newspaper did John Lofting mention his beer pump?
Output: London Gazette

Input: Qing dynasty
This was followed by the creation of the first two Han Banners in 1637 (increasing to eight in 1642). Together these military reforms enabled Hong Taiji to resoundingly defeat Ming forces in a series of battles from 1640 to 1642 for the territories of Songshan and Jinzhou. This final victory resulted in the surrender of many of the Ming dynasty's most battle-hardened troops, the death of Yuan Chonghuan at the hands of the Chongzhen Emperor (who thought Yuan had betrayed him), and the complete and permanent withdrawal of the remaining Ming forces north of the Great Wall.

Which leader defeated the Ming armies?
Output: Hong Taiji

Input: Modern history
In the Pre-Modern era, many people's sense of self and purpose was often expressed via a faith in some form of deity, be that in a single God or in many gods. Pre-modern cultures have not been thought of creating a sense of distinct individuality, though. Religious officials, who often held positions of power, were the spiritual intermediaries to the common person. It was only through these intermediaries that the general masses had access to the divine. Tradition was sacred to ancient cultures and was unchanging and the social order of ceremony and morals in a culture could be strictly enforced.

Peoples sense of worth was expressed through what in the Pre-modern era?
Output:
via a faith in some form of deity