Input: Valencia
The city remained in the hands of Christian troops until 1102, when the Almoravids retook the city and restored the Muslim religion. Although the self-styled 'Emperor of All Spain', Alfonso VI of León and Castile, drove them from the city, he was not strong enough to hold it. The Christians set it afire before abandoning it, and the Almoravid Masdali took possession on 5 May 1109. The event was commemorated in a poem by Ibn Khafaja in which he thanked Yusuf ibn Tashfin for the city's liberation.The declining power of the Almoravids coincided with the rise of a new dynasty in North Africa, the Almohads, who seized control of the peninsula from the year 1145, although their entry into Valencia was deterred by Ibn Mardanis, King of Valencia and Murcia until 1171, at which time the city finally fell to the North Africans. The two Muslim dynasties would rule Valencia for more than a century.

Who called himself the Emperor of All Spain?
Output: Alfonso VI of León and Castile

Input: Somalis
Somali art is the artistic culture of the Somali people, both historic and contemporary. These include artistic traditions in pottery, music, architecture, wood carving and other genres. Somali art is characterized by its aniconism, partly as a result of the vestigial influence of the pre-Islamic mythology of the Somalis coupled with their ubiquitous Muslim beliefs. However, there have been cases in the past of artistic depictions representing living creatures, such as certain ancient rock paintings in northern Somalia, the golden birds on the Mogadishan canopies, and the plant decorations on religious tombs in southern Somalia. More typically, intricate patterns and geometric designs, bold colors and monumental architecture were the norm.

In what area of Somalia can one find the tombs decorated with plants?
Output: southern

Input: Near East
Resorting to this verbal device, however, did not protect the "Ancient Near East" from the inroads of "the Middle East." For example, a high point in the use of "Ancient Near East" was for Biblical scholars the Ancient Near Eastern Texts relating to the Old Testament by James Bennett Pritchard, a textbook of first edition dated 1950. The last great book written by Leonard Woolley, British archaeologist, excavator of ancient Ur and associate of T.E. Lawrence and Arthur Evans, was The Art of the Middle East, Including Persia, Mesopotamia and Palestine, published in 1961. Woolley had completed it in 1960 two weeks before his death. The geographical ranges in each case are identical.

James Bennett Pritchard wrote what?
Output: Texts relating to the Old Testament

Input: YouTube
YouTube is a global video-sharing website headquartered in San Bruno, California, United States. The service was created by three former PayPal employees in February 2005. In November 2006, it was bought by Google for US$1.65 billion. YouTube now operates as one of Google's subsidiaries. The site allows users to upload, view, rate, share, and comment on videos, and it makes use of WebM, H.264/MPEG-4 AVC, and Adobe Flash Video technology to display a wide variety of user-generated and corporate media video. Available content includes video clips, TV clips, music videos, movie trailers, and other content such as video blogging, short original videos, and educational videos.

How much did Google pay for Youtube in 2006?
Output:
US$1.65 billion