Input: New York City
The Democratic Party holds the majority of public offices. As of November 2008, 67% of registered voters in the city are Democrats. New York City has not been carried by a Republican in a statewide or presidential election since President Calvin Coolidge won the five boroughs in 1924. In 2012, Democrat Barack Obama became the first presidential candidate of any party to receive more than 80% of the overall vote in New York City, sweeping all five boroughs. Party platforms center on affordable housing, education, and economic development, and labor politics are of importance in the city.

In 2008, what percentage of voters were democrats?
Output: 67


Input: Article: In ancient China, early literature was primarily focused on philosophy, historiography, military science, agriculture, and poetry. China, the origin of modern paper making and woodblock printing, produced one of the world's first print cultures. Much of Chinese literature originates with the Hundred Schools of Thought period that occurred during the Eastern Zhou Dynasty (769-269 BCE). The most important of these include the Classics of Confucianism, of Daoism, of Mohism, of Legalism, as well as works of military science (e.g. Sun Tzu's The Art of War) and Chinese history (e.g. Sima Qian's Records of the Grand Historian). Ancient Chinese literature had a heavy emphasis on historiography, with often very detailed court records. An exemplary piece of narrative history of ancient China was the Zuo Zhuan, which was compiled no later than 389 BCE, and attributed to the blind 5th century BCE historian Zuo Qiuming.

Now answer this question: What classic work of war science originated during this period?

Output: The Art of War


Article: In 941, Igor led another major Rus' attack on Constantinople, probably over trading rights again. A navy of 10,000 vessels, including Pecheneg allies, landed on the Bithynian coast and devastated the Asiatic shore of the Bosphorus. The attack was well-timed, perhaps due to intelligence, as the Byzantine fleet was occupied with the Arabs in the Mediterranean, and the bulk of its army was stationed in the east. The Rus’ burned towns, churches, and monasteries, butchering the people and amassing booty. The emperor arranged for a small group of retired ships to be outfitted with Greek fire throwers and sent them out to meet the Rus’, luring them into surrounding the contingent before unleashing the Greek fire. Liutprand of Cremona wrote that "the Rus', seeing the flames, jumped overboard, preferring water to fire. Some sank, weighed down by the weight of their breastplates and helmets; others caught fire." Those captured were beheaded. The ploy dispelled the Rus’ fleet, but their attacks continued into the hinterland as far as Nicomedia, with many atrocities reported as victims were crucified and set up for use as targets. At last a Byzantine army arrived from the Balkans to drive the Rus' back, and a naval contingent reportedly destroyed much of the Rus' fleet on its return voyage (possibly an exaggeration since the Rus' soon mounted another attack). The outcome indicates increased military might by Byzantium since 911, suggesting a shift in the balance of power.

Question: What year did Igot led a Rus attack on Constantinople?
Ans: 941


Here is a question about this article: In 1 April 2012 by-elections the NLD won 43 of the 45 available seats; previously an illegal organisation, the NLD had never won a Burmese election until this time. The 2012 by-elections were also the first time that international representatives were allowed to monitor the voting process in Myanmar. Following announcement of the by-elections, the Freedom House organisation raised concerns about "reports of fraud and harassment in the lead up to elections, including the March 23 deportation of Somsri Hananuntasuk, executive director of the Asian Network for Free Elections (ANFREL), a regional network of civil society organisations promoting democratization." However, uncertainties exist as some other political prisoners have not been released and clashes between Burmese troops and local insurgent groups continue.
What is the answer to this question: Who raised concerns of fraud in the elections held in the Burma 2012 elections ?
****
So... the Freedom House organisation raised concerns


The problem: Answer a question about this article:
Like other languages, Catalan has a large list of learned words from Greek and Latin. This process started very early, and one can find such examples in Ramon Llull's work. On the fourteenth and fifteenth centuries Catalan had a number of Greco-Latin learned words much superior to other Romance languages, as it can be attested for example in Roís de Corella's writings.
When did Catalan have a greater number of Greco-Latin words than other Romance languages?
****
The answer: fourteenth and fifteenth centuries


The problem: Answer a question about this article:
The year 1789 brought the French Revolution and with it the first division of Alsace into the départements of Haut- and Bas-Rhin. Alsatians played an active role in the French Revolution. On 21 July 1789, after receiving news of the Storming of the Bastille in Paris, a crowd of people stormed the Strasbourg city hall, forcing the city administrators to flee and putting symbolically an end to the feudal system in Alsace. In 1792, Rouget de Lisle composed in Strasbourg the Revolutionary marching song "La Marseillaise" (as Marching song for the Army of the Rhine), which later became the anthem of France. "La Marseillaise" was played for the first time in April of that year in front of the mayor of Strasbourg Philippe-Frédéric de Dietrich. Some of the most famous generals of the French Revolution also came from Alsace, notably Kellermann, the victor of Valmy, Kléber, who led the armies of the French Republic in Vendée and Westermann, who also fought in the Vendée.
Which song was played for the first time in Strasbourg that would later become the French national anthem?
****
The answer:
La Marseillaise