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: Friedrich Engels (or 28 November 1820 5 August 1895) was a German philosopher, social scientist, journalist, and businessman. He founded Marxist theory together with Karl Marx. In 1845, he published "The Condition of the Working Class in England", based on personal observations and research in Manchester., A journalist is a person who collects, writes, or distributes news or other current information. A journalist's work is called journalism. A journalist can work with general issues or specialize in certain issues. However, most journalists tend to specialize, and by cooperating with other journalists, produce journals that span many topics. For example, a sports journalist covers news within the world of sports, but this journalist may be a part of a newspaper that covers many different topics., Jean - Laurent - Frederick Longuet ( 1876 -- 1938 ) was a French socialist and Karl Marx 's grandson . Son of Charles and Jenny Longuet . French lawyer and Socialist who in the First World War and founder and editor of the newspaper Le Populaire . He was a pacifist , but also supported war credits during the course of the First World War . At the Strasbourg Congress in 1918 his policy was adopted by the majority of the French Section of the Workers ' International ( SFIO ) socialist party . After the Tours Congress of 1920 where the Communists gained the majority he supported the minority and joined the centrist Two - and - a - half International ( the Vienna Union ) . He criticized the League Against Imperialism created in 1927 and supported by the Comintern . Longuet supported pro-Zionist positions at the Socialist International meeting in Brussels in 1930 and at a speech to a Zionist group in Paris in 1935 ., A pamphlet is an unbound booklet (that is, without a hard cover or binding). It may consist of a single sheet of paper that is printed on both sides and folded in half, in thirds, or in fourths, called a "leaflet", or it may consist of a few pages that are folded in half and saddle stapled at the crease to make a simple book., The Communist Manifesto (originally Manifesto of the Communist Party) is an 1848 political pamphlet by German philosophers Karl Marx and Friedrich Engels. Commissioned by the Communist League and originally published in London (in German as "Manifest der Kommunistischen Partei") just as the revolutions of 1848 began to erupt, the "Manifesto" was later recognised as one of the world's most influential political manuscripts. It presents an analytical approach to the class struggle (historical and then-present) and the problems of capitalism and the capitalist mode of production, rather than a prediction of communism's potential future forms., An economist is a practitioner in the social science discipline of economics., Trier, formerly known in English as Treves, is a city in Germany on the banks of the Moselle. Trier lies in a valley between low vine-covered hills of red sandstone in the west of the state of Rhineland-Palatinate, near the border with Luxembourg and within the important Moselle wine region., Karl Marx (5 May 1818 14 March 1883) was a German-born scientist, philosopher, economist, sociologist, journalist, and revolutionary socialist. Born in Trier to a middle-class family, he later studied political economy and Hegelian philosophy. As an adult, Marx became stateless and spent much of his life in London, England, where he continued to develop his thought in collaboration with German thinker Friedrich Engels and published various works, the most well-known being the 1848 pamphlet "The Communist Manifesto". His work has since influenced subsequent intellectual, economic, and political history., A philosopher is someone who practices philosophy, which involves rational inquiry into areas that are outside of either theology or science. The term "philosopher" comes from the Ancient Greek ("philosophos") meaning "lover of wisdom". The coining of the term has been attributed to the Greek thinker Pythagoras (6th century BC)., Political economy is a term used for studying production and trade, and their relations with law, custom, and government, as well as with the distribution of national income and wealth. "Political economy" originated in moral philosophy. It was developed in the 18th century as the study of the economies of states, or "polities", hence the term "political" economy., Subject: jean longuet, Relation: place_of_birth, Options: (A) engels (B) england (C) german (D) germany (E) hard (F) london (G) manchester (H) march (I) most (J) of (K) trier

Ex Output:
london

