Input: Heian period
The Heian period (, Heian jidai?) is the last division of classical Japanese history, running from 794 to 1185. The period is named after the capital city of Heian-kyo, or modern Kyoto. It is the period in Japanese history when Buddhism, Taoism and other Chinese influences were at their height. The Heian period is also considered the peak of the Japanese imperial court and noted for its art, especially poetry and literature. Although the Imperial House of Japan had power on the surface, the real power was in the hands of the Fujiwara clan, a powerful aristocratic family who had intermarried with the imperial family. Many emperors actually had mothers from the Fujiwara family. Heian (?) means "peace" in Japanese.

What was the name of the prominent clan during the Heian period?
Output: Fujiwara

Input: Cotton
Successful cultivation of cotton requires a long frost-free period, plenty of sunshine, and a moderate rainfall, usually from 600 to 1,200 mm (24 to 47 in). Soils usually need to be fairly heavy, although the level of nutrients does not need to be exceptional. In general, these conditions are met within the seasonally dry tropics and subtropics in the Northern and Southern hemispheres, but a large proportion of the cotton grown today is cultivated in areas with less rainfall that obtain the water from irrigation. Production of the crop for a given year usually starts soon after harvesting the preceding autumn. Cotton is naturally a perennial but is grown as an annual to help control pests. Planting time in spring in the Northern hemisphere varies from the beginning of February to the beginning of June. The area of the United States known as the South Plains is the largest contiguous cotton-growing region in the world. While dryland (non-irrigated) cotton is successfully grown in this region, consistent yields are only produced with heavy reliance on irrigation water drawn from the Ogallala Aquifer. Since cotton is somewhat salt and drought tolerant, this makes it an attractive crop for arid and semiarid regions. As water resources get tighter around the world, economies that rely on it face difficulties and conflict, as well as potential environmental problems. For example, improper cropping and irrigation practices have led to desertification in areas of Uzbekistan, where cotton is a major export. In the days of the Soviet Union, the Aral Sea was tapped for agricultural irrigation, largely of cotton, and now salination is widespread.

What type of tolerances make cotton an ideal crop for semiarid areas?
Output: salt and drought

Input: Nanjing
Instead, Nanjing, as a popular tourist destination, hosts a series of government-organised events throughout the year. The annual International Plum Blossom Festival held in Plum Blossom Hill, the largest plum collection in China, attracts thousands of tourists both domestically and internationally. Other events include Nanjing Baima Peach Blossom and Kite Festival, Jiangxin Zhou Fruit Festival and Linggu Temple Sweet Osmanthus Festival.

What festival involves kites and fruit trees?
Output: Nanjing Baima Peach Blossom and Kite Festival

Input: Rule of law
Rule of law implies that every citizen is subject to the law, including law makers themselves. In this sense, it stands in contrast to an autocracy, dictatorship, or oligarchy where the rulers are held above the law. Lack of the rule of law can be found in both democracies and dictatorships, for example because of neglect or ignorance of the law, and the rule of law is more apt to decay if a government has insufficient corrective mechanisms for restoring it. Government based upon the rule of law is called nomocracy.

According to the rule of law, who must obey the laws?
Output:
every citizen