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: The Naked City is a 1948 film noir directed by Jules Dassin. Based on a story by Malvin Wald, the film depicts the police investigation that follows the murder of a young model, incorporating heavy elements of police procedure. A veteran cop is placed in charge of the case and he sets about, with the help of other beat cops and detectives, to find the girl's killer. The movie, shot partially in documentary style, was filmed on location on the streets of New York City and features landmarks such as the Williamsburg Bridge, the Whitehall Building, and an apartment building on West 83rd Street in Manhattan as the scene of the murder., Malvin Daniel Wald (August 8, 1917  March 6, 2008) was an American screenwriter most famous for writing the 1948 police drama "The Naked City", for which he was nominated for the Academy Award for Best Story. He wrote over 150 scripts for motion pictures and TV shows including "Peter Gunn", "Daktari", and "Perry Mason". He also served with the Army Air Forces and taught screenwriting at the University of Southern California. He died at Sherman Oaks Hospital in Los Angeles from age-related causes at age 90., The spy film genre deals with the subject of fictional espionage, either in a realistic way (such as the adaptations of John le Carré) or as a basis for fantasy (such as many James Bond films). Many novels in the spy fiction genre have been adapted as films, including works by John Buchan, le Carré, Ian Fleming (Bond) and Len Deighton. It is a significant aspect of British cinema, with leading British directors such as Alfred Hitchcock and Carol Reed making notable contributions and many films set in the British Secret Service., The House on 92nd Street is a 1945 black - and - white American spy film directed by Henry Hathaway . The film , shot mainly in New York City , was released shortly after the end of World War II. The House on 92nd Street was made with the full cooperation of the Federal Bureau of Investigation ( FBI ) , and its head , J. Edgar Hoover , appears during the introduction . Also , the FBI agents in Washington were played by actual agents . The film 's semidocumentary style inspired other films including The Naked City ., Sir Carol Reed (30 December 1906  25 April 1976) was an English film director best known for "Odd Man Out" (1947), "The Fallen Idol" (1948) and "The Third Man" (1949). For "Oliver!" (1968), he received the Academy Award for Best Director., Subject: the house on 92nd street, Relation: nominated_for, Options: (A) academy award for best director (B) academy award for best story
Example Output: academy award for best story

