TASK DEFINITION: In this task, you're given a passage, further information available on a particular linked term from the statement, and a question. Your job is to generate the answer to the question by using the information provided. If there is no clear answer obtainable, output 'none'.
PROBLEM: Passage: Glemp died from lung cancer on 23 January 2013 in Warsaw at the age of 83. Funeral celebrations lasted three days, from 26 to 28 January 2013, and took place in three major churches of Warsaw. On Saturday, 26 January, the cardinal's body was lying in state in the Visitationist Church. On Sunday, the coffin was moved to the Church of the Holy Cross, where a Holy Mass was celebrated by Archbishop Celestino Migliore, the apostolic nuncio to Poland, with the sermon preached by Archbishop Józef Michalik, the head of the Polish Conference of Bishops. After the mass, a funeral procession took the coffin to St. John's Cathedral. The Monday, 28 January 2013 Funeral Mass was attended by president Bronisław Komorowski and his wife Anna, former president Lech Wałęsa, former prime minister Tadeusz Mazowiecki, representatives from the judiciary, the Senate, and the Sejm, and other high-ranking officials from various institutions. Over a hundred prelates from Poland and abroad (among them, Prague's Cardinal Dominik Duka, Budapest's Cardinal Peter Erdo, Barcelona's Cardinal Lluis Martinez Sistach, Cologne's Cardinal Joachim Meisner, and Zagreb's Cardinal Josip Bozanić) concelebrated, with Cardinal Stanisław Dziwisz, the Archbishop of Kraków, presiding. The homily was given by the Archbishop of Gniezno, Józef Kowalczyk, the incumbent Primate of Poland. Afterwards, the late primate was entombed in a crypt of the Cathedral.
 Link Information: its construction was begun in 1664 and completed in 1761 Question: How old is the church that Glemp's body was lying in state at when he died?

SOLUTION: Answer: 259

PROBLEM: Passage: While serving as president of Osh State University, Beshimov became increasingly outspoken in his criticism towards then president Askar Akayev. Effective reforms of Osh State University gained him large popularity among the students. Students therefore protested, when Beshimov's political activity caused him to be fired. That same year Beshimov ran for a newly opened parliamentary spot from a district in Osh, and won a landslide victory. Beshimov became a prominent opposition leader. There were numerous attempts to assassinate and throw him in jail by the Akayev regime. Beshimov played a major role in negotiations with Askar Akayev on succeeding certain roles to the opposition. Under the agreement reached in the year 2000, Beshimov was appointed as Kyrgyzstan's ambassador to India with concurrent accreditation to Bangladesh, Nepal and Sri Lanka. Following the Tulip Revolution Beshimov returned to Kyrgyzstan to serve as vice-president of American University of Central Asia. Beshimov was a big supporter of and believer in the Tulip Revolution. After the new government followed short of promises made during the Tulip Revolution, and started reverting the course back to dictatorial rule, Beshimov re-engaged in politics, going into opposition against Kurmanbek Bakiyev. In December 2007 he was elected to Kyrgyzstan's Parliament, the Supreme Council, on the candidate list of the Social Democratic Party of Kyrgyzstan. He is the leader of the opposition fraction in the Kyrgyz Parliament.
 Link Information: Askar Akayevich Akayev (Kyrgyz: Аскар Акаевич Акаев, Asqar Aqayeviç Aqayev) (born 10 November 1944) is a Kyrgyz politician who served as President of Kyrgyzstan from 1990 until his overthrow in the March 2005 Tulip Revolution. Question: At what age did Akayev become president?

SOLUTION: Answer: 46

PROBLEM: Passage: Born in Braintree, Massachusetts, Adams spent much of his youth in Europe, where his father served as a diplomat. After returning to the United States, Adams established a successful legal practice in Boston. In 1794, President George Washington appointed Adams as the U.S. ambassador to the Netherlands, and Adams would serve in high-ranking diplomatic posts until 1801, when Thomas Jefferson took office as president. Federalist leaders in Massachusetts arranged for Adams's election to the United States Senate in 1802, but Adams broke with the Federalist Party over foreign policy and was denied re-election. In 1809, Adams was appointed as the U.S. ambassador to Russia by President James Madison, a member of the Democratic-Republican Party. Adams held diplomatic posts for the duration of Madison's presidency, and he served as part of the American delegation that negotiated an end to the War of 1812. In 1817, newly-elected President James Monroe selected Adams as his Secretary of State. In that role, Adams negotiated the Adams–Onís Treaty, which provided for the American acquisition of Florida. He also helped formulate the Monroe Doctrine, which became a key tenet of U.S. foreign policy.
 Link Information: The Adams–Onís Treaty () of 1819 Question: In what year was the Adams-Onis Treaty signed?

SOLUTION:
Answer: 1819