Ex Input:
Context: John C. Malone (born March 7, 1941) is an American business executive, landowner and philanthropist. He served as chief executive officer (CEO) of Tele-Communications Inc. (TCI), a cable and media giant, for twenty-four years from 1973 to 1996. Malone is now chairman of Liberty Media, Liberty Global, and Liberty Interactive all which he is the majority owner, and also owns 49% of Starz Inc. and 29% of Discovery Communications. He was interim CEO of Liberty Media, until succeeded by former Oracle CFO Greg Maffei., Ticketmaster Entertainment, Inc. is an American ticket sales (primary ticket outlet) and distribution company based in West Hollywood, California, with operations in many countries around the world. In 2010 it merged with Live Nation (events promoter) to become Live Nation Entertainment. As a primary ticket outlet, most US ticket sales for US venues are fulfilled at Ticketmaster's two main fulfillment centers located in Charleston, West Virginia, and Pharr, Texas. Typically, Ticketmaster's clients (promoters) control their events, and Ticketmaster acts as an agent, selling the tickets that the clients make available to them., Pharr is a city in Hidalgo County, Texas. As of the 2010 United States Census, the city population was 70,400. Pharr is connected by bridge to the Mexican city of Reynosa, Tamaulipas. It is part of the McAllenEdinburgMission and ReynosaMcAllen metropolitan areas., Live Nation is an American live-events company based in Beverly Hills, California, focused on worldwide concert and entertainment-show promotions. Live Nation formed in 2005 as a spin-off from Clear Channel Communications, which then merged with Ticketmaster in 2010 to become Live Nation Entertainment., Liberty Media Corporation (commonly referred to as Liberty Media or just Liberty) is an American mass media company controlled by chairman John C. Malone, who owns a majority of the voting shares., Live Nation Entertainment is an American entertainment company , formed from the merger of Live Nation and Ticketmaster . It owns , leases , operates , has booking rights for and / or equity interest in a large number of U.S. entertainment venues . The leadership consists of John C. Malone , chairman of Liberty Media as chairman and Michael Rapino ( previously chief executive officer of Live Nation ) as president and CEO of the company . The merger that gave rise to the company was not without opposition . The proposed merger initially received regulatory approval in Norway and Turkey . The United States Justice Department approved the merger on January 25 , 2010 , with some conditions to which both parties agreed . However , in October 2009 , the United Kingdom 's Competition Commission provisionally ruled against the merger . On December 22 , 2009 , the Competition Commission reversed its decision and cleared the proposed merger ., West Hollywood, occasionally referred to locally as WeHo, is a city in Los Angeles County, California, United States. Incorporated in 1984, it is home to the Sunset Strip. As of the 2010 census, its population was 34,399. It is considered one of the most prominent gay villages in the United States., Charleston is the capital and largest city of the U.S. state of West Virginia. It is located at the confluence of the Elk and Kanawha Rivers in Kanawha County. As of the 2013 Census Estimate, it had a population of 50,821, while its metropolitan area had 224,743. It is a center of government, commerce, and industry.
Early industries important to Charleston included salt and the first natural gas well. Later, coal became central to economic prosperity in the city and the surrounding area. Today, trade, utilities, government, medicine, and education play central roles in the city's economy., Subject: live nation entertainment, Relation: inception, Options: (A) 1941 (B) 1984 (C) 1996 (D) 2005 (E) 2010 (F) 2013 (G) 50 (H) 7 (I) 821

Ex Output:
2005