Example Input: Context: The Poltva River ( Ukrainian :  ; Polish : Petew ) is a river in the western Ukrainian Oblast of Lviv and a tributary of the Bug River . The capital of the Lviv Oblast , Lviv , is located on the river . In the 19th century the river was included into the underground sewer system of Lviv ., The Second Polish Republic, also known as the Second Commonwealth of Poland or interwar Poland, refers to the country of Poland between the First and Second World Wars (19181939). Officially known as the Republic of Poland or the Commonwealth of Poland, the Polish state was recreated in 1918, in the aftermath of World War I. When, after several regional conflicts, the borders of the state were fixed in 1922, Poland's neighbours were Czechoslovakia, Germany, the Free City of Danzig, Lithuania, Latvia, Romania and the Soviet Union. It had access to the Baltic Sea via a short strip of coastline either side of the city of Gdynia. Between March and August 1939, Poland also shared a border with the then-Hungarian governorate of Subcarpathia. Despite internal and external pressures, it continued to exist until 1939, when Poland was invaded by Nazi Germany, the Soviet Union and the Slovak Republic, marking the beginning of World War II in Europe. The Second Republic was significantly different in territory to the current Polish state. It included substantially more territory in the east and less in the west., The Bug River (or Western Bug "Zakhidnyy Buh, ") is a major European river which flows through three countries with a total length of ., Lviv (',   ', ; Yiddish: ; Latin: "Leopolis"), the largest city in western Ukraine and the seventh largest city in the country overall, is one of the main cultural centres of Ukraine. Named in honor of the Leo, the eldest son of Rus' King Daniel of Galicia. It was the capital of the Kingdom of GaliciaVolhynia (also called Kingdom of Rus') from 1272 to 1349, when it was conquered by King Casimir III the Great who then became known as the King of Poland and Rus'. From 1434, it was the regional capital of the Ruthenian Voivodeship in the Kingdom of Poland and was known as Lwów. In 1772, after the First partition of Poland, the city became the capital of the Habsburg Kingdom of Galicia and Lodomeria and was renamed to Lemberg. In 1918 in a short time was the capital of the West Ukrainian People's Republic. Between the wars, the city was known again as Lwów and was the centre of the Lwów Voivodeship in the Second Polish Republic. After World War II, it became part of the Soviet Union (Ukrainian SSR) and in 1991 of independent Ukraine. 
Administratively, Lviv serves as the administrative center of Lviv Oblast and has the status of city of oblast significance. Its population is ., Ukraine (tr. ) is a sovereign state in Eastern Europe, bordered by Russia to the east and northeast, Belarus to the northwest, Poland and Slovakia to the west, Hungary, Romania, and Moldova to the southwest, and the Black Sea and Sea of Azov to the south and southeast, respectively. Ukraine is currently in territorial dispute with Russia over the Crimean Peninsula which Russia annexed in 2014 but which Ukraine and most of the international community recognise as Ukrainian. Including Crimea, Ukraine has an area of , making it the largest country entirely within Europe and the 46th largest country in the world. It has a population of about 44.5 million, making it the 32nd most populous country in the world., Subject: poltva river, Relation: mouth_of_the_watercourse, Options: (A) main (B) sea (C) sea of azov (D) western bug
Example Output: western bug

Example Input: Context: 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., 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 ., The Pass of Drumochter is the main mountain pass between the northern and southern central Scottish Highlands. The A9 road passes through here, as does the Highland Main Line, the railway between Inverness and the south of Scotland. The Sustrans National Cycle Route 7 between Glasgow and Inverness also runs through the pass., Weem ( Scottish Gaelic : Baile a ' Chlachain ) is a village on the B846 near Aberfeldy in Perthshire , Scotland . The name Weem is derived from the Gaelic uamh , meaning ' cave ' . Nearby is Castle Menzies , formerly known as Weem Castle , where Bonnie Prince Charlie spent two nights on his way to the Battle of Culloden in 1746 . One of Scotland 's best - preserved 16th - century castles , Castle Menzies is the seat of Clan Menzies . Looked after by a private preservation trust , the Castle and grounds are open to visitors in summer ( entrance charge ) . The Old Parish Church of Weem , of medieval origin , contains the funerary monuments of the Menzies family going back to the 16th century , and the heraldic hatchments carried at their funerals . Key from neighbouring cottage . There are two pubs in Weem , the Ailean Chraggan and the Weem Hotel ., 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., Ben Lui (Scottish Gaelic: Beinn Laoigh) is a mountain in the southern Highlands of Scotland, at the head of Glen Fyne. It has five well-defined ridges radiating out from the summit. Four corries lie between the ridges; including Coire Gaothaich which lies on the northeast side of the mountain., A registration county was, in Great Britain and Ireland, a statistical unit used for the registration of births, deaths and marriages and for the output of census information. In Scotland registration counties are used for land registration purposes., 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., 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., 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., 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., 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 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., 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"., Rannoch Moor (Scottish Gaelic: "Mòinteach Raineach/Raithneach") is an expanse of around 50 square miles (130 km²) of boggy moorland to the west of Loch Rannoch in Scotland, where it extends from and into westerly Perth and Kinross, northerly Lochaber (in Highland), and the area of Highland Scotland toward its south-west, northern Argyll and Bute. Rannoch Moor is designated a Site of Special Scientific Interest (SSSI) and a Special Area of Conservation., Perthshire, officially the County of Perth, is a registration county in central Scotland. It extends from Strathmore in the east, to the Pass of Drumochter in the north, Rannoch Moor and Ben Lui in the west, and Aberfoyle in the south. It was a local government county from 1890 to 1930., 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., 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., Subject: weem, Relation: located_in_the_administrative_territorial_entity, Options: (A) atlantic ocean (B) belgium (C) earth (D) east (E) england (F) france (G) germany (H) indonesia (I) inverness (J) ireland (K) isle of man (L) kingdom of great britain (M) mainland (N) mountain (O) naval (P) netherlands (Q) north (R) northern (S) northwest (T) of (U) orkney (V) outer hebrides (W) perth (X) perth and kinross (Y) perthshire (Z) scandinavia ([) scotland (\) scottish highlands (]) shetland (^) south (_) ulster (`) union (a) united kingdom (b) wales (c) west
Example Output:
perth and kinross