Input: Pub
Many of London's pubs are known to have been used by famous people, but in some cases, such as the association between Samuel Johnson and Ye Olde Cheshire Cheese, this is speculative, based on little more than the fact that the person is known to have lived nearby. However, Charles Dickens is known to have visited the Cheshire Cheese, the Prospect of Whitby, Ye Olde Cock Tavern and many others. Samuel Pepys is also associated with the Prospect of Whitby and the Cock Tavern.

Along with the Prospect of Whitby and the Cheshire Cheese, what pub did Dickens visit?
Output: Ye Olde Cock Tavern

Input: Russian Soviet Federative Socialist Republic
On January 25, 1918 the third meeting of the All-Russian Congress of Soviets renamed the unrecognized state the Soviet Russian Republic. The Treaty of Brest-Litovsk was signed on March 3, 1918, giving away much of the land of the former Russian Empire to Germany in exchange for peace during the rest of World War I. On July 10, 1918, the Russian Constitution of 1918 renamed the country the Russian Socialist Federative Soviet Republic. By 1918, during the Russian Civil War, several states within the former Russian Empire seceded, reducing the size of the country even more.

What document renamed the state the Russian Socialist Federative Soviet Republic?
Output: Russian Constitution of 1918

Input: Prime minister
By the late 20th century, the majority of the world's countries had a prime minister or equivalent minister, holding office under either a constitutional monarchy or a ceremonial president. The main exceptions to this system have been the United States and the presidential republics in Latin America modelled on the U.S. system, in which the president directly exercises executive authority.

In the U.S. and governments modeled on it, who holds executive power?
Output: president

Input: Light-emitting diode
Machine vision systems often require bright and homogeneous illumination, so features of interest are easier to process. LEDs are often used for this purpose, and this is likely to remain one of their major uses until the price drops low enough to make signaling and illumination uses more widespread. Barcode scanners are the most common example of machine vision, and many low cost products use red LEDs instead of lasers. Optical computer mice are an example of LEDs in machine vision, as it is used to provide an even light source on the surface for the miniature camera within the mouse. LEDs constitute a nearly ideal light source for machine vision systems for several reasons:

LEDs are often used for what type of systems?
Output:
Machine vision