Definition: In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).
Input: Context: Andalusian Arabic, also known more usually as Andalusi Arabic or Spanish Arabic or Hispano-Arabic, was a variety or were varieties of the Arabic language spoken in Al-Andalus, the regions of the Iberian Peninsula (modern Spain and Portugal) under Muslim rule. It became an extinct language in Iberia after the expulsion of the Moriscos, which took place over a century after the Conquest of Granada by Christian Spain. Andalusi Arabic is still used in Andalusi music and has significantly influenced the dialects of such towns as Sfax in Tunisia, Fez, Rabat, Nedroma, Tlemcen, Blida, Cherchell. It is still used by communities of the descendants of Moriscos (Andalusi Muslims) in cities like Tangiers and Tetouan in Morocco and Testour, Ghar al Milh and Sfax in Tunisia which welcomed Moriscos refugees. It also exerted some influence on Mozarabic, Spanish (particularly Andalusian), Ladino, Catalan, Portuguese, Berber and the Moroccan, Tunisian, Hassani and Algerian Arabic dialects., The Battle of Las Navas de Tolosa, known in Arab history as the Battle of Al-Uqab ( ), took place on 16 July 1212 and was an important turning point in the "Reconquista" and in the medieval history of Spain. The Christian forces of King Alfonso VIII of Castile were joined by the armies of his rivals, Sancho VII of Navarre, Peter II of Aragon and Afonso II of Portugal, in battle against the Berber Almohad Muslim rulers of the southern half of the Iberian Peninsula. The Caliph al-Nasir ("Miramamolín" in the Spanish chronicles) led the Almohad army, made up of people from the whole Almohad empire. Most of the men in the Almohad army came from the African side of the empire., A Muslim is someone who follows or practises Islam, a monotheistic Abrahamic religion. Muslims consider the Quran (Koran), their holy book, to be the verbatim word of God as revealed to the Islamic prophet and messenger Muhammad. They also follow the teachings and practices of Muhammad ("sunnah ") as recorded in traditional accounts ("hadith"). "Muslim" is an Arabic word meaning "one who submits (to God)"., Origins.
"Amir", meaning "Lord" or "commander-in-chief", is derived from the Arabic root "", "command". Originally simply meaning commander-in-chief or leader, usually in reference to a group of people, it came to be used as a title for governors or rulers, usually in smaller states, and in modern Arabic is analogous to the English word "prince". The word entered English in 1593, from the French "émir". It was one of the titles or names of the Islamic prophet Muhammad. , Andorra, officially the Principality of Andorra, also called the Principality of the Valleys of Andorra, is a sovereign landlocked microstate in Southwestern Europe, located in the eastern Pyrenees mountains and bordered by Spain and France. Created under a charter in 988, the present principality was formed in 1278. It is known as a principality as it is a monarchy headed by two Co-Princes the Roman Catholic Bishop of Urgell in Spain, and the President of France., Spain, officially the Kingdom of Spain, is a sovereign state largely located on the Iberian Peninsula in southwestern Europe, with two large archipelagos, the Balearic Islands in the Mediterranean Sea and the Canary Islands off the North African Atlantic coast, two cities Ceuta and Melilla in the North African mainland and several small islands in the Alboran Sea near the Moroccan coast. Its mainland is bordered to the south and east by the Mediterranean Sea except for a small land boundary with Gibraltar; to the north and northeast by France, Andorra, and the Bay of Biscay; and to the west and northwest by Portugal and the Atlantic Ocean. It is the only European country to have a border with an African country (Morocco) and its African territory accounts for nearly 5% of its population, mostly in the Canary Islands but also in Ceuta and Melilla., The Emirate of Granada (trans. "Imarat Gharnah"), also known as the Nasrid Kingdom of Granada, was an emirate established in 1248 following the defeat of Muhammad an-Nasir of the Almohad dynasty by an alliance of Christian kingdoms at the Battle of Las Navas de Tolosa in 1212. After Prince Idris left Iberia to take the Almohad leadership, the ambitious Mohammed I ibn Nasr established the last Muslim dynasty on the Iberian peninsulathe Nasrids. The Nasrid emirs were responsible for building the Alhambra palace complex as it is known today. By 1250, the Emirate was the last part of the Iberian peninsula held by the Muslims. Andalusian Arabic was the official language, and mother tongue of the majority of the population. For two more centuries, the region enjoyed considerable cultural and economic prosperity., France, officially the French Republic, is a country with territory in western Europe and several overseas regions and territories. The European, or metropolitan, area of France extends from the Mediterranean Sea to the English Channel and the North Sea, and from the Rhine to the Atlantic Ocean. Overseas France include French Guiana on the South American continent and several island territories in the Atlantic, Pacific and Indian oceans. France spans and had a total population of almost 67 million people as of January 2017. It is a unitary semi-presidential republic with the capital in Paris, the country's largest city and main cultural and commercial centre. Other major urban centres include Marseille, Lyon, Lille, Nice, Toulouse and Bordeaux., Mohammed I ibn Nasr ("Muammad ibn al-Amar") was a Nasrid ruler of the Emirate of Granada in Al-Andalus on the Iberian Peninsula, and founder of the last Muslim dynasty in Spain in 1238. , An emirate is a political territory that is ruled by a dynastic Islamic monarch styled emir. It also means "principality"., Al-Andalus (trans.   Berber: "Andalus"), also known as Muslim Spain or Islamic Iberia, was a medieval Muslim territory and cultural domain occupying at its peak most of what are today Spain and Portugal. At its greatest geographical extent in the eighth century, southern FranceSeptimaniawas briefly under its control. The name more generally describes parts of the Iberian Peninsula governed by Muslims (given the generic name of Moors) at various times between 711 and 1492, though the boundaries changed constantly as the Christian Reconquista progressed., The Iberian Peninsula , also known as Iberia , is located in the southwest corner of Europe. The peninsula is principally divided between Portugal and Spain, comprising most of their territory. It also includes Andorra and a small part of France along the peninsula's northeastern edge, as well as Gibraltar on its south coast, a small peninsula which forms an overseas territory of the United Kingdom. With an area of approximately , it is the second largest European peninsula, after the Scandinavian., Septimania (  ) was the western region of the Roman province of Gallia Narbonensis that passed under the control of the Visigoths in 462, when Septimania was ceded to their king, Theodoric II. Under the Visigoths it was known as simply Gallia or Narbonensis. It corresponded roughly with the modern French region of Languedoc-Roussillon. It passed briefly to the Emirate of Córdoba in the eighth century before its conquest by the Franks, who by the end of the ninth century termed it Gothia or the Gothic March ("Marca Gothica")., Gibraltar is a British Overseas Territory located on the southern end of the Iberian Peninsula. It has an area of and shares its northern border with Spain. The Rock of Gibraltar is the major landmark of the region. At its foot is a densely populated city area, home to over 30,000 Gibraltarians and other nationalities., The (Spanish and Portuguese for the "reconquest") is the period of history of the Iberian Peninsula spanning approximately 770 years between the Islamic conquest of Hispania in 710 and the fall of the last Islamic state in Iberia at Granada to the expanding Christian kingdoms in 1492. The " ended just before the European discovery of the Americasthe "New World"which ushered in the era of the Portuguese and Spanish colonial empires., The Alhambra ( "Al-amr", lit. "The Red One"), the complete Arabic form of which was "Qalat Al-Hamra", is a palace and fortress complex located in Granada, Andalusia, Spain. It was originally constructed as a small fortress in AD 889 on the remains of Roman fortifications, and then largely ignored until its ruins were renovated and rebuilt in the mid-13th century by the Moorish emir Mohammed ben Al-Ahmar of the Emirate of Granada, who built its current palace and walls. It was converted into a royal palace in 1333 by Yusuf I, Sultan of Granada. After the conclusion of the Christian Reconquista in 1492, the site became the Royal Court of Ferdinand and Isabella (where Christopher Columbus received royal endorsement for his expedition), and the palaces were partially altered to Renaissance tastes. In 1526 Charles I & V commissioned a new Renaissance palace better befitting the Holy Roman Emperor in the revolutionary Mannerist style influenced by Humanist philosophy in direct juxtaposition with the Nasrid Andalusian architecture, but which was ultimately never completed due to Morisco rebellions in Granada., Muhammed VII ( 1370 -- 1408 ) was the twelfth Nasrid ruler of the Moorish Emirate of Granada in Al - Andalus on the Iberian Peninsula . ., The term Moors refers to the Muslim inhabitants of the Maghreb, North Africa, the Iberian Peninsula, Sicily, and Malta during the Middle Ages, who initially were Berber and Arab peoples from North Africa., Subject: muhammed vii, Relation: given_name, Options: (A) ad (B) afonso (C) al (D) amir (E) an (F) ben (G) christian (H) christopher (I) emir (J) era (K) france (L) french (M) home (N) just (O) mohammed (P) muhammad (Q) muslim (R) peter (S) red (T) roman (U) sancho (V) semi (W) sultan (X) theodoric (Y) urban
Output:
muhammad