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

Example Input: Context: Johnnie Mortimer , born Clare Suffolk , ( 2 July 1931 -- 2 September 1992 ) was a British scriptwriter for British TV whose work , along with creative writing partner Brian Cooke , also served as inspiration for American television projects ., George and Mildred is a British sitcom that was produced by Thames Television that aired from 1976 to 1979. It was a spin-off from "Man About the House" and starred Brian Murphy and Yootha Joyce as constantly sparring married couple, George and Mildred Roper. The premise of the series had George and Mildred leaving their flat as depicted in "Man About the House" and moving to a modern, upmarket housing estate. Their arrival horrifies their snobbish neighbour Jeffrey Fourmile, a middle-class estate agent who fears that the Ropers' presence will devalue his home., Brian Cooke (born 1937, in Liverpool, Merseyside, Northern England) is a British comedy writer who, along with co-writer, Johnnie Mortimer, wrote scripts for and devised many of the top television sitcoms during the 1970s, including "Man About the House", "George and Mildred", and "Robin's Nest"., Man About the House is a British sitcom starring Richard O'Sullivan, Paula Wilcox and Sally Thomsett, with Yootha Joyce and Brian Murphy, that was broadcast for six series on ITV from 15 August 1973 to 7 April 1976. It was created and written by Brian Cooke and Johnnie Mortimer. The series was considered daring at the time due to its subject matter of a man sharing a flat with two single women. It was made by Thames Television and recorded at their Teddington studio in Greater London. It is regularly repeated on ITV3., Robin's Nest is a British sitcom starring Richard O'Sullivan as Robin Tripp, one of the lead characters in the sitcom, "Man About the House", which had ended on 7 April 1976. "Robin's Nest" aired for six series from 11 January 1977 to 31 March 1981, and co-starred Tessa Wyatt as Robin's girlfriend - and later wife - Vicky, and Tony Britton as her father. It was made by Thames Television and aired on network ITV., Subject: johnnie mortimer, Relation: place_of_birth, Options: (A) clare , suffolk (B) england (C) george (D) liverpool (E) made (F) march (G) merseyside (H) of (I) suffolk (J) sullivan (K) teddington (L) thames (M) time (N) wilcox
Example Output: england

Example Input: Context: A rijksmonument is a national heritage site of the Netherlands, listed by the agency Rijksdienst voor het Cultureel Erfgoed (RCE) acting for the Dutch Ministry of Education, Culture and Science., 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., Frisia or Friesland is a coastal region along the southeastern corner of the North Sea in what today is mostly a large part of the Netherlands, including modern Friesland, and smaller parts of Germany. Frisia is the traditional homeland of the Frisians, a Germanic people that speaks Frisian languages, which together with English form the Anglo-Frisian language group., 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., De Achlumer Molen is a smock mill in Achlum , Friesland , Netherlands which has been restored to working order . The mill is listed as a Rijksmonument , number 15821 ., 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., A population is the number of all the organisms of the same group or species, which live in a particular geographical area, and have the capability of interbreeding., 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., 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., Drenthe is a province of the Netherlands, located in the northeast of the country. It is bordered by Overijssel to the south, Friesland to the west, Groningen to the north, and Germany (districts of Emsland and Bentheim) to the east. In 2014, it had a population of 488,957 and a total area of ., Overijssel (Dutch Low Saxon: "Oaveriessel" ) is a province of the Netherlands in the central-eastern part of the country. The province's name translates to "[Land] across the IJssel", from the perspective of the bishopric of Utrecht by which it was held until 1528. The capital city of Overijssel is Zwolle and the largest city is Enschede. The province has a population of 1,113,529 inhabitants., 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., North Holland (, West Frisian: "Noard-Holland") is a province in the northwest of the Netherlands. It is situated on the North Sea, north of South Holland and Utrecht, and west of Friesland and Flevoland. As of 2015, it has a population of 2,762,163 and a total area of ., 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 ., Rijksdienst voor het Cultureel Erfgoed (RCE, Cultural Heritage Agency of the Netherlands) often abbreviated as Cultureel Erfgoed, is a Dutch heritage organisation working for the protection and conservation of National Heritage Sites. It is located in Amersfoort, province of Utrecht., Friesland (official) or Frisia is a province in the northwest of the Netherlands. It is situated west of Groningen, northwest of Drenthe and Overijssel, north of Flevoland, northeast of North Holland, and south of the North Sea. In 2010, the province had a population of 646,000 and a total area of ., 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., Franeker is one of the eleven historical cities of Friesland and capital of the municipality of Franekeradeel. It is located about 20 km west of Leeuwarden on the Van Harinxma Canal. As of 1 January 2006, it had 12,996 inhabitants. The Eisinga Planetarium from around the year 1800 is located in the city., 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., 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 ., 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., 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., 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)., 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 smock mill is a type of windmill that consists of a sloping, horizontally weatherboarded or thatched tower, usually with six or eight sides. It is topped with a roof or cap that rotates to bring the sails into the wind. This type of windmill got its name from its resemblance to smocks worn by farmers in an earlier period., Flevoland is the twelfth province of the Netherlands. It is located in the centre of the country, where the former Zuiderzee was., A windmill is a mill that converts the energy of wind into rotational energy by means of vanes called sails or blades. Centuries ago, windmills usually were used to mill grain, pump water, or both. Thus they often were gristmills, windpumps, or both. The majority of modern windmills take the form of wind turbines used to generate electricity, or windpumps used to pump water, either for land drainage or to extract groundwater., 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., Achlum is a village in the Dutch province of Friesland. It is located in the municipality Franekeradeel, about 7 km southwest of the city of Franeker., Franekeradeel is a municipality in the northern Netherlands. It was created in 1984 by combining an earlier Franekeradeel municipality with the city of Franeker and parts of the former municipality of Barradeel., Subject: de achlumer molen, Relation: located_in_the_administrative_territorial_entity, Options: (A) amsterdam (B) atlantic ocean (C) belgium (D) caribbean (E) centre (F) cologne (G) drenthe (H) enschede (I) europe (J) flemish community (K) flevoland (L) franekeradeel (M) friesland (N) germany (O) groningen (P) hamburg (Q) holland (R) ireland (S) kingdom of great britain (T) luxembourg (U) mainland (V) meuse (W) munich (X) netherlands (Y) north (Z) north holland ([) northern (\) northern ireland (]) northwest (^) of (_) overijssel (`) rhine (a) rotterdam (b) scandinavia (c) south (d) south holland (e) the hague (f) union (g) united kingdom (h) utrecht (i) van (j) west (k) zwolle
Example Output: franekeradeel