Ex Input:
Context: 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 Almoravids ( Berber : Imaben , Arabic : Al - Murbin ) were a Berber dynasty of Morocco , who formed an empire in the 11th century that stretched over the western Maghreb and Al - Andalus . Founded by Abdallah ibn Yasin , their capital was Marrakesh , a city they founded in 1062 . The dynasty originated among the Lamtuna and the Gudala , nomadic Berber tribes of the Sahara , traversing the territory between the Draa , the Niger , and the Senegal rivers . The Almoravids were crucial in preventing the fall of Al - Andalus to the Iberian Christian kingdoms , when they decisively defeated a coalition of the Castilian and Aragonese armies at the Battle of Sagrajas in 1086 . This enabled them to control an empire that stretched 3,000 kilometers north to south . However , the rule of the dynasty was relatively short - lived . The Almoravids fell -- at the height of their power -- when they failed to quell the Masmuda - led rebellion initiated by Ibn Tumart . As a result , their last king Ishaq ibn Ali was killed in Marrakesh in April 1147 by the Almohads , who replaced them as a ruling dynasty both in Morocco and Al - Andalus ., 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., A dynasty is a sequence of rulers from the same family, usually in the context of a feudal or monarchical system but sometimes also appearing in elective republics. The dynastic family or lineage may be known as a "house"; which may be styled "royal", "princely", "comital", etc., depending upon the chief or present title borne by its members. Historians periodize the histories of many sovereign states, such as Ancient Egypt, the Carolingian Empire and Imperial China, using a framework of successive dynasties. As such, the term "dynasty" may be used to delimit the era during which the family reigned and to describe events, trends, and artifacts of that period ("a Ming-dynasty vase"). The word "dynasty" itself is often dropped from such adjectival references ("a Ming vase")., A republic (from ) is a sovereign state, country, or government which is organized with a form of government in which power resides in elected individuals representing the citizen body and government leaders exercise power according to the rule of law. In modern times, the definition of a republic commonly refers to a government which excludes a monarch. Currently, 147 of the world's 206 sovereign states use the word "republic" as part of their official names; not all of these are republics in the sense of having elected governments, nor do all nations with elected governments use the word "republic" in their names., 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 Cordoba 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")., A monarch is the sovereign head of state in a monarchy. A monarch may exercise the highest authority and power in the state, or others may wield that power on behalf of the monarch. Typically a monarch either personally inherits the lawful right to exercise the state's sovereign rights (often referred to as "the throne" or "the crown") or is selected by an established process from a family or cohort eligible to provide the nation's monarch. Alternatively, an individual may become monarch by conquest, acclamation or a combination of means. A monarch usually reigns for life or until abdication. , Tunisia ('; ), officially the Republic of Tunisia (') is the northernmost country in Africa, covering . Its northernmost point, Cape Angela, is the northernmost point on the African continent. It is bordered by Algeria to the west and southwest, Libya to the southeast, and the Mediterranean Sea to the north and east. Tunisia's population was estimated to be just under 11 million in 2014. Tunisia's name is derived from its capital city, Tunis, which is located on Tunisia's northeast coast., The Carolingian Empire (800888) was a large empire in western and central Europe during the early Middle Ages. It was ruled by the Carolingian dynasty, which had ruled as kings of the Franks since 751 and as kings of the Lombards of Italy from 774. In 800, the Frankish king Charlemagne was crowned emperor in Rome by Pope Leo III in an effort to revive the Roman Empire in the west during a vacancy in the throne of the eastern Roman Empire. After a civil war (84043) following the death of Emperor Louis the Pious, the empire was divided into autonomous kingdoms, with one king still recognised as emperor, but with little authority outside his own kingdom. The unity of the empire and the hereditary right of the Carolingians continued to be acknowledged., 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., Egypt (; ', , "Kimi"), officially the Arab Republic of Egypt, is a transcontinental country spanning the northeast corner of Africa and southwest corner of Asia by a land bridge formed by the Sinai Peninsula. Egypt is a Mediterranean country bordered by the Gaza Strip and Israel to the northeast, the Gulf of Aqaba to the east, the Red Sea to the east and south, Sudan to the south, and Libya to the west. Across the Gulf of Aqaba lies Jordan, and across from the Sinai Peninsula lies Saudi Arabia, although Jordan and Saudi Arabia do not share a land border with Egypt. It is the world's only contiguous Afrasian nation., 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 Maghreb (or ; literally "sunset"; ', "the Arab West" previously known as Barbary Coast, derived from Berber), or the Greater Maghreb ("al-Maghrib al-Kabr"), is usually defined as much or most of the region of western North Africa or Northwest Africa, west of Egypt. The traditional definition as the region including the Atlas Mountains and the coastal plains of Morocco, Algeria, Tunisia, and Libya, was later superseded, especially following the 1989 formation of the Arab Maghreb Union ( ), by the inclusion of Mauritania and of the disputed territory of Western Sahara (mostly controlled by Morocco). During the Al-Andalus era in Spain (7111492), the Maghreb's inhabitants, Maghrebis, were known as "Moors"; the Muslim areas of Spain in those times were usually included in contemporary definitions of the Maghrebhence the use of "Moorish" or "Moors" to describe the Muslim inhabitants of Spain in Western sources., The Lamtuna are a nomadic Berber tribe belonging to the Sanhaja (Zenaga) confederation, who traditionally inhabited areas from Sous to Adrar Plateau. During the Almoravid period, many Lamtunas emigrated northwards. The Sahrawi Tajakant tribe are of the most recognizable offshoots of the Lamtunas. They inhabit the area between Morocco and Western Sahara., Mauritania ('; or Soninke: "Murutaane"; Pulaar: "Moritani"), officially the Islamic Republic of Mauritania, is a country in the Maghreb region of western Africa. It is the eleventh largest country in Africa and is bordered by the Atlantic Ocean to the west, Morocco and the remnants of Western Sahara in the north, Algeria in the northeast, Mali in the east and southeast, and Senegal in the southwest., Algeria (' "Dzayer"), officially the People's Democratic Republic of Algeria, is a sovereign state in North Africa on the Mediterranean coast. Its capital and most populous city is Algiers, located in the country's far north. With an area of , Algeria is the tenth-largest country in the world, and the largest in Africa. Algeria is bordered to the northeast by Tunisia, to the east by Libya, to the west by Morocco, to the southwest by the Western Saharan territory, Mauritania, and Mali, to the southeast by Niger, and to the north by the Mediterranean Sea. The country is a semi-presidential republic consisting of 48 provinces and 1,541 communes (counties). Abdelaziz Bouteflika has been President since 1999., Subject: almoravid dynasty, Relation: basic_form_of_government, Options: (A) confederation (B) emirate (C) empire (D) islamic republic (E) islamic state (F) monarchy (G) overseas territory (H) republic

Ex Output:
monarchy