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 Peerage of Ireland is a 19th century creation, and is different from the more ancient native Gaelic peerage used by Irish aristocracy from before the arrival of Christianity. The Gaelic system was disrupted by the English peerage in the early modern period by confiscations deemed illegal in Continental courts at the time. The latter system consists of those titles of nobility created by the English monarchs in their capacity as Lord or King of Ireland, or later by monarchs of the United Kingdom of Great Britain and Ireland. The English ranks of the Irish peerage are Duke, Marquess, Earl, Viscount and Baron, whilst the Irish system uses Gaelic titles, in accordance with a genealogy of the Ard Rí (High King of Ireland) chronicled in numerous ancient manuscripts, including the Annals of the Four Masters. The Crown of the United Kingdom of Great Britain & Northern Ireland continues to exercise jurisdiction over its Peerage of Ireland, but not those peers whose titles derive from places located in what is now the Republic of Ireland. Importantly, Article 40.2 of the Irish Constitution forbids conference of titles of nobility by anyone but the Uatarán -- President of the Republic -- and a citizen may not accept titles of nobility or honour except with the prior approval of the Government. Gaelic titles of nobility, amongst the oldest in European history, remain the providence of individual clanna or families. Efforts are underway to accord these system with the laws of the Supreme Court of Ireland in friendly negotiation with English conventions and European law. , Viscount Palmerston was a title in the Peerage of Ireland. It was created on 12 March 1723 for Henry Temple, who subsequently represented East Grinstead, Bossiney and Weobley in the British House of Commons. He was made Baron Temple, of Mount Temple in the County of Sligo, at the same time, also in the Peerage of Ireland. He was succeeded by his grandson, the 2nd Viscount, who represented seven constituencies in the House of Commons and served as a Lord of the Admiralty and Lord of the Treasury. On his death the titles passed to his son, the 3rd Viscount, who became a distinguished politician and served three times as Foreign Secretary and twice as Prime Minister of the United Kingdom. At his death in 1865 the 3rd Viscount was granted a state funeral, the fourth non-royal to be given this honour. Lord Palmerston was childless and the barony and viscountcy became extinct on his death., The Prime Minister of the United Kingdom is the head of Her Majesty's Government in the United Kingdom. The prime minister (informal abbreviation: PM) and Cabinet (consisting of all the most senior ministers, most of whom are government department heads) are collectively accountable for their policies and actions to the Monarch, to Parliament, to their political party and ultimately to the electorate. The office is one of the Great Offices of State. The , Theresa May, leader of the Conservative Party, was appointed by the Queen on 13 July 2016., Henry John Temple , 3rd Viscount Palmerston , KG , GCB , PC ( 20 October 1784 -- 18 October 1865 ) was a British statesman who served twice as Prime Minister in the mid- 19th century . Popularly nicknamed `` Pam '' and `` The Mongoose '' , he was in government office almost continuously from 1807 until his death in 1865 , beginning his parliamentary career as a Tory , switching to the Whigs in 1830 , and concluding it as the first Prime Minister of the newly - formed Liberal Party from 1859 . He is best remembered for his direction of British foreign policy through a period when Britain was at the height of its power , serving terms as both Foreign Secretary and Prime Minister , as well as a brief period as Home Secretary . Some of his aggressive actions , now sometimes termed liberal interventionist , were highly controversial at the time , and remain so today . He held these great offices , when his party was in power , over a period of 35 years . He was the only Prime Minister to be over 70 years old at the beginning of his first term and is the most recent and oldest British Prime Minister to die in office . Born the heir to an Irish peerage ( which did not disqualify him from being a member of the House of Commons ) , he accompanied his parents on a two year Grand Tour on the Continent from the age of 8 , before attending Harrow School , the University of Edinburgh ( 1800 -- 1803 ) , and St John 's College , Cambridge ( 1803 -- 1806 ) ; from 1803 he was also a militia officer in the period when an invasion by Napoleon was feared . He succeeded to his father 's title on his death in 1802 . After two false starts in the elections of 1806 , he became a Tory MP for a pocket borough in 1807 , and was made Secretary at War in 1809 , responsible only for the finances of the war , and initially outside the cabinet . He held the job until 1828 , only entering the cabinet in 1827 when George Canning became Prime Minister . Less than a year later he resigned when a growing rift split the Tories . In opposition he switched his focus to foreign policy , and when he returned to office in 1830 it was as Foreign Secretary in a Whig administration ; until 1851 he held the position when the Whigs were in power , dealing with a succession of crises in Europe and beyond . In 1852 he was made Home Secretary in the coalition government of Aberdeen , the Tories having insisted on Russell getting the Foreign Office . He was active in the role , passing various reforms but opposing electoral ones . When public discontent over the Crimean War brought the government down in 1855 , Palmerston was found to be , despite the Queen 's distrust of him , the only Prime Minister who could sustain a majority in Parliament . He had two terms , 1855 -- 1858 and 1859 -- 1865 , before dying in office at almost 81 , a few months after winning a general election with an increased majority ., Subject: henry john temple, Relation: occupation, Options: (A) duke (B) king (C) leader (D) minister (E) nobility (F) politician (G) prime minister (H) secretary (I) united kingdom

