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

Ex Output:
university of st andrews


Ex Input:
Context: Douglas MacArthur (26 January 18805 April 1964) was an American five-star general and field marshal of the Philippine Army. He was Chief of Staff of the United States Army during the 1930s and played a prominent role in the Pacific theater during World War II. He received the Medal of Honor for his service in the Philippines Campaign, which made him and his father Arthur MacArthur, Jr., the first father and son to be awarded the medal. He was one of only five men ever to rise to the rank of General of the Army in the US Army, and the only man ever to become a field marshal in the Philippine Army., During World War II, the American atomic bombings of Hiroshima and Nagasaki made Nagasaki the second and, to date, last city in the world to experience a nuclear attack., Kokopo is the capital of East New Britain in Papua New Guinea. The capital was moved from Rabaul in 1994 when the volcanoes Tavurvur and Vulcan erupted. As a result, the population of the town increased more than sixfold from 3,150 in 1990 to 20,262 in 2000., New Britain, is the largest island in the Bismarck Archipelago (named after Otto von Bismarck) of Papua New Guinea. It is separated from the island of New Guinea by the Dampier and Vitiaz Straits and from New Ireland by St. George's Channel. The main towns of New Britain are Rabaul/Kokopo and Kimbe. The island is roughly the size of Taiwan. While the island was part of German New Guinea, it was named Neupommern ("New Pomerania")., Chester William Nimitz (February 24, 1885February 20, 1966) was a fleet admiral of the United States Navy. He played a major role in the naval history of World War II as Commander in Chief, United States Pacific Fleet (CinCPac), for U.S. naval forces and Commander in Chief, Pacific Ocean Areas (CinCPOA), for U.S. and Allied air, land, and sea forces during World War II., The Landing at Saidor (Operation MICHAELMAS) was an Allied amphibious landing at Saidor, Papua New Guinea on 2 January 1944 as part of Operation DEXTERITY during World War II., German New Guinea was the first part of the German colonial empire. It was a protectorate from 1884 until 1914 when it fell to Australian forces following the outbreak of the First World War. It consisted of the northeastern part of New Guinea and several nearby island groups. The mainland part of German New Guinea and the nearby islands of the Bismarck Archipelago and the North Solomon Islands are now part of Papua New Guinea. The Micronesian islands of German New Guinea are now governed as the Federated States of Micronesia, the Marshall Islands, Nauru, the Northern Mariana Islands and Palau., Operation Cartwheel (19431944) was a major military strategy for the Allies in the Pacific theater of World War II. Cartwheel was a twin-axis of advance operation, aimed at militarily neutralizing the major Japanese base at Rabaul. The operation was directed by the Supreme Allied Commander in the South West Pacific Area (SWPA)General Douglas MacArthurwhose forces advanced along the northeast coast of New Guinea and occupied nearby islands. Allied forces from the Pacific Ocean Areas commandunder Admiral Chester W. Nimitzadvanced through the Solomon Islands toward Bougainville. The Allied forces involved were from Australia, the Netherlands, New Zealand, the US and various Pacific Islands., 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 Bismarck Archipelago is a group of islands off the northeastern coast of New Guinea in the western Pacific Ocean and is part of the Islands Region of Papua New Guinea. Its area is about 50,000 square km., The United States dropped nuclear weapons on the Japanese cities of Hiroshima and Nagasaki on August 6 and 9, 1945, respectively, during the final stage of World War II. The United States had dropped the bombs with the consent of the United Kingdom as outlined in the Quebec Agreement. The two bombings, which killed at least 129,000 people, remain the only use of nuclear weapons for warfare in history., An island or isle is any piece of sub-continental land that is surrounded by water. Very small islands such as emergent land features on atolls can be called islets, skerries, cays or keys. An island in a river or a lake island may be called an eyot or ait, and a small island off the coast may be called a holm. A grouping of geographically or geologically related islands is called an archipelago, e.g. the Philippines., Solomon Islands is a sovereign country consisting of six major islands and over 900 smaller islands in Oceania lying to the east of Papua New Guinea and northwest of Vanuatu and covering a land area of . The country's capital, Honiara, is located on the island of Guadalcanal. The country takes its name from the Solomon Islands archipelago, which is a collection of Melanesian islands that also includes the North Solomon Islands (part of Papua New Guinea), but excludes outlying islands, such as Rennell and Bellona, and the Santa Cruz Islands., Hiroshima is perhaps best known as the first city in history to be targeted by a nuclear weapon when the United States Army Air Forces (USAAF) dropped an atomic bomb on the city (and later on Nagasaki) at 8:15 a.m. on August 6, 1945, near the end of World War II., Papua New Guinea (PNG  Hiri Motu: "Papua Niu Gini"), officially the Independent State of Papua New Guinea, is an Oceanian country that occupies the eastern half of the island of New Guinea and its offshore islands in Melanesia, a region of the southwestern Pacific Ocean north of Australia. Its capital, located along its southeastern coast, is Port Moresby. The western half of New Guinea forms the Indonesian provinces of Papua and West Papua., The Chief of Staff of the Army (CSA) is a statutory office held by a four-star general in the United States Army. As the most senior uniformed officer assigned to serve in the Department of the Army, the CSA is the principal military advisor and a deputy to the Secretary of the Army. In a separate capacity, the CSA is a member of the Joint Chiefs of Staff and, thereby, a military advisor to the National Security Council, the Secretary of Defense, and the President of the United States. The CSA is typically the highest-ranking officer on active-duty in the U.S. Army unless the Chairman and/or the Vice Chairman of the Joint Chiefs of Staff are Army officers., Vitiaz Strait is a strait between New Britain and the Huon Peninsula, northern New Guinea. , Pomerania is a region on the southern shore of the Baltic Sea in Central Europe, split between Germany and Poland., The Philippine Army (PA; Filipino: "Hukbong Katihan ng Pilipinas"; Spanish: "Ejército Filipino"), is the main, oldest and largest branch of the Armed Forces of the Philippines (AFP) responsible for ground warfare. Commanding General, Lieutenant General Eduardo Año, former Chief of Intelligence Service of the Armed Forces of the Philippines (ISAFP), assumed office on 15 July 2015. Its main headquarters is located at Fort Bonifacio. As of 8 June 2016 the National Conscription Mandate is under effect., Rabaul is a township in East New Britain province, on the island of New Britain, in the country of Papua New Guinea. New Britain is an island about 60 kilometres to the east of the island of New Guinea. Rabaul was the provincial capital and most important settlement in the province until it was destroyed in 1994 by falling ash of a volcanic eruption., Operation Dexterity was a military operation , part of Operation Cartwheel in the South West Pacific Area ( SWPA ) for the Allies in the Pacific theater of World War II. The operation was directed by the Supreme Allied Commander in the SWPA , General Douglas MacArthur . Dexterity included amphibious landings at Arawe on 15 December 1943 , and Cape Gloucester on 26 December 1943 in the northwest of New Britain , the capture of the Imperial Japanese held Tuluvu aerodrome on the 30 December 1943 and the amphibious landing at Saidor on 2 January 1944 . The operation ended on 10 February 1944 ., World War II (often abbreviated to WWII or WW2), also known as the Second World War, was a global war that lasted from 1939 to 1945, although related conflicts began earlier. It involved the vast majority of the world's nationsincluding all of the great powerseventually forming two opposing military alliances: the Allies and the Axis. It was the most widespread war in history, and directly involved more than 100 million people from over 30 countries. In a state of "total war", the major participants threw their entire economic, industrial, and scientific capabilities behind the war effort, erasing the distinction between civilian and military resources. Marked by mass deaths of civilians, including the Holocaust (in which approximately 11 million people were killed) and the strategic bombing of industrial and population centres (in which approximately one million were killed, and which included the atomic bombings of Hiroshima and Nagasaki), it resulted in an estimated 50 million to 85 million fatalities. These made World War II the deadliest conflict in human history., Kimbe is the capital of the province of West New Britain in Papua New Guinea. It is a port town on the great Kimbe Bay which boasts more than 60 percent of the coral species of the entire Indo-Pacific. The bustling town of Kimbe is the third largest port in Papua New Guinea and is the fastest growing city in the South Pacific. Accommodation in Kimbe is readily available in many high-class resorts and hotels, as well as many budget guesthouses and motels dribbled along the province. The town of Kimbe is served by Hoskins Airport., Otto Eduard Leopold, Prince of Bismarck, Duke of Lauenburg (1 April 1815  30 July 1898), known as Otto von Bismarck, was a conservative Prussian statesman who dominated German and European affairs from the 1860s until 1890. In the 1860s, he engineered a series of wars that unified the German states, significantly and deliberately excluding Austria, into a powerful German Empire under Prussian leadership. With that accomplished by 1871, he skillfully used balance of power diplomacy to maintain Germany's position in a Europe which, despite many disputes and war scares, remained at peace. For historian Eric Hobsbawm, it was Bismarck who "remained undisputed world champion at the game of multilateral diplomatic chess for almost twenty years after 1871, [and] devoted himself exclusively, and successfully, to maintaining peace between the powers.", The Holocaust (from the Greek ': "hólos", "whole" and "kaustós", "burnt"), also referred to as the Shoah"' (Hebrew: , "HaShoah", "the catastrophe"), was a genocide in which Adolf Hitler's Nazi Germany and its collaborators killed about six million Jews. The victims included 1.5 million children and represented about two-thirds of the nine million Jews who had resided in Europe. Some definitions of the Holocaust include the additional five million non-Jewish victims of Nazi mass murders, bringing the total to about 11 million. Killings took place throughout Nazi Germany, German-occupied territories, and territories held by allies of Nazi Germany., New Guinea (or, historically, "") is a large Island in the South West Pacific region., Subject: operation dexterity, Relation: country, Options: (A) austria (B) china (C) german empire (D) germany (E) guinea (F) netherlands (G) new zealand (H) palau (I) papua new guinea (J) philippines (K) poland (L) quebec (M) republic of china (N) solomon islands (O) taiwan (P) united states (Q) world

Ex Output:
papua new guinea


Ex Input:
Context: Spring Valley is a city in Fillmore County, Minnesota, United States. The population was 2,479 at the 2010 census., A census is the procedure of systematically acquiring and recording information about the members of a given population. It is a regularly occurring and official count of a particular population. The term is used mostly in connection with national population and housing censuses; other common censuses include agriculture, business, and traffic censuses. The United Nations defines the essential features of population and housing censuses as "individual enumeration, universality within a defined territory, simultaneity and defined periodicity", and recommends that population censuses be taken at least every 10 years. United Nations recommendations also cover census topics to be collected, official definitions, classifications and other useful information to co-ordinate international practice., Edward Everett Smith ( May 5 , 1861 -- July 29 , 1931 ) was a Minnesota legislator and the 18th Lieutenant Governor of Minnesota . Born in Spring Valley , Minnesota and became Lieutenant Governor under Governor Adolph Olson Eberhart from September 25 , 1909 -- January 3 , 1911 . He died in 1931 in Minneapolis ., The Governor of Minnesota is the chief executive of the U.S. state of Minnesota, leading the state's executive branch. Forty different people have been governor of Minnesota, though historically there were also three governors of Minnesota Territory. Alexander Ramsey, the first territorial governor, also served as state governor several years later. State governors are elected to office by popular vote, but territorial governors were appointed to the office by the United States president. The current governor of Minnesota is Mark Dayton of the Democratic-Farmer-Labor Party (DFL)., Minneapolis is the county seat of Hennepin County, and larger of the Twin Cities, the 16th-largest metropolitan area in the United States, containing about 3.5 million residents. As of 2015, Minneapolis is the largest city in the state of Minnesota and 46th-largest in the United States with a population of 410,939. Minneapolis and Saint Paul anchor the second-largest economic center in the Midwest, after Chicago., Minnesota (locally ) is a state in the midwestern and northern regions of the United States. Minnesota was admitted as the 32nd U.S. state on May 11, 1858, created from the eastern half of the Minnesota Territory. The state has a large number of lakes, and is known by the slogan "Land of 10,000 Lakes". Its official motto is "L'Étoile du Nord" (French: "Star of the North").
Minnesota is the 12th largest in area and the 21st most populous of the U.S. states; nearly 60 percent of its residents live in the MinneapolisSaint Paul metropolitan area (known as the "Twin Cities"), the center of transportation, business, industry, education, and government and home to an internationally known arts community. The remainder of the state consists of western prairies now given over to intensive agriculture; deciduous forests in the southeast, now partially cleared, farmed and settled; and the less populated North Woods, used for mining, forestry, and recreation.
Minnesota is known for its progressive political orientation and its high rate of civic participation and voter turnout. Until European settlement, Minnesota was inhabited by the Dakota and Ojibwe/Anishinaabe. During the 19th and early 20th centuries, the large majority of the European settlers emigrated from Scandinavia and Germany, and the state remains a center of Scandinavian American and German American culture. In recent decades, immigration from Asia, the Horn of Africa, and Latin America has broadened its historic demographic and cultural composition. Minnesota's standard of living index is among the highest in the United States, and the state is also among the best-educated and wealthiest in the nation., Chicago (or ), officially the City of Chicago, is the third-most populous city in the United States, and the fifth-most populous city in North America. With over 2.7 million residents, it is the most populous city in the state of Illinois and the Midwestern United States, and the county seat of Cook County. The Chicago metropolitan area, often referred to as Chicagoland, has nearly 10 million people and is the third-largest in the U.S., Adolph Olson Eberhart (June 23, 1870  December 6, 1944) was an American politician, who served as the 17th Governor of Minnesota., A county seat is an administrative center, seat of government, or capital city of a county or civil parish. The term is used in the United States, Canada, Romania, China and Taiwan. In the United Kingdom and Ireland, county towns have a similar function., Subject: edward everett smith, Relation: occupation, Options: (A) canada (B) cook (C) count (D) farmer (E) governor (F) official (G) politician (H) saint (I) taiwan (J) united kingdom

Ex Output:
politician