Example Input: Context: Buchan is one of the six committee areas and administrative areas of Aberdeenshire Council, Scotland. These areas were created by the council in 1996, when the Aberdeenshire council area was created under the Local Government etc (Scotland) Act 1994. The council area was formed by merging three districts of the Grampian Region, Banff and Buchan, Gordon and Kincardine and Deeside. The committee area of Buchan was formed from part of the former district of Banff and Buchan., Mary, Queen of Scots (8 December 1542  8 February 1587), also known as Mary Stuart or Mary I of Scotland, reigned over Scotland from 14 December 1542 to 24 July 1567. , Scottish Gaelic or Scots Gaelic, sometimes also referred to as Gaelic (" ), is a Celtic language native to Scotland. A member of the Goidelic branch of the Celtic languages, Scottish Gaelic, like Modern Irish and Manx, developed out of Middle Irish., Great Britain, also known as Britain , is a large island in the north Atlantic Ocean off the northwest coast of continental Europe. With an area of , Great Britain is the largest European island and the ninth-largest in the world. In 2011 the island had a population of about 61 million people, making it the world's third-most populous island after Java in Indonesia and Honshu in Japan. The island of Ireland is situated to the west of it, and together these islands, along with over 1,000 smaller surrounding islands, comprise the British Isles archipelago., The Atlantic Ocean is the second largest of the world's oceans with a total area of about . It covers approximately 20 percent of the Earth's surface and about 29 percent of its water surface area. It separates the "Old World" from the "New World"., The Irish Sea (, , , Ulster-Scots: "Airish Sea"), separates the islands of Ireland and Great Britain. It is connected to the Celtic Sea in the south by St George's Channel, and to the Inner Seas off the West Coast of Scotland in the north by the North Channel. Anglesey is the largest island within the Irish Sea, followed by the Isle of Man. The sea is occasionally, but rarely, referred to as the Manx Sea., Rattray Head, historically Rattray Point, is a headland in Buchan, Aberdeenshire, on the north-east coast Scotland. To north lies Strathbeg Bay and Rattray Bay is to its south. The dunes at Rattray Head beach can be up to high and stretch from St Combs to Peterhead., The Hebrides (Scottish Gaelic: "Innse Gall"; Old Norse: "Suðreyjar") comprise a widespread and diverse archipelago off the west coast of mainland Scotland. There are two main groups: the Inner and Outer Hebrides. These islands have a long history of occupation dating back to the Mesolithic, and the culture of the residents has been affected by the successive influences of Celtic, Norse, and English-speaking peoples. This diversity is reflected in the names given to the islands, which are derived from the languages that have been spoken there in historic and perhaps prehistoric times., The Northern Isles  is an archipelago comprising a chain of islands off the north coast of mainland Scotland. The climate is cool and temperate and much influenced by the surrounding seas. There are two main island groups: Shetland and Orkney. There are a total of 26 inhabited islands with landscapes of the fertile agricultural islands of Orkney contrasting with the more rugged Shetland islands to the north, where the economy is more dependent on fishing and the oil wealth of the surrounding seas. Both have a developing renewable energy industry. They also share a common Pictish and Norse history. Both island groups were absorbed into the Kingdom of Scotland in the 15th century and remained part of the country following the formation of the Kingdom of Great Britain in 1707, and later the United Kingdom after 1801. The islands played a significant naval role during the world wars of the 20th century., St Combs is a small fishing village in Aberdeenshire, Scotland immediately southwest of Inverallochy near Fraserburgh which has existed since at least the 17th century. It takes its name from a church to St Colm or Columba that used to exist in the area., Aberdeenshire is one of the 32 council areas of Scotland., 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., Peterhead is a town in Aberdeenshire, Scotland. It is Aberdeenshire's biggest settlement (the city of Aberdeen itself not being a part of the district), with a population of 18,537 at the 2011 Census., 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., 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., Rattray ( historic : Rettre ; occasionally : Rattery ; Scottish Gaelic : Raitear ) , ( found at grid reference NK088578 ) had been settled as far back as 4000 BC and was named a Royal Burgh in 1563 by Mary , Queen of Scots , `` to put an end to the disputes about superiority over it between William Keith , 4th Earl Marischal and George Hay , 7th Earl of Erroll '' . The ancient burgh was located near to Crimond , Scotland , but the village was largely destroyed and never recovered after a storm in the 18th century that covered it in shifting sands from the nearby dunes at Rattray Head . However , there is still a small modern settlement in the area . The nearby lagoon , Strathbeg Bay ( also known as Strathbeg Water or Water of Rattray ) had been an `` open estuary which was navigable to trading ships '' suiting itself to Starny Keppie harbour around which Rattray flourished . However , by 1654 , the harbour was silting up badly and was finally cut off when shifting sands during a massive 1720 storm cut off the lagoon to form Loch Strathbeg , `` trapping a small vessel laden with slates '' , which were subsequently used for the roofs in Crimond and Haddo House . The harbour was guarded by two of the Nine Castles of Knuckle . The Comyn family 's Castle of Rattray stood on Castlehill ( at the time a rock on the coast ) on the harbour side and Lonmay Castle on the north shore , of which there are little remains due to quarrying and the site being covered in sand dunes . Still clearly visible today , the ruined St Mary 's Chapel was built as a private place of worship by the Comyn family at the same time as the construction of the Castle of Rattray . To the west of Rattray on the banks of Loch Strathbeg is the historical site Battle Fauld . The name most likely comes from the `` scene of a conflict with the Danes in the time of their later invasions . '' Indeed , the same source explains that the local dialect and pronunciation ( in 1888 ) used words that `` are good Danish or Norwegian '' and calls the type of language features used as `` thoroughly Norse '' to anyone `` who knows anything about the Norse family of speech '' . The ballad Sir James the Rose was set in Battle Fauld where he is supposedly buried ., Crimond is a village in the northeast of Scotland, located nine miles northwest of the port of Peterhead and just over two miles from the coast., 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 ., Middle Irish (sometimes called Middle Gaelic) is the Goidelic language which was spoken in Ireland, most of Scotland and the Isle of Man from the 10th to 12th centuries; it is therefore a contemporary of late Old English and early Middle English. The modern Goidelic languagesIrish, Scottish Gaelic and Manxare all descendants of Middle Irish., Scotland (Scots: ) is a country that is part of the United Kingdom and covers the northern third of the island of Great Britain. It shares a border with England to the south, and is otherwise surrounded by the Atlantic Ocean, with the North Sea to the east and the North Channel and Irish Sea to the south-west. In addition to the mainland, the country is made up of more than 790 islands, including the Northern Isles and the Hebrides., Subject: rattray, Relation: located_in_the_administrative_territorial_entity, Options: (A) aberdeen (B) aberdeenshire (C) atlantic ocean (D) centre (E) earth (F) england (G) france (H) germany (I) grampian (J) ireland (K) isle of man (L) japan (M) java (N) mainland (O) mary (P) north (Q) northern (R) northwest (S) of (T) orkney (U) peterhead (V) scandinavia (W) scotland (X) shetland (Y) south (Z) stuart ([) ulster (\) united kingdom (]) wales (^) west
Example Output:
aberdeenshire