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: Amsterdam is the capital and most populous municipality of the Kingdom of the Netherlands. Its status as the capital is mandated by the Constitution of the Netherlands, although it is not the seat of the government, which is The Hague. Amsterdam has a population of 847,176 within the city proper, 1,343,647 in the urban area, and 2,431,000 in the Amsterdam metropolitan area. The city is located in the province of North Holland in the west of the country. The metropolitan area comprises much of the northern part of the Randstad, one of the larger conurbations in Europe, with a population of approximately 7 million., The North Sea is a marginal sea of the Atlantic Ocean located between Great Britain, Scandinavia, Germany, the Netherlands, Belgium, and France. An epeiric (or "shelf") sea on the European continental shelf, it connects to the ocean through the English Channel in the south and the Norwegian Sea in the north. It is more than long and wide, with an area of around ., Heeswijk is a Dutch town. It is located in the province of North Brabant, in the south of the Netherlands., Rotterdam is a city in the Netherlands, located in South Holland, within the RhineMeuseScheldt river delta at the North Sea. Its history goes back to 1270 when a dam was constructed in the Rotte river by people settled around it for safety. In 1340 Rotterdam was granted city rights by the Count of Holland and slowly grew into a major logistic and economic centre. Nowadays it is home to Europe's largest port and has a population of 633,471 (city proper), ranking second in the Netherlands. The Greater Rijnmond area is home to approximately 1.4 million people and the Rotterdam The Hague Metropolitan Area makes for the 168th most populous urban area in the world. Rotterdam is part of the yet larger Randstad conurbation with a total population of 7,100,000., The Caribbean (or ) is a region that consists of the Caribbean Sea, its islands (some surrounded by the Caribbean Sea and some bordering both the Caribbean Sea and the North Atlantic Ocean) and the surrounding coasts. The region is southeast of the Gulf of Mexico and the North American mainland, east of Central America, and north of South America., 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., Nistelrode is a small town in the Dutch province of North Brabant. It is located in the municipality of Bernheze, about 8 km south of Oss. , A municipality is usually a single urban administrative division having corporate status and powers of self-government or jurisdiction as granted by national and state laws, to which it is subordinate. It is to be distinguished from the county, which may encompass rural territory and/or numerous small communities such as towns, villages and hamlets. The term "municipality" may also mean the governing or ruling body of a given municipality. A municipality is a general-purpose administrative subdivision, as opposed to a special-purpose district. The term is derived from French "municipalité" and Latin "municipalis"., Belgium , officially the Kingdom of Belgium, is a sovereign state in Western Europe bordered by France, the Netherlands, Germany, Luxembourg, and the North Sea. It is a small, densely populated country which covers an area of and has a population of about 11 million people. Straddling the cultural boundary between Germanic and Latin Europe, Belgium is home to two main linguistic groups: the Dutch-speaking, mostly Flemish community, which constitutes about 59% of the population, and the French-speaking, mostly Walloon population, which comprises 41% of all Belgians. Additionally, there is a small group of German-speakers who live in the East Cantons located around the High Fens area, and bordering Germany., Germany, officially the Federal Republic of Germany, is a federal parliamentary republic in central-western Europe. It includes 16 constituent states, covers an area of , and has a largely temperate seasonal climate. With about 82 million inhabitants, Germany is the most populous member state of the European Union. After the United States, it is the second most popular immigration destination in the world. Germany's capital and largest metropolis is Berlin. Other major cities include Hamburg, Munich, Cologne, Frankfurt, Stuttgart and Düsseldorf., Holland is a region and former province on the western coast of the Netherlands. The name "Holland" is also frequently used to informally refer to the whole of the country of the Netherlands. This usage is commonly accepted in other countries, and not entirely uncommon among the Dutch themselves, though some in the Netherlands and particularly in other regions of the country may find it undesirable, misleading or insulting., The Netherlands  is the main constituent country of the Kingdom of the Netherlands. It is a densely populated country located in Western Europe with three island territories in the Caribbean. The European part of the Netherlands borders Germany to the east, Belgium to the south, and the North Sea to the northwest, sharing maritime borders with Belgium, the United Kingdom, and Germany. The largest cities in the Netherlands are Amsterdam, Rotterdam, The Hague and Utrecht. Amsterdam is the country's capital, while The Hague holds the Dutch seat of government and parliament. The name "Holland" is used to refer informally to the whole of the country of the Netherlands., In modern politics and history, a parliament is a legislative, elected body of government. Generally a modern parliament has three functions: representing the electorate, making laws, and overseeing the government ("i.e.", hearings, inquiries)., A town is a human settlement larger than a village but smaller than a city. The size definition for what constitutes a "town" varies considerably in different parts of the world., The Kingdom of the Netherlands , commonly known as the Netherlands, is a sovereign state and constitutional monarchy with territory in western Europe and in the Caribbean., An administrative division, unit, entity, area or region, also referred to as a subnational entity, constituent unit, or country subdivision, is a portion of a country or other region delineated for the purpose of administration. Administrative divisions are granted a certain degree of autonomy and are usually required to manage themselves through their own local governments. Countries are divided up into these smaller units to make managing their land and the affairs of their people easier. For example, a country may be divided into provinces, which, in turn, are divided into counties, which, in turn, may be divided in whole or in part into municipalities; and so on., Western Europe, also West Europe, is the region comprising the western part of the European continent. There may be differences between the geopolitical and purely geographic definitions of the term., A country is a region that is identified as a distinct national entity in political geography. A country may be an independent sovereign state or one that is occupied by another state, as a non-sovereign or formerly sovereign political division, or a geographic region associated with sets of previously independent or differently associated people with distinct political characteristics. Regardless of the physical geography, in the modern internationally accepted legal definition as defined by the League of Nations in 1937 and reaffirmed by the United Nations in 1945, a resident of a country is subject to the independent exercise of legal jurisdiction., Oss is a municipality and a city in the southern Netherlands, in the province of North Brabant., The Hague (or "<nowiki>'</nowiki>s-Gravenhage" ) is a city located in the western coast of the Netherlands, and the capital city of the province of South Holland., A village is a clustered human settlement or community, larger than a hamlet but smaller than a town, with a population ranging from a few hundred to a few thousand. Though often located in rural areas, the term urban village is also applied to certain urban neighbourhoods. Villages are normally permanent, with fixed dwellings; however, transient villages can occur. Further, the dwellings of a village are fairly close to one another, not scattered broadly over the landscape, as a dispersed settlement., Utrecht is the capital and most populous city in the Dutch province of Utrecht. It is located in the eastern corner of the Randstad conurbation and is the fourth largest city in the Netherlands with a population of in ., Noord Brabant, also unofficially called Brabant, is a province in the south of the Netherlands. It borders the provinces of South Holland and Gelderland to the north, Limburg to the east, Zeeland to the west, and the Belgian provinces of Antwerp and Limburg to the south. The northern border follows the Meuse (Maas) river westward to its mouth in the Hollands Diep strait, part of the RhineMeuseScheldt delta.
History.
The Duchy of Brabant was a state of the Holy Roman Empire established in 1183 or 1190. It developed from the Landgraviate of Brabant and formed the heart of the historic Low Countries, part of the Burgundian Netherlands from 1430 and of the Habsburg Netherlands from 1482, until it was split up after the Dutch revolt. After the War of Independence, Catholics in the Southern Netherlands were systematically and officially discriminated against by the Northern Protestant government until the second half of the 20th century, which had a major influence on the economic and cultural development of the southern part of the Netherlands. 
Present-day North Brabant (Staats-Brabant) was adjudicated to the Generality Lands of the Dutch Republic according to the 1648 Peace of Westphalia, while the reduced duchy remained in existence with the Southern Netherlands until it was conquered by French Revolutionary forces in 1794., A county is a geographical region of a country used for administrative or other purposes, in certain modern nations. The term is derived from the Old French "conté" or "cunté" denoting a jurisdiction under the sovereignty of a count (earl) or a viscount. The modern French is "comté", and its equivalents in other languages are "contea", "contado", "comtat", "condado", "Grafschaft", "graafschap", "Gau", etc. (cf. "conte", "comte", "conde", "Graf")., Dinther is a former town in the Dutch province of North Brabant. It is located in the municipality of Bernheze. , Bernheze ( pronunciation ) is a municipality in the southern Netherlands . It was formed in 1994 from the former municipalities of Heesch , Heeswijk - Dinther and Nistelrode ., Subject: bernheze, Relation: located_in_the_administrative_territorial_entity, Options: (A) amsterdam (B) antwerp (C) atlantic ocean (D) belgium (E) bernheze (F) caribbean (G) central (H) centre (I) cologne (J) comtat (K) district (L) düsseldorf (M) europe (N) european union (O) flemish community (P) frankfurt (Q) germany (R) goes (S) gulf (T) habsburg (U) hamlet (V) holland (W) ireland (X) kingdom of the netherlands (Y) luxembourg (Z) mainland ([) meuse (\) mexico (]) munich (^) netherlands (_) noord (`) north (a) north brabant (b) northwest (c) of (d) oss (e) roman empire (f) rotterdam (g) scandinavia (h) south (i) south holland (j) stuttgart (k) the hague (l) united kingdom (m) utrecht

Ex Output:
north brabant


Ex Input:
Context: The United States Military Academy (USMA), also known as West Point, Army, The Academy, or simply The Point, is a four-year coeducational federal service academy located in West Point, New York in Orange County. It sits on scenic high ground overlooking the Hudson River, north of New York City., West Point is the oldest continuously occupied military post in the United States. West Point was established in 1775 by George Washington who considered it the most important strategic position in America. Until January 1778, West Point was not occupied by the military. On January 27, 1778, Brigadier General Samuel Holden Parsons and his brigade crossed the ice on the Hudson River and climbed to the plain on West Point and from that day to the present, West Point has been occupied by the United States Army. It comprises approximately including the campus of the United States Military Academy at West Point, which is also frequently called "West Point". It is a Census Designated Place (CDP) located in the Town of Highlands in Orange County, New York, located on the western bank of the Hudson River. The population was 6,763 at the 2010 census. It is part of the New York-Newark-Jersey City, NY-NJ-PA Metropolitan Statistical Area as well as the larger New York-Newark, NY-NJ-CT-PA Combined Statistical Area., The City of New York, often called New York City or simply New York, is the most populous city in the United States. With an estimated 2015 population of 8,550,405 distributed over a land area of just , New York City is also the most densely populated major city in the United States. Located at the southern tip of the state of New York, the city is the center of the New York metropolitan area, one of the most populous urban agglomerations in the world. A global power city, New York City exerts a significant impact upon commerce, finance, media, art, fashion, research, technology, education, and entertainment, its fast pace defining the term "New York minute". Home to the headquarters of the United Nations, New York is an important center for international diplomacy and has been described as the cultural and financial capital of the world., John Clifford Hodges Lee ( August 1 , 1887 -- August 30 , 1958 ) was a US Army general . He graduated 12th out of 103 graduates from the United States Military Academy in 1909 . He served in World War I , World War II and rose to the rank of lieutenant general ., The Hudson River is a river that flows from north to south primarily through eastern New York in the United States. The river originates in the Adirondack Mountains of Upstate New York, flows through the Hudson Valley, and eventually drains into the Atlantic Ocean, between New York City and Jersey City. The river serves as a political boundary between the states of New Jersey and New York, and further north between New York counties. The lower half of the river is a tidal estuary occupying the Hudson Fjord, which formed during the most recent period of North American glaciation, estimated at 26,000 to 13,300 years ago. Tidal waters influence the Hudson's flow from as far north as Troy., Subject: john c. h. lee, Relation: place_of_death, Options: (A) george (B) home (C) hudson (D) jersey (E) new jersey (F) new york (G) new york city (H) troy (I) washington (J) west point (K) york

Ex Output:
york


Ex Input:
Context: Llywelyn ap Gruffudd (c. 1223  11 December 1282), sometimes written as Llywelyn ap Gruffydd, also known as Llywelyn the Last, or, in Welsh, Llywelyn Ein Llyw Olaf, was Prince of Wales (Latin; "Princeps Wallie", Welsh; "Tywysog Cymru") from 1258 until his death at Cilmeri in 1282. The son of Gruffudd ap Llywelyn Fawr and grandson of Llywelyn the Great, he was the last sovereign prince of Wales before its conquest by Edward I of England., The Hundred Years' War was a series of conflicts waged from 1337 to 1453 by the House of Plantagenet, rulers of the Kingdom of England, against the House of Valois, rulers of the Kingdom of France, over the succession of the French throne. Each side drew many allies into the war. It was one of the most notable conflicts of the Middle Ages, in which five generations of kings from two rival dynasties fought for the throne of the largest kingdom in Western Europe. The war marked both the height of chivalry and its subsequent decline, and the development of strong national identities in both countries., Jean Froissart (Old French, Middle French "Jehan",  ) was a French-speaking medieval author and court historian from the Low Countries, who wrote several works, including "Chronicles" and "Meliador", a long Arthurian romance, and a large body of poetry, both short lyrical forms, as well as longer narrative poems. For centuries, "Froissart's Chronicles" have been recognised as the chief expression of the chivalric revival of the 14th century Kingdom of England and Kingdom of France. His history is also an important source for the first half of the Hundred Years' War., Joan , LG , suo jure 4th Countess of Kent , 5th Baroness Wake of Liddell ( 19 September 1328 -- 7 August 1385 ) , known to history as The Fair Maid of Kent , was the first post-conquest Princess of Wales as wife to Edward , the Black Prince , son and heir of King Edward III. Although the French chronicler Jean Froissart called her `` the most beautiful woman in all the realm of England , and the most loving '' , the appellation `` Fair Maid of Kent '' does not appear to be contemporary . Joan assumed the title of 4th Countess of Kent and 5th Baroness Wake of Liddell after the death of her brother , John , in 1352 ., Princess of Wales is a British courtesy title held by the wife of the Prince of Wales, who is, since the 14th century, the heir apparent of the English or British monarch. The first acknowledged title holder was Eleanor de Montfort, wife of Llywelyn ap Gruffudd. It has subsequently been used by wives of post-conquest princes of Wales., Subject: joan of kent, Relation: noble_family, Options: (A) grandson (B) house of plantagenet

Ex Output:
house of plantagenet