Input: Middle Ages
Charlemagne planned to continue the Frankish tradition of dividing his kingdom between all his heirs, but was unable to do so as only one son, Louis the Pious (r. 814840), was still alive by 813. Just before Charlemagne died in 814, he crowned Louis as his successor. Louis's reign of 26 years was marked by numerous divisions of the empire among his sons and, after 829, civil wars between various alliances of father and sons over the control of various parts of the empire. Eventually, Louis recognised his eldest son Lothair I (d. 855) as emperor and gave him Italy. Louis divided the rest of the empire between Lothair and Charles the Bald (d. 877), his youngest son. Lothair took East Francia, comprising both banks of the Rhine and eastwards, leaving Charles West Francia with the empire to the west of the Rhineland and the Alps. Louis the German (d. 876), the middle child, who had been rebellious to the last, was allowed to keep Bavaria under the suzerainty of his elder brother. The division was disputed. Pepin II of Aquitaine (d. after 864), the emperor's grandson, rebelled in a contest for Aquitaine, while Louis the German tried to annex all of East Francia. Louis the Pious died in 840, with the empire still in chaos.

When did the reign of Louis the Pious end?
Output: 840

Input: Article: Developed countries have people with more resources (housing, food, transportation, water and sewage treatment, hospitals, health care, libraries, books, media, schools, the internet, education, etc.) than most of the world's population. One merely needs to see through travel or the media how many people in the undeveloped countries live to sense this. However, one can also use economic data to gain some insight into this. Yet criticism and blame are common among people in the developed countries.

Now answer this question: What is common in developed countries?

Output: criticism and blame

Article: As in many other countries, child labour in Switzerland affected among the so-called Kaminfegerkinder ("chimney sweep children") and chidren working p.e. in spinning mills, factories and in agriculture in 19th-century Switzerland, but also to the 1960s so-called Verdingkinder (literally: "contract children" or "indentured child laborers") were children who were taken from their parents, often due to poverty or moral reasons usually mothers being unmarried, very poor citizens, of GypsyYeniche origin, so-called Kinder der Landstrasse, etc. and sent to live with new families, often poor farmers who needed cheap labour.

Question: Where did the children go to work primarily in Switzerland?
Ans: poor farmers who needed cheap labour

Here is a question about this article: However, Eritrea still faces many challenges. Despite number of physicians increasing from only 0.2 in 1993 to 0.5 in 2004 per 1000 population, this is still very low. Malaria and tuberculosis are common in Eritrea. HIV prevalence among the 1549 group exceeds 2%. The fertility rate is at about 5 births per woman. Maternal mortality dropped by more than half from 1995 to 2002, although the figure is still high. Similarly, between 1995 and 2002, the number of births attended by skilled health personnel has doubled but still is only 28.3%. A major cause of death in neonates is by severe infection. Per capita expenditure on health is low in Eritrea.
What is the answer to this question: How prevalent is HIV among the 15-49 age group in Eritrea?
****
So... exceeds 2%

The problem: Answer a question about this article:
Although the eastern image of farm life in the prairies emphasized the isolation of the lonely farmer and wife, plains residents created busy social lives for themselves. They often sponsored activities that combined work, food and entertainment such as barn raisings, corn huskings, quilting bees, Grange meetings, church activities and school functions. Women organized shared meals and potluck events, as well as extended visits between families. The Grange was a nationwide farmers' organization, they reserved high offices for women, and gave them a voice in public affairs.
who usually organized shared meals and potluck events?
****
The answer: Women

The problem: Answer a question about this article:
Domestically, Barcelona has won 23 La Liga, 27 Copa del Rey, 11 Supercopa de Espana, 3 Copa Eva Duarte and 2 Copa de la Liga trophies, as well as being the record holder for the latter four competitions. In international club football, Barcelona has won five UEFA Champions League titles, a record four UEFA Cup Winners' Cup, a shared record five UEFA Super Cup, a record three Inter-Cities Fairs Cup and a record three FIFA Club World Cup trophies. Barcelona was ranked first in the IFFHS Club World Ranking for 1997, 2009, 2011, 2012 and 2015 and currently occupies the second position on the UEFA club rankings. The club has a long-standing rivalry with Real Madrid; matches between the two teams are referred to as El Clasico.
How many Inter-Cities Fairs Cup trophies has Barcelona won?
****
The answer:
three