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

Ex Input:
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

Ex Output:
arabic


Ex Input:
Context: Grampound is a village in Cornwall, England, UK. It is at an ancient crossing point of the River Fal and today is on the A390 road six miles west of St Austell and eight miles east of Truro., Grampound in Cornwall , was a borough constituency of the House of Commons of the Parliament of England , then of the Parliament of Great Britain from 1707 to 1800 and of the Parliament of the United Kingdom from 1801 to 1821 . It was represented by two Members of Parliament ., Cornwall is a ceremonial county and unitary authority area of England within the United Kingdom. It is bordered to the north and west by the Celtic Sea, to the south by the English Channel, and to the east by the county of Devon, over the River Tamar. Cornwall has a population of and covers an area of . The administrative centre, and only city in Cornwall, is Truro, although the town of Falmouth has the largest population for a civil parish and the conurbation of Camborne, Pool and Redruth has the highest total population., The River Fal flows through Cornwall, England, rising at Pentevale on Goss Moor (between St. Columb and Roche) and reaching the English Channel at Falmouth. On or near the banks of the Fal are the castles of Pendennis and St Mawes as well as Trelissick Garden. The River Fal separates the Roseland peninsula from the rest of Cornwall. Like most of its kind on the south coast of Cornwall and Devon, the Fal estuary is a classic ria, or drowned river valley. The Fal estuary from Tregony to the Truro River was originally called Hafaraell (meaning "fallow place")., The A390 is a road in Cornwall and Devon, England. It runs from Tavistock to north west of the city of Truro. Starting in Tavistock, it heads south-westwards towards Liskeard, crossing over the River Tamar and into Cornwall, then through Gunnislake and Callington. Immediately before Liskeard, it merges with the A38 north of the town. It diverges from the A38 at Dobwalls, where it then runs in a south-westerly direction to Truro via Lostwithiel, St. Blazey, and St Austell. It then forms an upside down elongated square loop, and bypasses Truro City Centre. It then heads north west out of the city, where it forms the main corridor into Truro from the west. It passes the Royal Cornwall Hospital and skirts the village of Threemilestone, before linking up with the A30 road at Chiverton Cross, where the A390 terminates. Chiverton Cross is where the A390 trunk road from Truro and the B3277 to St Agnes meet the east-west A30 trunk road. Before the A390 was rerouted away from Chacewater it ended at its junction with the A30 at Scorrier., The Parliament of the United Kingdom, commonly known as the UK Parliament or British Parliament, is the supreme legislative body in the United Kingdom, British Crown dependencies and British overseas territories. It alone possesses legislative supremacy and thereby ultimate power over all other political bodies in the UK and its territories. Its head is the Sovereign of the United Kingdom (currently Queen Elizabeth II) and its seat is the Palace of Westminster in the City of Westminster, London., The Acts of Union 1800 (sometimes erroneously referred to as a single Act of Union 1801) united the Kingdom of Great Britain and the Kingdom of Ireland (previously in personal union) to create the United Kingdom of Great Britain and Ireland with effect from 1 January 1801. Both Acts, though since amended, still remain in force in the United Kingdom, but have been repealed in the Republic of Ireland., England is a country that is part of the United Kingdom. It shares land borders with Scotland to the north and Wales to the west. The Irish Sea lies northwest of England and the Celtic Sea lies to the southwest. England is separated from continental Europe by the North Sea to the east and the English Channel to the south. The country covers five-eighths of the island of Great Britain (which lies in the North Atlantic) in its centre and south; and includes over 100 smaller islands such as the Isles of Scilly, and the Isle of Wight., Camborne ('Crooked Hill') is a town and civil parish in west Cornwall, UK. It is at the western edge of a conurbation comprising Camborne, Pool and Redruth., Truro is a city and civil parish in Cornwall, England, United Kingdom. Truro is Cornwall's county town and only city, its centre for administration, leisure and retail and had a population recorded in the 2011 census of 18,766. It is the most southern city in mainland Great Britain. People from Truro are known as Truronians. , The charter became part of English political life and was typically renewed by each monarch in turn, although as time went by and the fledgling English Parliament passed new laws, it lost some of its practical significance. At the end of the 16th century there was an upsurge in interest in Magna Carta. Lawyers and historians at the time believed that there was an ancient English constitution, going back to the days of the Anglo-Saxons, that protected individual English freedoms. They argued that the Norman invasion of 1066 had overthrown these rights, and that Magna Carta had been a popular attempt to restore them, making the charter an essential foundation for the contemporary powers of Parliament and legal principles such as "habeas corpus". Although this historical account was badly flawed, jurists such as Sir Edward Coke used Magna Carta extensively in the early 17th century, arguing against the divine right of kings propounded by the Stuart monarchs. Both James I and his son Charles I attempted to suppress the discussion of Magna Carta, until the issue was curtailed by the English Civil War of the 1640s and the execution of Charles.
The political myth of Magna Carta and its protection of ancient personal liberties persisted after the Glorious Revolution of 1688 until well into the 19th century. It influenced the early American colonists in the Thirteen Colonies and the formation of the American Constitution in 1787, which became the supreme law of the land in the new republic of the United States. Research by Victorian historians showed that the original 1215 charter had concerned the medieval relationship between the monarch and the barons, rather than the rights of ordinary people, but the charter remained a powerful, iconic document, even after almost all of its content was repealed from the statute books in the 19th and 20th centuries., The Kingdom of Great Britain, officially Great Britain , was a sovereign state in western Europe from 1 May 1707 to 31 December 1800. The state came into being following the Treaty of Union in 1706, ratified by the Acts of Union 1707, which united the kingdoms of England and Scotland to form a single kingdom encompassing the whole island of Great Britain and its outlying islands. It did not include Ireland, which remained a separate realm. The unitary state was governed by a single parliament and government that was based in Westminster. The former kingdoms had been in personal union since James VI, King of Scots, became King of England and King of Ireland in 1603 following the death of Queen Elizabeth I, bringing about a "Union of the Crowns". Also after the accession of George I to the throne of Great Britain in 1714, the kingdom was in a personal union with the Electorate of Hanover., The Tamar is a river in south west England, that forms most of the border between Devon (to the east) and Cornwall (to the west). The area is a World Heritage Site due to its historic mining activities., The English Channel ("the Sleeve" [hence ] "Sea of Brittany" "British Sea"), also called simply the Channel, is the body of water that separates southern England from northern France, and joins the southern part of the North Sea to the rest of the Atlantic Ocean., The Parliament of England was the legislature of the Kingdom of England. In 1066, William of Normandy introduced what, in later centuries, became referred to as a feudal system, by which he sought the advice of a council of tenants-in-chief (a person who held land) and ecclesiastics before making laws. In 1215, the tenants-in-chief secured Magna Carta from King John, which established that the king may not levy or collect any taxes (except the feudal taxes to which they were hitherto accustomed), save with the consent of his royal council, which gradually developed into a parliament., St Austell is a civil parish and major town in Cornwall, England, UK. It is situated on the south coast, approximately south of Bodmin and west of the border with Devon., Redruth is a town and civil parish in Cornwall, England, United Kingdom. The population of Redruth was 14,018 at the 2011 census. In the same year the population of the Camborne-Redruth urban area, which also includes Carn Brea, Illogan and several satellite villages, stood at 55,400 making it the largest conurbation in Cornwall. Redruth lies approximately at the junction of the A393 and A3047 roads, on the route of the old London to Land's End trunk road (now the A30), and is approximately west of Truro, east of St Ives, north east of Penzance and north west of Falmouth. Camborne and Redruth together form the largest urban area in Cornwall and before local government reorganisation were an urban district., The Parliament of Scotland, officially the Estates of Parliament, was the legislature of the Kingdom of Scotland. The parliament, like other such institutions, evolved during the Middle Ages from the king's council of bishops and earls. It is first identifiable as a parliament in 1235, during the reign of Alexander II, when it was described as a "colloquium" and already possessed a political and judicial role. By the early fourteenth century, the attendance of knights and freeholders had become important, and from 1326 commissioners from the burghs attended. Consisting of the "three estates" of clergy, nobility and the burghs sitting in a single chamber, the parliament gave consent for the raising of taxation and played an important role in the administration of justice, foreign policy, war, and all manner of other legislation. Parliamentary business was also carried out by "sister" institutions, such as General Councils or Convention of Estates. These could carry out much business also dealt with by parliament  taxation, legislation and policy-making  but lacked the ultimate authority of a full parliament., The 14 British Overseas Territories (BOT) are territories under the jurisdiction and sovereignty of the United Kingdom. They are those parts of the former British Empire that have not chosen independence or have voted to remain British territories. Most of the inhabited territories are internally self-governing, with the UK retaining responsibility for defence and foreign relations. The rest are either uninhabited or have a transitory population of military or scientific personnel. They share the British monarch (Elizabeth II) as head of state., Devon (archaically known as Devonshire) is a county of England, reaching from the Bristol Channel in the north to the English Channel in the south. It is part of South West England, bounded by Cornwall to the west, Somerset to the northeast, and Dorset to the east. The City of Exeter is the county town; seven other districts of East Devon, Mid Devon, North Devon, South Hams, Teignbridge, Torridge, and West Devon are under the jurisdiction of Devon County Council; Plymouth and Torbay are each a part of Devon but administered as unitary authorities. Combined as a ceremonial county, Devon's area is and its population is about 1.1 million., The Kingdom of England was a sovereign state on the island of Great Britain from the 10th centurywhen it emerged from various Anglo-Saxon kingdomsuntil 1707, when it united with Scotland to form the Kingdom of Great Britain., The Parliament of Great Britain was formed in 1707 following the ratification of the Acts of Union by both the Parliament of England and the Parliament of Scotland. The Acts created a new unified Kingdom of Great Britain and dissolved the separate English and Scottish parliaments in favour of a single parliament, located in the former home of the English parliament in the Palace of Westminster, near the City of London. This lasted nearly a century, until the Acts of Union 1800 merged the separate British and Irish Parliaments into a single Parliament of the United Kingdom with effect from 1 January 1801., The Palace of Westminster is the meeting place of the House of Commons and the House of Lords, the two houses of the Parliament of the United Kingdom. Commonly known as the Houses of Parliament after its occupants, it is also known as the 'heart of British politics'. The Palace lies on the north bank of the River Thames in the City of Westminster, in central London., The Celtic Sea (; ) is the area of the Atlantic Ocean off the south coast of Ireland bounded to the east by Saint George's Channel; other limits include the Bristol Channel, the English Channel, and the Bay of Biscay, as well as adjacent portions of Wales, Cornwall, Devon, and Brittany. The southern and western boundaries are delimited by the continental shelf, which drops away sharply. The Isles of Scilly are an archipelago of small islands in the sea., The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom (UK) or Britain, is a sovereign country in western Europe. Lying off the north-western coast of the European mainland, it includes the island of Great Britain (the name of which is also loosely applied to the whole country), the north-eastern part of the island of Ireland, and many smaller islands. Northern Ireland is the only part of the UK that shares a land border with another sovereign statethe Republic of Ireland. Apart from this land border, the UK is surrounded by the Atlantic Ocean, with the North Sea to its east, the English Channel to its south and the Celtic Sea to its south-south-west, giving it the 12th-longest coastline in the world. The Irish Sea lies between Great Britain and Ireland. With an area of , the UK is the 78th-largest sovereign state in the world and the 11th-largest in Europe. It is also the 21st-most populous country, with an estimated 65.1 million inhabitants. Together, this makes it the fourth most densely populated country in the European Union., Subject: grampound , Relation: country, Options: (A) atlantic ocean (B) british empire (C) cornwall (D) dorset (E) england (F) european union (G) france (H) kingdom of england (I) kingdom of great britain (J) kingdom of scotland (K) northern ireland (L) scotland (M) united kingdom (N) united kingdom of great britain and ireland (O) united states (P) wales

