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).

[Q]: Context: 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., 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., 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., 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)"., Ibn al - Abbar , in full Abu Abd Allah Muhammad Ibn al - Abbar ( 1199 -- 1260 ) was a well - known poet , diplomat , theologian and scholar from al - Andalus and perhaps the most famous man of letters produced by the city of Valencia during the Middle Ages . Ibn al - Abbar was born in Valencia , and began his official career as a secretary to the Muslim governor of the Emirate of Balansiya . Well - known is the qasida which he wrote as ambassador of the Hafsid governor of Valencia to the Tunisian sultan asking for help against the forces of king James and the elegy he wrote after the fall of the city ( September 1238 ) . He then settled in Tunisia . Later he fell in disgrace and was burnt at the stake because of his writings . He died in Béjaïa . His works that remain ( La Tunica recamada and Complemento al libro del regalo ) are of great importance for the understanding of the history and the culture of his period ., Portugal (Portuguese: ), officially the Portuguese Republic (Portuguese: ), is a country on the Iberian Peninsula in Southwestern Europe. It is the westernmost country of mainland Europe. To the west and south it is bordered by the Atlantic Ocean and to the east and north by Spain. The PortugalSpain border is long and considered the longest uninterrupted border within the European Union. The republic also includes the Atlantic archipelagos of the Azores and Madeira, both autonomous regions with their own regional governments., 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")., Subject: ibn al-abbar, Relation: languages_spoken_or_written, Options: (A) arabic (B) french (C) portugal (D) portuguese (E) spain (F) spanish
[A]: arabic


[Q]: Context: Abbot, meaning father, is an ecclesiastical title given to the male head of a monastery in various traditions, including Christianity. The office may also be given as an honorary title to a clergyman who is not actually the head of a monastery. The female equivalent is abbess., George Durie (Dury confused by Watt & Shead with Drury) (died 1577), abbot of Dunfermline and archdeacon of St Andrews, son of John Durie of Durie in the county of Fife, and brother to Andrew Durie, bishop of Galloway, was born about 1496. From 1527 till 1530 he acted as judge and executor of the monastery of Arbroath. During this same period he assumed the title of abbot of Dunfermline, and discharged some of the duties of that office under the direction of his uncle, Archbishop James Beaton, the actual titular, on whose death in 1539 he was promoted by James V to the full dignity of the office., St Andrews  is a town on the east coast of Fife in Scotland, 10 miles (16 km) southeast of Dundee and 30 miles (50 km) northeast of Edinburgh. The town is home to the University of St Andrews, the third oldest university in the English-speaking world and the oldest in Scotland. According to some rankings, it is ranked as the third best university in the United Kingdom, behind Oxbridge. The University is an integral part of the burgh and during term time students make up approximately one third of the town's population. St Andrews has a population of 16,800 (in 2012)., The Firth of Forth is the estuary (firth) of the River Forth in Scotland, where it flows into the North Sea, between Fife to the north and Lothian to the south. It was known as "Bodotria" in Roman times. In the Norse sagas it was known as the "Myrkvifiörd"., Fife is a council area and historic county of Scotland. It is situated between the Firth of Tay and the Firth of Forth, with inland boundaries to Perth and Kinross and Clackmannanshire. By custom it is widely held to have been one of the major Pictish kingdoms, known as "Fib", and is still commonly known as the Kingdom of Fife within Scotland., Clackmannanshire (or ) is a historic county and council area in Scotland, bordering the council areas of Stirling, Fife and Perth & Kinross., St Mary's Abbey, Melrose is a partly ruined monastery of the Cistercian order in Melrose, Roxburghshire, in the Scottish Borders. It was founded in 1136 by Cistercian monks at the request of King David I of Scotland, and was the chief house of that order in the country until the Reformation. It was headed by the Abbot or Commendator of Melrose. Today the abbey is maintained by Historic Scotland., Dunfermline is a town and former Royal Burgh, and parish, in Fife, Scotland, on high ground from the northern shore of the Firth of Forth. The 2011 census recorded the town's population at 49,706, however figures released in 2012 estimate Dunfermline's population as 50,380, making it the largest locality in Fife and the tenth largest in Scotland., Dunfermline Abbey is a Church of Scotland Parish Church located in Dunfermline, Fife, Scotland. The minister (since 2012) is the Reverend MaryAnn R. Rennie. The church occupies the site of the ancient chancel and transepts of a large medieval Benedictine abbey, which was sacked in 1560 during the Scottish Reformation and permitted to fall into disrepair. Part of the old abbey church continued in use at that time and some parts of the abbey infrastructure still remain to this day. Dunfermline Abbey is one of Scotland's most important cultural sites., Perth and Kinross is one of the 32 council areas of Scotland and a Lieutenancy Area. It borders onto the Aberdeenshire, Angus, Argyll and Bute, Clackmannanshire, Dundee, Fife, Highland and Stirling council areas. Perth is the administrative centre. The council boundaries correspond broadly, but not exactly, with the former counties of Perthshire and Kinross-shire., Andrew Durie ( died 1558 ) , bishop of Galloway and abbot of Melrose , was the son of John Durie of Durie in Fife , and brother to George Durie , abbot of Dunfermline and archdeacon of St. Andrews ., The Abbot and then Commendator of Melrose was the head of the monastic community of Melrose Abbey, in Melrose in the Borders region of Scotland. The abbots of the earlier Northumbrian foundation from Lindisfarne are not included here. The second abbey was founded in 1136 on the patronage of David I ("Dabíd mac Maíl Choluim"), King of Scots, by Cistercian monks from Rievaulx Abbey, Yorkshire. Control of the abbey was secularized in the 16th century and after the accession of James Stewart, the abbey was held by commendators. The last commendator, James Douglas of Lochleven, resigned the abbacy to William Douglas, 6th Earl of Morton (his nephew) in December 1606, and the abbey itself to the king in 1608. The abbey (or most of its lands) was then erected into a secular lordship for viscount Haddington, John Ramsay, who in 1609 was created "Lord Melrose". Lochleven however resumed the title of commendator in 1613 until his death in 1620., The Firth of Tay (Scottish Gaelic: Linne Tatha) is a firth in Scotland between the council areas of Fife, Perth and Kinross, the City of Dundee and Angus, into which Scotland's largest river in terms of flow, the River Tay empties. The firth has a maximum width of at Invergowrie., The Prior, then Abbot and then Commendator of Dunfermline was the head of the Benedictine monastic community of Dunfermline Abbey, Fife, Scotland. The abbey itself was founded in 1128 by King David I of Scotland, but was of earlier origin. King Máel Coluim mac Donnchada ("Malcolm III") had founded a church there with the help of Benedictines from Canterbury. Monks had been sent there in the reign of Étgar mac Maíl Choluim (Edgar, 10971107) and Anselm had sent a letter requesting that Étgar's brother and successor King Alaxandair mac Maíl Coluim (Alexander I, 11071124) protect these monks. By 1120, when Alaxandair sent a delegation to Canterbury to secure Eadmer for the bishopric of St Andrews, there is a Prior of the Dunfermline monks by the name of Peter leading the delegation. Control of the abbey was secularized in the 16th century and after the accession of James Stewart in 1500, the abbey was held by commendators. In the second half of the 16th century, the abbey's lands were being carved up into lordships and it was finally annexed to the crown in July, 1593., Subject: andrew durie, Relation: educated_at, Options: (A) fife (B) male (C) today (D) university of st andrews
[A]: university of st andrews


