Input: Portugal
With the occupation by Napoleon, Portugal began a slow but inexorable decline that lasted until the 20th century. This decline was hastened by the independence in 1822 of the country's largest colonial possession, Brazil. In 1807, as Napoleon's army closed in on Lisbon, the Prince Regent João VI of Portugal transferred his court to Brazil and established Rio de Janeiro as the capital of the Portuguese Empire. In 1815, Brazil was declared a Kingdom and the Kingdom of Portugal was united with it, forming a pluricontinental State, the United Kingdom of Portugal, Brazil and the Algarves.

To where did Prince Regent Joao VI of Portugal transfer his court?
Output: Brazil

Input: Railway electrification system
Central station electricity can often be generated with higher efficiency than a mobile engine/generator. While the efficiency of power plant generation and diesel locomotive generation are roughly the same in the nominal regime, diesel motors decrease in efficiency in non-nominal regimes at low power  while if an electric power plant needs to generate less power it will shut down its least efficient generators, thereby increasing efficiency. The electric train can save energy (as compared to diesel) by regenerative braking and by not needing to consume energy by idling as diesel locomotives do when stopped or coasting. However, electric rolling stock may run cooling blowers when stopped or coasting, thus consuming energy.

Which of two can be more efficiently electricified?
Output: Central station

Input: European Central Bank
On 21 December 2011 the bank instituted a programme of making low-interest loans with a term of three years (36 months) and 1% interest to European banks accepting loans from the portfolio of the banks as collateral. Loans totalling €489.2 bn (US$640 bn) were announced. The loans were not offered to European states, but government securities issued by European states would be acceptable collateral as would mortgage-backed securities and other commercial paper that can be demonstrated to be secure. The programme was announced on 8 December 2011 but observers were surprised by the volume of the loans made when it was implemented. Under its LTRO it loaned €489bn to 523 banks for an exceptionally long period of three years at a rate of just one percent. The by far biggest amount of €325bn was tapped by banks in Greece, Ireland, Italy and Spain. This way the ECB tried to make sure that banks have enough cash to pay off €200bn of their own maturing debts in the first three months of 2012, and at the same time keep operating and loaning to businesses so that a credit crunch does not choke off economic growth. It also hoped that banks would use some of the money to buy government bonds, effectively easing the debt crisis.

After the loan program was announced, which countries borrowed the most?
Output: Greece, Ireland, Italy and Spain

Input: Red
The painters of the early Renaissance used two traditional lake pigments, made from mixing dye with either chalk or alum, kermes lake, made from kermes insects, and madder lake, made from the rubia tinctorum plant. With the arrival of cochineal, they had a third, carmine, which made a very fine crimson, though it had a tendency to change color if not used carefully. It was used by almost all the great painters of the 15th and 16th centuries, including Rembrandt, Vermeer, Rubens, Anthony van Dyck, Diego Velázquez and Tintoretto. Later it was used by Thomas Gainsborough, Seurat and J.M.W. Turner.

What was kermes lake made from?
Output:
kermes insects