Input: Somerset
The boundaries of Somerset are largely unaltered from medieval times. The River Avon formed much of the border with Gloucestershire, except that the hundred of Bath Forum, which straddles the Avon, formed part of Somerset. Bristol began as a town on the Gloucestershire side of the Avon, however as it grew it extended across the river into Somerset. In 1373 Edward III proclaimed "that the town of Bristol with its suburbs and precincts shall henceforth be separate from the counties of Gloucester and Somerset... and that it should be a county by itself".

What river forms the border of Somerset
Output: The River Avon formed much of the border with Gloucestershire, except that the hundred of Bath Forum

Input: Energy
The first law of thermodynamics asserts that energy (but not necessarily thermodynamic free energy) is always conserved and that heat flow is a form of energy transfer. For homogeneous systems, with a well-defined temperature and pressure, a commonly used corollary of the first law is that, for a system subject only to pressure forces and heat transfer (e.g., a cylinder-full of gas) without chemical changes, the differential change in the internal energy of the system (with a gain in energy signified by a positive quantity) is given as

What asserts that energy is always conserved and that heat flow is a form of energy transfer.
Output: first law of thermodynamics

Input: Beer
Beer was spread through Europe by Germanic and Celtic tribes as far back as 3000 BC, and it was mainly brewed on a domestic scale. The product that the early Europeans drank might not be recognised as beer by most people today. Alongside the basic starch source, the early European beers might contain fruits, honey, numerous types of plants, spices and other substances such as narcotic herbs. What they did not contain was hops, as that was a later addition, first mentioned in Europe around 822 by a Carolingian Abbot and again in 1067 by Abbess Hildegard of Bingen.

Who was believed to have added hops to beer in 1067?
Output: Abbess Hildegard

Input: Marshall Islands
The Marshall Islands was admitted to the United Nations based on the Security Council's recommendation on August 9, 1991, in Resolution 704 and the General Assembly's approval on September 17, 1991, in Resolution 46/3. In international politics within the United Nations, the Marshall Islands has often voted consistently with the United States with respect to General Assembly resolutions.

What nation does the Marshall Islands vote similarly to in the General Assembly?
Output:
the United States