Input: Mosaic
A striking technical innovation of the Komnenian period was the production of very precious, miniature mosaic icons. In these icons the small tesserae (with sides of 1 mm or less) were set on wax or resin on a wooden panel. These products of extraordinary craftmanship were intended for private devotion. The Louvre Transfiguration is a very fine example from the late 12th century. The miniature mosaic of Christ in the Museo Nazionale at Florence illustrates the more gentle, humanistic conception of Christ which appeared in the 12th century.

What was the intended purpose of the miniature mosaic icons?
Output: private devotion


Input: Article: New York City is situated in the Northeastern United States, in southeastern New York State, approximately halfway between Washington, D.C. and Boston. The location at the mouth of the Hudson River, which feeds into a naturally sheltered harbor and then into the Atlantic Ocean, has helped the city grow in significance as a trading port. Most of New York City is built on the three islands of Long Island, Manhattan, and Staten Island.

Now answer this question: New York City is about half the distance between Washington DC and what city?

Output: Boston


Article: New Haven was home to one of the important early events in the burgeoning anti-slavery movement when, in 1839, the trial of mutineering Mende tribesmen being transported as slaves on the Spanish slaveship Amistad was held in New Haven's United States District Court. There is a statue of Joseph Cinqué, the informal leader of the slaves, beside City Hall. See "Museums" below for more information. Abraham Lincoln delivered a speech on slavery in New Haven in 1860, shortly before he secured the Republican nomination for President.

Question: What famous president made a speech in New Haven in 1860?
Ans: Abraham Lincoln


Here is a question about this article: The city is governed by a mayor and a 9-member city council. In 2006, the city's form of government changed from a council–manager government to a strong mayor government. The change was brought about by a citywide vote in 2004. The mayor is in effect the chief executive officer of the city, while the council is the legislative body. The City of San Diego is responsible for police, public safety, streets, water and sewer service, planning and zoning, and similar services within its borders. San Diego is a sanctuary city, however, San Diego County is a participant of the Secure Communities program. As of 2011[update], the city had one employee for every 137 residents, with a payroll greater than $733 million.
What is the answer to this question: What is the number of members on the city's council?
****
So... 9


The problem: Answer a question about this article:
The Bologna process has been adopted, since 2006, by Portuguese universities and poly-technical institutes. Higher education in state-run educational establishments is provided on a competitive basis, a system of numerus clausus is enforced through a national database on student admissions. However, every higher education institution offers also a number of additional vacant places through other extraordinary admission processes for sportsmen, mature applicants (over 23 years old), international students, foreign students from the Lusosphere, degree owners from other institutions, students from other institutions (academic transfer), former students (readmission), and course change, which are subject to specific standards and regulations set by each institution or course department. Most student costs are supported with public money. However, with the increasing tuition fees a student has to pay to attend a Portuguese state-run higher education institution and the attraction of new types of students (many as part-time students or in evening classes) like employees, businessmen, parents, and pensioners, many departments make a substantial profit from every additional student enrolled in courses, with benefits for the college or university's gross tuition revenue and without loss of educational quality (teacher per student, computer per student, classroom size per student, etc.).
When was the Bologna process adopted?
****
The answer: 2006


The problem: Answer a question about this article:
A referendum was held in neighboring Djibouti (then known as French Somaliland) in 1958, on the eve of Somalia's independence in 1960, to decide whether or not to join the Somali Republic or to remain with France. The referendum turned out in favour of a continued association with France, largely due to a combined yes vote by the sizable Afar ethnic group and resident Europeans. There was also widespread vote rigging, with the French expelling thousands of Somalis before the referendum reached the polls. The majority of those who voted no were Somalis who were strongly in favour of joining a united Somalia, as had been proposed by Mahmoud Harbi, Vice President of the Government Council. Harbi was killed in a plane crash two years later. Djibouti finally gained its independence from France in 1977, and Hassan Gouled Aptidon, a Somali who had campaigned for a yes vote in the referendum of 1958, eventually wound up as Djibouti's first president (1977–1991).
Who was the first president of Djibouti?
****
The answer:
Hassan Gouled Aptidon