Input: 2008 Sichuan earthquake
In terms of school casualties, thousands of school children died due to shoddy construction. In Mianyang City, seven schools collapsed, burying at least 1,700 people. At least 7,000 school buildings throughout the province collapsed. Another 700 students were buried in a school in Hanwang. At least 600 students and staff died at Juyuan Elementary School. Up to 1,300 children and teachers died at Beichuan Middle School.

How many school children died due to shoddy construction?
Output: thousands

Input: Szlachta
Poland's nobility were also more numerous than those of all other European countries, constituting some 1012% of the total population of historic PolishLithuanian Commonwealth also some 1012% among ethnic Poles on ethnic Polish lands (part of Commonwealth), but up to 25% of all Poles worldwide (szlachta could dispose more of resources to travels and/or conquering), while in some poorer regions (e.g., Mazowsze, the area centred on Warsaw) nearly 30%. However, according to szlachta comprised around 8% of the total population in 1791 (up from 6.6% in the 16th century), and no more than 16% of the Roman Catholic (mostly ethnically Polish) population. It should be noted, though, that Polish szlachta usually incorporated most local nobility from the areas that were absorbed by PolandLithuania (Ruthenian boyars, Livonian nobles, etc.) By contrast, the nobilities of other European countries, except for Spain, amounted to a mere 13%, however the era of sovereign rules of Polish nobility ended earlier than in other countries (excluding France) yet in 1795 (see: Partitions of Poland), since then their legitimation and future fate depended on legislature and procedures of Russian Empire, Kingdom of Prussia or Habsburg Monarchy. Gradually their privileges were under further limitations to be completely dissolved by March Constitution of Poland in 1921.

Polish szlachta usually incorporated who?
Output: most local nobility from the areas that were absorbed by PolandLithuania

Input: Hellenistic period
Scholars and historians are divided as to what event signals the end of the Hellenistic era. The Hellenistic period may be seen to end either with the final conquest of the Greek heartlands by Rome in 146 BC following the Achean War, with the final defeat of the Ptolemaic Kingdom at the Battle of Actium in 31 BC, or even the move by Roman emperor Constantine the Great of the capital of the Roman Empire to Constantinople in 330 AD. "Hellenistic" is distinguished from "Hellenic" in that the first encompasses the entire sphere of direct ancient Greek influence, while the latter refers to Greece itself.

When did the capital of the Roman Empire move to Constantinople?
Output: 330 AD

Input: Pub
The 18th century saw a huge growth in the number of drinking establishments, primarily due to the introduction of gin. Gin was brought to England by the Dutch after the Glorious Revolution of 1688 and became very popular after the government created a market for "cuckoo grain" or "cuckoo malt" that was unfit to be used in brewing and distilling by allowing unlicensed gin and beer production, while imposing a heavy duty on all imported spirits. As thousands of gin-shops sprang up all over England, brewers fought back by increasing the number of alehouses. By 1740 the production of gin had increased to six times that of beer and because of its cheapness it became popular with the poor, leading to the so-called Gin Craze. Over half of the 15,000 drinking establishments in London were gin shops.

After what political upheaval was gin introduced to England?
Output:
the Glorious Revolution