[Q]: Context: Blanes is a town and municipality in the comarca of Selva in Girona, Catalonia, Spain. During the Roman rule it was named Blanda or Blandae. It is known as the "Gateway to the Costa Brava". Its coast is part of the Costa Brava, which stretches from Blanes up to the French border. The township is 18.29 km². Blanes is a popular tourist town, and it is known for the "Concurs de Focs d'Artifici" during the "Santa Anna festival"; this event includes a lot of fireworks. Other places of interest include a botanical gardens, coves, such as the Cala Bona, and beaches which are surrounded by mountains., MILAN ("milan(e)" is French for kite) is a European anti-tank guided missile. Design of the MILAN started in 1962, it was ready for trials in 1971, and was accepted for service in 1972. It is a wire guided SACLOS (semi-automatic command to line-of-sight) missile, which means the sight of the launch unit has to be aimed at the target to guide the missile. The MILAN can be equipped with a MIRA or MILIS thermal sight to give it night-firing ability., 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., Alt Empordà ("Upper Empordà") is a comarca (county) in Girona, Catalonia, Spain, one of two into which Empordà was divided by the comarcal division of Catalonia in 1936, the other one being Baix Empordà., Europe is a continent that comprises the westernmost part of Eurasia. Europe is bordered by the Arctic Ocean to the north, the Atlantic Ocean to the west, and the Mediterranean Sea to the south. To the east and southeast, Europe is generally considered as separated from Asia by the watershed divides of the Ural and Caucasus Mountains, the Ural River, the Caspian and Black Seas, and the waterways of the Turkish Straits. Yet the non-oceanic borders of Europea concept dating back to classical antiquityare arbitrary. The primarily physiographic term "continent" as applied to Europe also incorporates cultural and political elements whose discontinuities are not always reflected by the continent's current overland boundaries., Paris (French: ) is the capital and most populous city of France. It has an area of and a population in 2013 of 2,229,621 within its administrative limits. The city is both a commune and department, and forms the centre and headquarters of the Île-de-France, or Paris Region, which has an area of and a population in 2014 of 12,005,077, comprising 18.2 percent of the population of France., An urban area is a human settlement with high population density and infrastructure of built environment. Urban areas are created through urbanization and are categorized by urban morphology as cities, towns, conurbations or suburbs. In urbanism, the term contrasts to rural areas such as villages and hamlets and in urban sociology or urban anthropology it contrasts with natural environment. The creation of early predecessors of urban areas during the urban revolution led to the creation of human civilization with modern urban planning, which along with other human activities such as exploitation of natural resources leads to human impact on the environment., The Serra de Collserola, or simply Collserola, is a mountain range between the rivers Besòs and Llobregat. It is part of the Catalan Coastal Range., Summer is the hottest of the four temperate seasons, falling between spring and autumn. At the summer solstice, the days are longest and the nights are shortest, with day-length decreasing as the season progresses after the solstice. The date of the beginning of summer varies according to climate, tradition and culture. When it is summer in the Northern Hemisphere, it is winter in the Southern Hemisphere, and vice versa., Tarragona (, ; Phoenician: "Tarqon") is a port city located in northeast Spain on the Costa Daurada by the Mediterranean Sea. It is the capital of the Province of Tarragona, and part of Tarragonès and Catalonia. Geographically, it is bordered on the north by the Province of Barcelona and the Province of Lleida. The city has a population of 132,199 (2014)., Baix Empordà ("Lower Empordà") is a comarca (county) in Catalonia, Spain, one of the two into which Empordà was divided in the comarcal division of 1936, the other one being Alt Empordà. It is popularly known as "L'Empordanet" ("the Little Empordà")., Girona is a province of Spain, in the northeastern part of the autonomous community of Catalonia. It is bordered on the northwest by the province of Lleida, on the southwest by the province of Barcelona, on the north by France, and on the east by the Mediterranean Sea., The Llobregat is the second longest river in Catalonia, Spain. Its name could have originated in an ancient Latin word meaning 'dark', 'sorrowful' or 'muddy'. 
Course.
The Llobregat originates at an elevation of in the Serra del Cadí, within the limits of Castellar de n'Hug municipality, Berguedà comarca. The total length of the river is over .
At Martorell, the Roman Via Augusta crosses the river on the impressive Devil's bridge, which dates from the High Middle Ages in its current form. The C-16 highway is also known as the 'Llobregat Axis' for its largest stretch follows the valley of the Llobregat., Tossa de Mar ( Catalan pronunciation : ( tos ð mar ) ) is a municipality in Catalonia , Spain , located on the Costa Brava , about 103 kilometres north of Barcelona and 100 kilometres south of the French border . It is accessible through Girona Airport , some distance north ., The European Union (EU) is a political and economic union of member states that are located primarily in Europe. It has an area of , and an estimated population of over 510 million. The EU has developed an internal single market through a standardised system of laws that apply in all member states. EU policies aim to ensure the free movement of people, goods, services, and capital within the internal market, enact legislation in justice and home affairs, and maintain common policies on trade, agriculture, fisheries, and regional development. Within the Schengen Area, passport controls have been abolished. A monetary union was established in 1999 and came into full force in 2002, and is composed of 19 EU member states which use the euro currency., Lleida is a city in the west of Catalonia, Spain. It is the capital city of the province of Lleida., Barcelona is the capital city of the autonomous community of Catalonia in the Kingdom of Spain, as well as the country's second most populous municipality, with a population of 1.6 million within city limits. Its urban area extends beyond the administrative city limits with a population of around 4.7 million people, being the sixth-most populous urban area in the European Union after Paris, London, Madrid, the Ruhr area and Milan. It is the largest metropolis on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, and bounded to the west by the Serra de Collserola mountain range, the tallest peak of which is high., Nominally, a Statute of Autonomy (, , ) is a law hierarchically located under the constitution of a country, and over any other form of legislation (including organic laws). This legislative corpus concedes autonomy (self-government) to a subnational unit, and the articles usually mimic the form of a constitution, establishing the organization of the autonomous government, the electoral rules, the distribution of competences between different levels of governance and other regional-specific provisions, like the protection of cultural or lingual realities., The Costa Brava (; "Wild" or "Rough Coast") is a coastal region of northeastern Spain, consisting of the counties of Alt Empordà, Baix Empordà and Selva, in the Catalan region province of Girona. Costa Brava stretches from the town of Blanes, northeast of Barcelona, to the French border.
In the 1950s, the Costa Brava was identified by the Spanish government and local entrepreneurs as being suitable for substantial development as a holiday destination, mainly for package holiday tourists from France and the further north of Europe. The combination of a very good summer climate, nature, excellent beaches and a favourable foreign exchange rate, which made Costa Brava a relatively inexpensive tourist destination, was exploited by the construction of large numbers of hotels and apartments in such seaside resorts as Blanes, Tossa de Mar and Lloret de Mar. Tourism rapidly took over from fishing as the principal business of the area., A nation (from Latin: "natio", "people, tribe, kin, genus, class, flock") is a large group or collective of people with common characteristics attributed to them  including language, traditions, "mores" (customs), "habitus" (habits), and ethnicity. By comparison, a nation is more impersonal, abstract, and overtly political than an ethnic group. It is a cultural-political community that has become conscious of its autonomy, unity, and particular interests., The Mediterranean Sea (pronounced ) is a sea connected to the Atlantic Ocean, surrounded by the Mediterranean Basin and almost completely enclosed by land: on the north by Southern Europe and Anatolia, on the south by North Africa, and on the east by the Levant. The sea is sometimes considered a part of the Atlantic Ocean, although it is usually identified as a separate body of water., Lloret de Mar is a Mediterranean coastal town in Catalonia, Spain. One of the most popular holiday resorts on the Costa Brava, it is south of Girona and northeast of Barcelona. With a population of 39,363 in 2009, it is the second largest town in the Selva comarca of Catalonia., Catalonia is an autonomous community of Spain, located on the northeastern extremity of the Iberian Peninsula. It is designated as a "nationality" by its Statute of Autonomy. Catalonia consists of four provinces: Barcelona, Girona, Lleida, and Tarragona. The capital and largest city is Barcelona, the second-most populated municipality in Spain and the core of the seventh-most populous urban area in the European Union., A province is almost always an administrative division, within a country or state. The term derives from the ancient Roman "provincia", which was the major territorial and administrative unit of the Roman Empire's territorial possessions outside Italy. The term province has since been adopted by many countries, and in those with no actual provinces, it has come to mean "outside the capital city". While some provinces were produced artificially by colonial powers, others were formed around local groups with their own ethnic identities. Many have their own powers independent of federal authority, especially in Canada. In other countries, like China, provinces are the creation of central government, with very little autonomy., 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., Empordà is a natural and historical region of Catalonia, Spain, divided since 1936 into two "comarques", Alt Empordà and Baix Empordà., Girona is a city in the northeast of the Autonomous Community of Catalonia in Spain, at the confluence of the rivers Ter, Onyar, Galligants, and Güell and has an official population of 97,586 as of January 2015. It is the capital of the province of the same name and of the "comarca" of the Gironès. It is located northeast of Barcelona. Girona is one of the major Catalan cities., London is the capital and most populous city of England and the United Kingdom, as well as the most populous city proper in the European Union. Standing on the River Thames in the south east of the island of Great Britain, London has been a major settlement for two millennia. It was founded by the Romans, who named it "Londinium". London's ancient core, the City of London, largely retains its medieval boundaries. Since at least the 19th century, "London" has also referred to the metropolis around this core, historically split between Middlesex, Essex, Surrey, Kent, and Hertfordshire, which today largely makes up Greater London, governed by the Mayor of London and the London Assembly., Selva is a coastal comarca (county) in Catalonia, Spain, located between the mountain range known as the Serralada Transversal or Puigsacalm and the Costa Brava (part of the Mediterranean coast). Unusually, it is divided between the provinces of Girona and Barcelona, with Fogars de la Selva being part of Barcelona province, and all other municipalities falling inside Girona province. Also unusually, its capital, Santa Coloma de Farners, is no longer among its larger municipalities, with the coastal towns of Blanes and Lloret de Mar having far surpassed it in size., Subject: tossa de mar, Relation: located_in_the_administrative_territorial_entity, Options: (A) alt empordà (B) anatolia (C) andorra (D) atlantic ocean (E) baix empordà (F) balearic islands (G) barcelona (H) brava (I) canada (J) canary islands (K) catalonia (L) central (M) centre (N) china (O) date (P) east (Q) england (R) europe (S) european union (T) gibraltar (U) girona (V) girona province (W) gironès (X) hertfordshire (Y) iberian peninsula (Z) italy ([) lleida (\) london (]) lot (^) martorell (_) milan (`) morocco (a) most (b) mountain (c) northern (d) northwest (e) of (f) paris (g) portugal (h) river (i) roman empire (j) schengen (k) seaside (l) selva (m) south (n) southwest (o) spain (p) split (q) tarragona (r) unity (s) west
[A]:
selva