Ex Output:
united kingdom of great britain and ireland


Ex Input:
Context: Mayotte (; Shimaore: "Maore") is an insular department and region of France officially named "Département de Mayotte". It consists of a main island, Grande-Terre (or Maore), a smaller island, Petite-Terre (or Pamanzi), and several islets around these two. The archipelago is located in the northern Mozambique Channel in the Indian Ocean off the coast of Southeast Africa, between northwestern Madagascar and northeastern Mozambique., Carphone Warehouse is a British mobile phone retailer, with over 2,400 stores across Europe. It trades as Carphone Warehouse in the United Kingdom and Ireland, and as Phone House elsewhere., Orange S.A., formerly France Télécom S.A., is a French multinational telecommunications corporation. It has 263 million customers worldwide and employs 105,000 people in France, and 170,000 elsewhere. In 2012, the group had revenue of €43.5 billion. The company's head office is located in the 15th arrondissement of Paris. The current CEO is Stéphane Richard. The company is a component of the Euro Stoxx 50 stock market index., Guadeloupe (Antillean Creole: "Gwadloup") is an insular region of France located in the Leeward Islands, part of the Lesser Antilles in the Caribbean. Administratively, it is an overseas region consisting of a single overseas department. It has a land area of and an estimated population of 400,132 as of January 2015., Sir Richard Charles Nicholas Branson (born 18 July 1950) is an English business magnate, investor and philanthropist. He founded the Virgin Group, which controls more than 400 companies., Nik Powell (born 4 November 1950) is a British businessman and one of the co-founders of the Virgin Group with Richard Branson. After operating a mail-order company, a small record shop, and a recording studio, the partners established Virgin Records in 1972. It became one of the UK's major recording labels until it was sold to EMI in 1992., Réunion (; previously "Île Bourbon") is an island and region of France in the Indian Ocean, east of Madagascar and southwest of Mauritius. , it had a population of 844,994. It is the most prosperous island in the Indian Ocean, having the highest GDP per capita in the region., Virgin Mobile is a wireless communications brand used by eight independent brand-licensees worldwide. Virgin Mobile branded wireless communications services are available in Australia, Colombia, the United Kingdom, Canada, Chile, France, Saudi Arabia, Poland, South Africa, México, and the United States. Virgin Mobile branded services used to be offered in Singapore, India and Qatar., The 15th arrondissement of Paris is one of the 20 arrondissements (administrative districts) of the capital city of France, also called "Arrondissement de Vaugirard"., SFR (an orphan acronym of "Société française du radiotéléphone"
) is a French telecommunications company that provides voice, video, data, and Internet telecommunications and professional services to consumers and businesses. As of December 2015, it has 21.9 million customers in Metropolitan France for mobile services, and provides 6.35 million households with high-speed internet access. It also offers services in the Overseas Departments of France : in the Caribbean islands of Martinique, Guadeloupe, and in Guyane as well as in the Indian Ocean, in Mayotte and on the Réunion island through SRR ("Société Réunionnaise du Radiotéléphone") although the company is branded as "SFR Réunion"., Virgin Group Ltd. is a British Multinational corporation venture capital Conglomerate founded by entrepreneurs Sir Richard Branson and Nik Powell., Virgin Mobile France is a cellular telephone company owned by Numericable - SFR . It launched in 2006 as a joint venture between Virgin Group and Carphone Warehouse . The company operates as a Mobile virtual network operator ( MVNO ) , whereby it does not own or operate its own mobile network , but instead uses the network of Orange S.A. As of June 2014 , the company is the largest MVNO in France , with 1.5 million customers , and had a market share of 11.3 % at the beginning of 2014 . Carphone Warehouse and Virgin Group reached an agreement to sell their holdings to the French cable operator Numericable in June 2014 for € 325 million , subject to regulatory approval . The sale was completed on 5 December 2014 ., Martinique is an insular region of France located in the Lesser Antilles in the eastern Caribbean Sea, with a land area of and a population of 385,551 inhabitants as of January 2013. Like Guadeloupe, it is an overseas region of France, consisting of a single overseas department. One of the Windward Islands, it is directly north of Saint Lucia, southeast of Puerto Rico, northwest of Barbados, and south of Dominica., Subject: virgin mobile france, Relation: founder, Options: (A) france (B) nik powell (C) richard branson (D) saudi arabia (E) sir (F) united kingdom

Ex Output:

richard branson