Input: Sino-Tibetan relations during the Ming dynasty
The Zhengde Emperor (r. 15051521), who enjoyed the company of lamas at court despite protests from the censorate, had heard tales of a "living Buddha" which he desired to host at the Ming capital; this was none other than the Rinpung-supported Mikyo Dorje, 8th Karmapa Lama then occupying Lhasa. Zhengde's top advisors made every attempt to dissuade him from inviting this lama to court, arguing that Tibetan Buddhism was wildly heterodox and unorthodox. Despite protests by the Grand Secretary Liang Chu, in 1515 the Zhengde Emperor sent his eunuch official Liu Yun of the Palace Chancellery on a mission to invite this Karmapa to Beijing. Liu commanded a fleet of hundreds of ships requisitioned along the Yangtze, consuming 2,835 g (100 oz) of silver a day in food expenses while stationed for a year in Chengdu of Sichuan. After procurring necessary gifts for the mission, he departed with a cavalry force of about 1,000 troops. When the request was delivered, the Karmapa lama refused to leave Tibet despite the Ming force brought to coerce him. The Karmapa launched a surprise ambush on Liu Yun's camp, seizing all the goods and valuables while killing or wounding half of Liu Yun's entire escort. After this fiasco, Liu fled for his life, but only returned to Chengdu several years later to find that the Zhengde Emperor had died.

Who's company did the Zhengde Emperor enjoy?
Output: the company of lamas

Input: Article: The World Economic Forum's Global Competitiveness Report currently ranks Switzerland's economy as the most competitive in the world, while ranked by the European Union as Europe's most innovative country. For much of the 20th century, Switzerland was the wealthiest country in Europe by a considerable margin (by GDP per capita). In 2007 the gross median household income in Switzerland was an estimated 137,094 USD at Purchasing power parity while the median income was 95,824 USD. Switzerland also has one of the world's largest account balances as a percentage of GDP.

Now answer this question: What was Switzerland's median income in 2007?

Output: 95,824 USD

Article: There are several invertebrate species whose brains have been studied intensively because they have properties that make them convenient for experimental work:

Question: Which brains are easier to work on, vertebrates or invertebrates?
Ans: invertebrate

Here is a question about this article: Only a few towns in western Libyasuch as Bani Walid, Sebha and Sirteremained Gaddafist strongholds. Retreating to Sirte after Tripoli's fall, Gaddafi announced his willingness to negotiate for a handover to a transitional government, a suggestion rejected by the NTC. Surrounding himself with bodyguards, he continually moved residences to escape NTC shelling, devoting his days to prayer and reading the Qur'an. On 20 October, Gaddafi broke out of Sirte's District 2 in a joint civilian-military convoy, hoping to take refuge in the Jarref Valley. At around 8.30am, NATO bombers attacked, destroying at least 14 vehicles and killing at least 53. The convoy scattered, and Gaddafi and those closest to him fled to a nearby villa, which was shelled by rebel militia from Misrata. Fleeing to a construction site, Gaddafi and his inner cohort hid inside drainage pipes while his bodyguards battled the rebels; in the conflict, Gaddafi suffered head injuries from a grenade blast while defence minister Abu-Bakr Yunis Jabr was killed.
What is the answer to this question: About how many people were killed in the October 20 bombing of Gaddafi's convoy?
****
So... 53

The problem: Answer a question about this article:
Theravada ("Doctrine of the Elders", or "Ancient Doctrine") is the oldest surviving Buddhist school. It is relatively conservative, and generally closest to early Buddhism. The name Theravada comes from the ancestral Sthaviriya, one of the early Buddhist schools, from which the Theravadins claim descent. After unsuccessfully trying to modify the Vinaya, a small group of "elderly members", i.e. sthaviras, broke away from the majority Mahasamghika during the Second Buddhist council, giving rise to the Sthavira sect. Sinhalese Buddhist reformers in the late nineteenth and early twentieth centuries portrayed the Pali Canon as the original version of scripture. They also emphasized Theravada being rational and scientific.
Sinhalese buddhist reformer portrayed what Canon as the original version of scripture?
****
The answer: Pali Canon

The problem: Answer a question about this article:
Bowers confronted a similar problem in his edition of Maggie. Crane originally printed the novel privately in 1893. To secure commercial publication in 1896, Crane agreed to remove profanity, but he also made stylistic revisions. Bowers's approach was to preserve the stylistic and literary changes of 1896, but to revert to the 1893 readings where he believed that Crane was fulfilling the publisher's intention rather than his own. There were, however, intermediate cases that could reasonably have been attributed to either intention, and some of Bowers's choices came under fire both as to his judgment, and as to the wisdom of conflating readings from the two different versions of Maggie.
When was Maggie first published?
****
The answer:
1893