A: politician
****
Q: Context: Lieutenant general, lieutenant-general and similar (abbrev Lt Gen, LTG and similar) is a three-star military rank (NATO code OF-8) used in many countries. The rank traces its origins to the Middle Ages, where the title of lieutenant general was held by the second in command on the battlefield, who was normally subordinate to a captain general., Social work is an academic and practice-based professional discipline that seeks to facilitate the welfare of communities, individuals, families, and groups. It may promote social change, development, cohesion, and empowerment. Underpinned by theories of social sciences and guided by principles of social justice, human rights, collective responsibility, and respect for diversities, social work engages people and structures to address life challenges and enhance well-being., The German Empire (officially ') was the historical German nation state that existed from the unification of Germany in 1871 to the abdication of Kaiser Wilhelm II in November 1918, when Germany became a federal republic (the Weimar Republic)., Battle of Kaniv, or Battle of Kaniów took place during World War I on the night of 1011 May 1918, near Kaniv, Ukraine between Polish and German army troops. The fighting pitted the Polish II Corps in Russia (including Brigade II of the Polish Legions), under general Józef Haller von Hallenburg, against the German Imperial Army (including the 28th Landwehr Brigade), under general Zierhold. Ultimately the Germans were victorious with about half of the Polish forces surrendering and the rest retreating in disarray., The Central Powers , consisting of Germany, , the Ottoman Empire and Bulgaria  hence also known as the Quadruple Alliance  was one of the two main factions during World War I (191418). It faced and was defeated by the Allied Powers that had formed around the Triple Entente, after which it was dissolved., The Triple Entente (from French "entente" "friendship, understanding, agreement") was the understanding linking the Russian Empire, the French Third Republic, and the United Kingdom of Great Britain and Ireland after the signing of the Anglo-Russian Entente on 31 August 1907. The understanding between the three powers, supplemented by agreements with Japan and Portugal, constituted a powerful counterweight to the Triple Alliance of Germany, Austria-Hungary and the Kingdom of Italy, though Italy did not side with Germany and Austria during World War I, and joined the Entente Powers instead, in the 1915 Treaty of London., The Order of Polonia Restituta is a Polish state order established 4 February 1921. It is conferred to both military and civilians as well as to foreigners for outstanding achievements in the fields of education, science, sport, culture, art, economics, national defense, social work, civil service, or for furthering good relations between countries., Austria-Hungary, often referred to as the Austro-Hungarian Empire in English-language sources, was a constitutional union of the Austrian Empire (the Kingdoms and lands represented in the Imperial Council, or "Cisleithania") and the Kingdom of Hungary (Lands of the Crown of Saint Stephen or "Transleithania") that existed from 1867 to 1918, when it collapsed as a result of defeat in World War I. The union was a result of the Austro-Hungarian Compromise of 1867 and came into existence on 30 March 1867. Austria-Hungary consisted of two monarchies (Austria and Hungary), and one autonomous region: the Kingdom of Croatia-Slavonia under the Hungarian crown, which negotiated the CroatianHungarian Settlement ("Nagodba") in 1868. It was ruled by the House of Habsburg, and constituted the last phase in the constitutional evolution of the Habsburg Monarchy. Following the 1867 reforms, the Austrian and the Hungarian states were co-equal. Foreign affairs and the military came under joint oversight, but all other governmental faculties were divided between respective states., The Battle of Raracza was fought between Polish Legionnaires, and Austria-Hungary, from February 15 to 16, 1918, near Raracza in Bukovina, and ended with a Polish victory., Russia, also officially known as the Russian Empire, was a state that existed from 1721 until it was overthrown by the short-lived liberal February Revolution in 1917. One of the largest empires in world history, stretching over three continents, the Russian Empire was surpassed in landmass only by the British and Mongol empires. The rise of the Russian Empire happened in association with the decline of neighboring rival powers: the Swedish Empire, the PolishLithuanian Commonwealth, Persia and the Ottoman Empire. It played a major role in 181214 in defeating Napoleon's ambitions to control Europe, and expanded to the west and south., In the history of Europe, the Middle Ages or medieval period lasted from the 5th to the 15th century. It began with the fall of the Western Roman Empire and merged into the Renaissance and the Age of Discovery. The Middle Ages is the middle period of the three traditional divisions of Western history: classical antiquity, the medieval period, and the modern period. The medieval period is itself subdivided into the Early, High, and Late Middle Ages., Second in Command is a 2006 American action film starring Jean-Claude Van Damme and directed by Simon Fellows. The film was released on direct-to-DVD in the United States on May 2, 2006., The Polish II Corps in Russia was a Polish military formation formed in revolutionary Russia in 1917., The Austro-Hungarian Army was the ground force of the Austro-Hungarian Dual Monarchy from 1867 to 1918. It was composed of three parts: the joint army (", "Common Army", recruited from all parts of the country), the Imperial Austrian Landwehr (recruited from Cisleithania), and the Royal Hungarian Honved (recruited from Transleithania)., Cisleithania (also "Zisleithanien", , , , , , , , , transliterated: "Tsysleitàniia") was a common yet unofficial denotation of the northern and western part of Austria-Hungary, the Dual Monarchy created in the Compromise of 1867as distinguished from "Transleithania", i.e. the Hungarian Lands of the Crown of Saint Stephen east of ("beyond") the Leitha River., Dual monarchy occurs when two separate kingdoms are ruled by the same monarch, follow the same foreign policy, exist in a customs union with each other and have a combined military but are otherwise self-governing. The term is typically used to refer to AustriaHungary, a dual monarchy that existed from 1867 to 1918., A civil servant or public servant is a person in the public sector employed for a government department or agency. The extent of civil servants of a state as part of the "civil service" varies from country to country. In the United Kingdom, for instance, only Crown (national government) employees are referred to as civil servants whereas county or city employees are not., The Polish Legions (Polish "Legiony Polskie") was a name of the Polish military force (the first active Polish army in generations) established in August 1914 in Galicia soon after World War I erupted between the opposing alliances of the Triple Entente on one side (including the British Empire, the French Republic and the Russian Empire); and the Central Powers on the other side, including the German Empire and Austria-Hungary. The Legions became "a founding myth for the creation of modern Poland" in spite of their considerably short existence; they were replaced by the Polish Auxiliary Corps formation on 20 September 1916, merged with Polish II Corps in Russia on 19 February 1918 for the Battle of Raracza against Austria-Hungary, and disbanded following the military defeat at the Battle of Kaniów in May 1918, against imperial Germany. General Haller escaped to France to form the Polish army in the West against the anti-Polish German-Bolshevik treaty., Karol Durski - Trzaska ( 1849 -- 1935 ) was an officer in Austro - Hungarian Army and later , Polish Army . Reached the rank of Lieutenant General ( Feldmarschalleutnant ) in Austrian - Hungarian Army ; commander of Austrian Polish Legions in World War I from 23 September 1914 to December 1915 . Transferred to reserve afterwards . He served in the Polish Army from 1919 to 1922 , in reserve again afterwards . Recipient of the Silver Cross of the Order of Polonia Restituta and the Commander 's Cross of the Polonia Restituta ., The British Empire comprised the dominions, colonies, protectorates, mandates and other territories ruled or administered by the United Kingdom and its predecessor states. It originated with the overseas possessions and trading posts established by England between the late 16th and early 18th centuries. At its height, it was the largest empire in history and, for over a century, was the foremost global power. By 1913, the British Empire held sway over 412 million people, % of the world population at the time, and by 1920, it covered , % of the Earth's total land area. As a result, its political, legal, linguistic and cultural legacy is widespread. At the peak of its power, the phrase "the empire on which the sun never sets" was often used to describe the British Empire, because its expanse around the globe meant that the sun was always shining on at least one of its territories., Subject: karol durski-trzaska, Relation: country_of_citizenship, Options: (A) academic (B) american (C) austria (D) austrian empire (E) british (F) british empire (G) bulgaria (H) england (I) french republic (J) french third republic (K) galicia (L) german empire (M) germans (N) germany (O) habsburg monarchy (P) hungary (Q) italy (R) kingdom of hungary (S) london (T) ottoman empire (U) poland (V) roman empire (W) russia (X) russian empire (Y) ukraine (Z) united kingdom

A: poland
****
Q: Context: Asia is Earth's largest and most populous continent, located primarily in the eastern and northern hemispheres and sharing the continental landmass of Eurasia with the continent of Europe. Asia covers an area of , about 30% of Earth's total land area and 8.7% of the Earth's total surface area. The continent, which has long been home to the majority of the human population, was the site of many of the first civilizations. Asia is notable for not only its overall large size and population, but also dense and large settlements as well as vast barely populated regions within the continent of 4.4 billion people., Quezon City (  also known as QC) is the most populous city in the Philippines. It is one of the cities that make up Metro Manila, the National Capital Region of the Philippines. Quezon City was named after Manuel L. Quezon, second President of the Philippines, who founded the city and developed it to replace Manila as the national capital for 28 years from 1948 to 1976. Quezon City is not located in and should not be confused with Quezon Province, which was also named after the president. It is the largest city in Metro Manila in terms of land area and most populated local government unit in the country., Cagayan de Oro (Cebuano: "Dakbayan sa Cagayan de Oro"; Filipino: "Lungsod ng Cagayan de Oro") is a first class highly urbanized city and the capital of the province of Misamis Oriental. It is a chartered city where governance is independent and separate from Misamis Oriental. It also serves as the regional center and business hub of Northern Mindanao (Region X), and part of the growing Metropolitan Cagayan de Oro area, which includes the city of El Salvador, towns of Opol, Alubijid, Laguindingan, Gitagum at the western side, and towns of Tagoloan, Villanueva, Jasaan, Claveria at the eastern side., Opol is a second class municipality in the province of Misamis Oriental , Philippines . According to the 2010 Philippine census , it has a population of 52,108 . Opol was created from the barrios of Opol , Igpit , and Lower Iponan , formerly part of Cagayan de Oro , by virtue of Republic Act No. 524 , approved June 15 , 1950 . The municipality is gradually becoming more urbanized , as a result of local population growth and the expansion of nearby Cagayan de Oro City . Historically , Opol was a more rural area focused on agriculture and fishing . The subdivision of rural land for new residential housing is a matter of some controversy amongst locals . The current Mayor , Dexter Q. Yasay ( younger brother of the previous mayor ) , has held office in Opol since 2010 ., Palau (historically Belau or Pelew), officially the Republic of Palau, is an island country located in the western Pacific Ocean. The country contains approximately 250 islands, forming the western chain of the Caroline Islands in Micronesia, and has an area of . The most populous island is Koror. The capital Ngerulmud is located on the nearby island of Babeldaob, in Melekeok State. Palau shares maritime boundaries with Indonesia, the Philippines, and the Federated States of Micronesia., The Philippines, officially the Republic of the Philippines, is a sovereign island country in Southeast Asia situated in the western Pacific Ocean. It consists of about 7,641 islands that are categorized broadly under three main geographical divisions from north to south: Luzon, Visayas, and Mindanao. The capital city of the Philippines is Manila and the most populous city is Quezon City, both part of Metro Manila. Bounded by the South China Sea on the west, the Philippine Sea on the east and the Celebes Sea on the southwest, the Philippines shares maritime borders with Taiwan to the north, Vietnam to the west, Palau to the east and Malaysia and Indonesia to the south., Vietnam, officially the Socialist Republic of Vietnam (SRV), is the easternmost country on the Indochina Peninsula in Southeast Asia. With an estimated 90.5 million inhabitants , it is the world's 14th-most-populous country, and the eighth-most-populous Asian country. Vietnam is bordered by China to the north, Laos to the northwest, Cambodia to the southwest, Thailand across the Gulf of Thailand to the southwest, and the Philippines, Malaysia and Indonesia across the South China Sea to the east and southeast. Its capital city has been Hanoi since the reunification of North and South Vietnam in 1976., Mindanao is the second largest and southernmost major island in the Philippines. It is also the name of one of the three island groups in the country (the other two being Luzon and the Visayas), consisting of the island of Mindanao and smaller outlying islands. Davao City is the largest city in Mindanao. As of the 2010 census, the island's population itself is 20,281,545 people, while the Mindanao island group has 21,968,174 inhabitants. Davao City is the most populous in Mindanao as 1,632,991 population, and the 2nd is Zamboanga City as 861,799 population, the 3rd is Cagayan de Oro City as 675,950 population, and followed by General Santos City as 594,446 population as of 2015 census., Malaysia is a federal constitutional monarchy located in Southeast Asia. It consists of thirteen states and three federal territories and has a total landmass of separated by the South China Sea into two similarly sized regions, Peninsular Malaysia and East Malaysia (Malaysian Borneo). Peninsular Malaysia shares a land and maritime border with Thailand and maritime borders with Singapore, Vietnam, and Indonesia. East Malaysia shares land and maritime borders with Brunei and Indonesia and a maritime border with the Philippines and Vietnam. The capital city is Kuala Lumpur, while Putrajaya is the seat of the federal government. With a population of over 30 million, Malaysia is the 44th most populous country. The southernmost point of continental Eurasia, Tanjung Piai, is in Malaysia. Located in the tropics, Malaysia is one of 17 megadiverse countries on earth, with large numbers of endemic species., Luzon is the largest and most populous island in the Philippines and the 15th largest in the world. Located in the northern region of the archipelago, it is the economic and political center of the nation, being home to the country's capital city, Manila, as well as Quezon City, the country's most populous. With a population of 52.99 million , it is the fourth most populous island in the world (after Java, Honshu, and Great Britain), containing about 53% of the country's total population., Northern Mindanao is an administrative region in the Philippines, designated as Region X. It comprises five provinces: Camiguin, Misamis Oriental, Lanao del Norte, Bukidnon and Misamis Occidental and two cities classified as "highly urbanized", all occupying the north-central part of Mindanao island, and the island-province of Camiguin. The regional center is Cagayan de Oro. Lanao del Norte was transferred to Northern Mindanao from Region XII (then called "Central Mindanao") by virtue of "Executive Order No. 36" in September 2001., Taiwan, officially the Republic of China (ROC), is a state in East Asia. Neighbors include China (officially the People's Republic of China, abbreviated as PRC) to the west, Japan to the northeast, and the Philippines to the south.
Taiwan is the most populous state that is not a member of the United Nations, and the one with the largest economy., The Celebes Sea of the western Pacific Ocean is bordered on the north by the Sulu Archipelago and Sulu Sea and Mindanao Island of the Philippines, on the east by the Sangihe Islands chain, on the south by Sulawesi's Minahassa Peninsula, and on the west by Kalimantan in Indonesia. It extends 420 miles (675 km) north-south by 520 miles (837 km) east-west and has a total surface area of , to a maximum depth of . The sea opens southwest through the Makassar Strait into the Java Sea., Misamis Oriental is a province located in the region of Northern Mindanao in the Philippines. Its capital and provincial center is the city of Cagayan de Oro, which is governed independently from the province., The Visayas or the Visayan Islands (Visayan: "Kabisay-an",  ), is one of the three principal geographical divisions of the Philippines, along with Luzon and Mindanao. It consists of several islands, primarily surrounding the Visayan Sea, although the Visayas are considered the northeast extremity of the entire Sulu Sea. Its inhabitants are predominantly the Visayan people., Southeast Asia or Southeastern Asia is a subregion of Asia, consisting of the countries that are geographically south of China, east of India, west of New Guinea and north of Australia. The region lies near the intersection of geological plates, with heavy seismic and volcanic activity. Southeast Asia consists of two geographic regions:, Manila (or ), officially City of Manila, is the capital of the Philippines., China, officially the People's Republic of China (PRC), is a unitary sovereign state in East Asia. With a population of over 1.381 billion, it is the world's most populous country. The state is governed by the Communist Party of China, and its capital is Beijing. It exercises jurisdiction over 22 provinces, five autonomous regions, four direct-controlled municipalities (Beijing, Tianjin, Shanghai, and Chongqing), and two mostly self-governing special administrative regions (Hong Kong and Macau), and claims sovereignty over Taiwan. The country's major urban areas include Shanghai, Guangzhou, Beijing, Chongqing, Shenzhen, Tianjin and Hong Kong. China is a great power and a major regional power within Asia, and has been characterized as a potential superpower., The Philippine Sea is a marginal sea east and northeast of the Philippines occupying an estimated surface area of 5 million km² (2 million mi²). of the western part of the North Pacific Ocean. It is bordered by the Philippine archipelago (Luzon, Catanduanes, Samar, Leyte and Mindanao) on the southwest; Halmahera, Morotai, Palau, Yap, and Ulithi (of the Carolines) on the southeast; the Marianas, including Guam, Saipan, and Tinian, on the east; the Bonin and Iwo Jima on the northeast; the Japanese islands of Honshu, Shikoku, and Kysh on the north; the Ryukyu Islands on the northwest; and Taiwan in the west., An island country is a country whose primary territory consists of one or more islands or parts of islands. As of 2011, 46 (approximately 24%) of the 193 UN member states are island countries., The South China Sea is a marginal sea that is part of the Pacific Ocean, encompassing an area from the Karimata and Malacca Straits to the Strait of Taiwan of around . The area's importance largely results from one-third of the world's shipping sailing through its waters and that it is believed to hold huge oil and gas reserves beneath its seabed., Metropolitan Manila, commonly known as Metro Manila or simply Manila, is the capital region of the Philippines, is the seat of government, the 2nd most populous and the most densely populated region of the country. The National Capital Region (NCR) is composed of Manila, the capital city of the country, Quezon City, the country's most populous city, and the cities of Caloocan, Las Piñas, Makati, Malabon, Mandaluyong, Marikina, Muntinlupa, Navotas, Parañaque, Pasay, Pasig, San Juan, Taguig, and Valenzuela, including the only remaining municipality of Pateros., Indonesia (or ; Indonesian: ), officially the Republic of Indonesia, is a unitary sovereign state and transcontinental country located mainly in Southeast Asia with some territories in Oceania. Situated between the Indian and Pacific oceans, it is the world's largest island country, with more than seventeen thousand islands. At , Indonesia is the world's 14th-largest country in terms of land area and world's 7th-largest country in terms of combined sea and land area. It has an estimated population of over 260 million people and is the world's fourth most populous country, the most populous Austronesian nation, as well as the most populous Muslim-majority country. The world's most populous island of Java contains more than half of the country's population., Subject: opol, Relation: shares_border_with, Options: (A) as (B) asia (C) cagayan de oro (D) celebes sea (E) chongqing (F) davao city (G) east (H) el salvador (I) general santos (J) guangzhou (K) hong kong (L) indonesia (M) island (N) java sea (O) leyte (P) major (Q) malaysia (R) manila (S) misamis oriental (T) most (U) muntinlupa (V) national capital region (W) navotas (X) north (Y) northern region (Z) northwest ([) opol (\) pacific ocean (]) palau (^) parañaque (_) pasig (`) putrajaya (a) quezon (b) quezon city (c) san juan (d) shanghai (e) south (f) southwest (g) sulu sea (h) tagoloan (i) taiwan (j) tianjin (k) valenzuela (l) vietnam (m) west

A:
el salvador
****