Input: Samurai
Originally the Emperor and non-warrior nobility employed these warrior nobles. In time, they amassed enough manpower, resources and political backing in the form of alliances with one another, to establish the first samurai-dominated government. As the power of these regional clans grew, their chief was typically a distant relative of the Emperor and a lesser member of either the Fujiwara, Minamoto, or Taira clans. Though originally sent to provincial areas for a fixed four-year term as a magistrate, the toryo declined to return to the capital when their terms ended, and their sons inherited their positions and continued to lead the clans in putting down rebellions throughout Japan during the middle- and later-Heian period. Because of their rising military and economic power, the warriors ultimately became a new force in the politics of the court. Their involvement in the Hōgen in the late Heian period consolidated their power, and finally pitted the rival Minamoto and Taira clans against each other in the Heiji Rebellion of 1160.

Who fought in the Heiji Rebellion?
Output: the rival Minamoto and Taira clans

Input: Indigenous peoples of the Americas
Aboriginal peoples in Canada comprise the First Nations, Inuit and Métis; the descriptors "Indian" and "Eskimo" are falling into disuse, and other than in neighboring Alaska. "Eskimo" is considered derogatory in many other places because it was given by non-Inuit people and was said to mean "eater of raw meat." Hundreds of Aboriginal nations evolved trade, spiritual and social hierarchies. The Métis culture of mixed blood originated in the mid-17th century when First Nation and native Inuit married European settlers. The Inuit had more limited interaction with European settlers during that early period. Various laws, treaties, and legislation have been enacted between European immigrants and First Nations across Canada. Aboriginal Right to Self-Government provides opportunity to manage historical, cultural, political, health care and economic control aspects within first people's communities.

What is the term Eskimo said to mean?
Output: "eater of raw meat."

Input: Humanism
Early humanists saw no conflict between reason and their Christian faith (see Christian Humanism). They inveighed against the abuses of the Church, but not against the Church itself, much less against religion. For them, the word "secular" carried no connotations of disbelief – that would come later, in the nineteenth century. In the Renaissance to be secular meant simply to be in the world rather than in a monastery. Petrarch frequently admitted that his brother Gherardo's life as a Carthusian monk was superior to his own (although Petrarch himself was in Minor Orders and was employed by the Church all his life). He hoped that he could do some good by winning earthly glory and praising virtue, inferior though that might be to a life devoted solely to prayer. By embracing a non-theistic philosophic base, however, the methods of the humanists, combined with their eloquence, would ultimately have a corrosive effect on established authority.

Petrarch felt that although he tried to do his own form of good whose life may have more meaning?
Output: Gherardo

Input: Han dynasty
Even before Han's expansion into Central Asia, diplomat Zhang Qian's travels from 139 to 125 BC had established Chinese contacts with many surrounding civilizations. Zhang encountered Dayuan (Fergana), Kangju (Sogdiana), and Daxia (Bactria, formerly the Greco-Bactrian Kingdom); he also gathered information on Shendu (Indus River valley of North India) and Anxi (the Parthian Empire). All of these countries eventually received Han embassies. These connections marked the beginning of the Silk Road trade network that extended to the Roman Empire, bringing Han items like silk to Rome and Roman goods such as glasswares to China.

What empire had established an embassy in Anxi?
Output:
Han