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

Input: Consider Input: Context: 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., Hampshire (; abbreviated Hants, archaically known as the County of Southampton) is a county on the southern coast of England in the United Kingdom. The county town of Hampshire is Winchester, the former capital city of England. Hampshire is the most populous ceremonial county in the United Kingdom (excluding the metropolitan counties) with almost half of the county's population living within the South Hampshire conurbation which includes the cities of Southampton and Portsmouth. The larger South Hampshire metropolitan area has a population of 1,547,000. Hampshire is notable for housing the birthplaces of the Royal Navy, British Army, and Royal Air Force. It is bordered by Dorset to the west, Wiltshire to the north-west, Berkshire to the north, Surrey to the north-east, and West Sussex to the east. The southern boundary is the coastline of the English Channel and the Solent, facing the Isle of Wight., Ireland (Ulster-Scots: ) is an island in the North Atlantic. It is separated from Great Britain to its east by the North Channel, the Irish Sea, and St George's Channel. Ireland is the second-largest island of the British Isles, the third-largest in Europe, and the twentieth-largest on Earth., Havant is a town in the south east corner of Hampshire, England approximately midway between Portsmouth and Chichester. Its borough (population: 125,000) comprises the town and its suburbs including the resort of Hayling Island as well as Rowland's Castle (an exurb), the smaller town of Waterlooville and Langstone Harbour. Housing and population more than doubled under either definition of Havant in the 20 years following World War II, a period of major conversion of land from agriculture and woodland to housing across the region following the incendiary bombing of Portsmouth and the Blitz., London is the capital and most populous city of England and the United Kingdom, as well as the most populous city proper in the European Union. Standing on the River Thames in the south east of the island of Great Britain, London has been a major settlement for two millennia. It was founded by the Romans, who named it "Londinium". London's ancient core, the City of London, largely retains its medieval boundaries. Since at least the 19th century, "London" has also referred to the metropolis around this core, historically split between Middlesex, Essex, Surrey, Kent, and Hertfordshire, which today largely makes up Greater London, governed by the Mayor of London and the London Assembly., 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., Portsmouth is a port city in the ceremonial county of Hampshire on the south coast of England. Located mainly on Portsea Island, south-west of London and south-east of Southampton, it is the United Kingdom's only island city. It has a population of 205,400, and is the only city in the British Isles with a greater population density than London. The city forms part of the South Hampshire built-up area, which also covers Southampton and the towns of Havant, Waterlooville, Eastleigh, Fareham, and Gosport., Wales is a country that is part of the United Kingdom and the island of Great Britain. It is bordered by England to the east, the Irish Sea to the north and west, and the Bristol Channel to the south. It had a population in 2011 of 3,063,456 and has a total area of . Wales has over of coastline and is largely mountainous, with its higher peaks in the north and central areas, including Snowdon, its highest summit. The country lies within the north temperate zone and has a changeable, maritime climate., The Commonwealth was the period from 1649 onwards when England and Wales, later along with Ireland and Scotland, was ruled as a republic following the end of the Second English Civil War and the trial and execution of Charles I. The republic's existence was declared through "An Act declaring England to be a Commonwealth", adopted by the Rump Parliament on 19 May 1649. Power in the early Commonwealth was vested primarily in the Parliament and a Council of State. During the period, fighting continued, particularly in Ireland and Scotland, between the parliamentary forces and those opposed to them, as part of what is now referred to as the Third English Civil War., Portsea Island is a small, flat and low-lying island just off the south coast of England. The island is totally within, and contains a large proportion of, the city of Portsmouth. The third largest by population of any island in the British Isles after the mainlands of Great Britain and Ireland, it has the highest population density., Fareham is a market town at the north-west tip of Portsmouth Harbour, between the cities of Portsmouth and Southampton in the south east of Hampshire, England. It gives its name to the borough that comprises the town and its surrounding area. It was historically an important manufacturer of bricks (notably used to build the Royal Albert Hall, London) and a grower of strawberries. Current employment includes retail (including Fareham Shopping Centre with around 100 shops), small-scale manufacturing, and defence (with the Royal Navy's and the Ministry of Defence's Defence Science and Technology Laboratory nearby)., Lyme was a 52 - gun third rate Speaker - class frigate built for the navy of the Commonwealth of England at Portsmouth , and launched in 1654 . After the Restoration in 1660 she was renamed HMS Montagu . She was widened in 1675 and underwent her first rebuild in 1698 at Woolwich Dockyard as a 60 - gun fourth rate ship of the line . Her second rebuild took place at Portsmouth Dockyard , from where she was relaunched on 26 July 1716 as a 60 - gun fourth rate to the 1706 Establishment . The Montagu was broken up in 1749 ., 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., Gosport is a Borough town in the South Hampshire conurbation, on the south coast of Hampshire in southern England. The 2011 Census recorded its population as 82,622. It is on a peninsula on the western side of Portsmouth Harbour opposite the City of Portsmouth, to which it is linked by the Gosport Ferry., Subject: hms montagu , Relation: operator, Options: (A) ireland (B) royal navy (C) southern (D) united kingdom (E) world war ii

Output: royal navy


Input: Consider Input: Context: The Wakhan Corridor (alternatively Vakhan Corridor, or Wakhan) is the narrow strip of territory in northeastern Afghanistan that extends to China and separates Tajikistan from Pakistan. The corridor, wedged between the Pamirs to the north and the Karakoram range to the south, is about long and wide., Central Asia or Middle Asia is the core region of the Asian continent and stretches from the Caspian Sea in the west to China in the east and from Afghanistan in the south to Russia in the north. It is also colloquially referred to as "the 'stans" (as the six countries generally considered to be within the region all have names ending with the Persian suffix "-stan", meaning "land of") and is within the scope of the wider Eurasian continent., British Columbia (BC) is the westernmost province of Canada, with a population of more than four million people located between the Pacific Ocean and the Rocky Mountains. 
British Columbia is also a component of the Pacific Northwest and the Cascadia bioregion, along with the U.S. states of Idaho, Oregon, Washington and Alaska., The Arabian Sea is a region of the northern Indian Ocean bounded on the north by Pakistan and Iran, on the west by northeastern Somalia and the Arabian Peninsula, and on the east by India. Historically the sea has been known by other names including the Erythraean Sea and the Persian Sea. Its total area is and its maximum depth is . The Gulf of Aden is in the southwest, connecting the Arabian Sea to the Red Sea through the strait of Bab-el-Mandeb, and the Gulf of Oman is in the northwest, connecting it to the Persian Gulf., Iran (, also , ; ' ), also known as Persia, officially the Islamic Republic of Iran (' ), is a sovereign state in Western Asia. It is bordered to the northwest by Armenia, the "de facto" Nagorno-Karabakh Republic, and Azerbaijan; to the north by the Caspian Sea; to the northeast by Turkmenistan; to the east by Afghanistan and Pakistan; to the south by the Persian Gulf and the Gulf of Oman; and to the west by Turkey and Iraq. Comprising a land area of , it is the second-largest country in the Middle East and the 18th-largest in the world. With 82.8 million inhabitants, Iran is the world's 17th-most-populous country. It is the only country with both a Caspian Sea and an Indian Ocean coastline. The country's central location in Eurasia and Western Asia, and its proximity to the Strait of Hormuz, make it of great geostrategic importance. Tehran is the country's capital and largest city, as well as its leading economic center., Muhammed Bhola is a wrestler from Pakistan . He competed at the 1994 Commonwealth Games , where he won a bronze medal for wrestling in the Men 's Middleweight class ., India, officially the Republic of India ("Bhrat Gaarjya"), is a country in South Asia. It is the seventh-largest country by area, the second-most populous country (with over 1.2 billion people), and the most populous democracy in the world. It is bounded by the Indian Ocean on the south, the Arabian Sea on the southwest, and the Bay of Bengal on the southeast. It shares land borders with Pakistan to the west; China, Nepal, and Bhutan to the northeast; and Myanmar (Burma) and Bangladesh to the east. In the Indian Ocean, India is in the vicinity of Sri Lanka and the Maldives. India's Andaman and Nicobar Islands share a maritime border with Thailand and Indonesia. Its capital is New Delhi; other metropolises include Mumbai, Kolkata, Chennai, Bangalore, Hyderabad and Ahmedabad., Pakistan (or ), officially the Islamic Republic of Pakistan, is a federal parliamentary republic in South Asia on crossroads of Central Asia and Western Asia. It is the sixth-most populous country with a population exceeding 200 million people. It is the 36th largest country in the world in terms of area with an area covering . Pakistan has a coastline along the Arabian Sea and the Gulf of Oman in the south and is bordered by India to the east, Afghanistan to the west, Iran to the southwest and China in the far northeast respectively. It is separated from Tajikistan by Afghanistan's narrow Wakhan Corridor in the north, and also shares a maritime border with Oman., Tajikistan (, or ), officially the Republic of Tajikistan ("Çumhuriji Toçikiston"), is a mountainous, landlocked country in Central Asia with an estimated 8 million people in 2013, and an area of . It is bordered by Afghanistan to the south, Uzbekistan to the west, Kyrgyzstan to the north, and China to the east. Pakistan lies to the south, separated by the narrow Wakhan Corridor. Traditional homelands of Tajik people included present-day Tajikistan, Afghanistan and Uzbekistan., The 1994 Commonwealth Games were held in Victoria, in the province of British Columbia in Canada, from 18 to 28 August 1994., Afghanistan (Pashto/Dari: , "Afnistn"), officially the Islamic Republic of Afghanistan, is a landlocked country located within South Asia and Central Asia. It has a population of approximately 32 million, making it the 42nd most populous country in the world. It is bordered by Pakistan in the south and east; Iran in the west; Turkmenistan, Uzbekistan, and Tajikistan in the north; and China in the far northeast. Its territory covers , making it the 41st largest country in the world., Western Asia, West Asia, Southwestern Asia or Southwest Asia is the westernmost subregion of Asia. The concept is in limited use, as it significantly overlaps with the Middle East (or Near East), the main difference being the exclusion of Egypt (which would be counted as part of North Africa). The term is sometimes used for the purposes of grouping countries in statistics., Islam (' ;) is a religion articulated by the Quran, a text considered by its adherents to be the verbatim word of God ('), and, for the vast majority of adherents, the teachings and normative example (called the "sunnah", composed of accounts called "hadith") of Muhammad (5708 June 632 CE). It is the world's second-largest religion and the fastest-growing major religion in the world, with over 1.7 billion followers or 23% of the global population, known as Muslims. Islam is an Abrahamic monotheistic religion that upholds that God is one and incomparable and that the purpose of existence is to worship God. Muslims consider Muhammad to be the last prophet of God., The Commonwealth Games (known as the British Empire Games from 19301950, the British Empire and Commonwealth Games from 19541966, and British Commonwealth Games from 19701974) is an international, multi-sport event involving athletes from the Commonwealth of Nations. The event was first held in 1930, and, with the exception of 1942 and 1946, which were cancelled due to World War II, has taken place every four years since then., 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., Oman (; ' ), officially the Sultanate of Oman, is an Arab country on the southeastern coast of the Arabian Peninsula. Holding a strategically important position at the mouth of the Persian Gulf, the nation is bordered by the United Arab Emirates to the northwest, Saudi Arabia to the west, and Yemen to the southwest, and shares marine borders with Iran and Pakistan. The coast is formed by the Arabian Sea on the southeast and the Gulf of Oman on the northeast. The Madha and Musandam exclaves are surrounded by the UAE on their land borders, with the Strait of Hormuz (which it shares with Iran) and Gulf of Oman forming Musandam's coastal boundaries., The Gulf of Oman or Sea of Makran or Sea of Oman ("aldj Umn"; in Balochi:   in "Khaleej Oman") is a strait (and not an actual gulf) that connects the Arabian Sea with the Strait of Hormuz, which then runs to the Persian Gulf. It borders Pakistan and Iran on the north, Oman on the south, and the United Arab Emirates on the west., A parliamentary republic is a republic that operates under a parliamentary system of government where the executive branch (the government) derives its legitimacy from and is accountable to the legislature (the parliament). There are a number of variations of parliamentary republics. Most have a clear differentiation between the head of government and the head of state, with the head of government holding real power, much like constitutional monarchies. Some have combined the roles of head of state and head of government, much like presidential systems, but with a dependency upon parliamentary power., South Asia or Southern Asia is a term used to represent the southern region of the Asian continent, which comprises the sub-Himalayan SAARC countries and, for some authorities, adjoining countries to the west and east. Topographically, it is dominated by the Indian Plate, which rises above sea level as Nepal and northern parts of India situated south of the Himalayas and the Hindu Kush. South Asia is bounded on the south by the Indian Ocean and on land (clockwise, from west) by West Asia, Central Asia, East Asia, and Southeast Asia., An Islamic republic is the name given to several states in countries ruled by Islamic laws, including the Islamic Republics of Pakistan, Iran, Afghanistan, and Mauritania. Pakistan first adopted the title under the constitution of 1956. Mauritania adopted it on 28 November 1958. Iran adopted it after the 1979 Iranian Revolution that overthrew the Pahlavi dynasty. Afghanistan adopted it in 1992 (in 19962001 the Taliban was ruling as an Islamic emirate (monarchy)) upon Jamiat-e Islami seizing capital Kabul from the Communists. Despite the similar name the countries differ greatly in their governments and laws., Subject: muhammad bhola, Relation: given_name, Options: (A) africa (B) an (C) are (D) asia (E) august (F) china (G) hong (H) india (I) iran (J) islam (K) lies (L) marine (M) muhammad (N) red (O) rocky (P) s . (Q) stan (R) u . (S) victoria

Output: muhammad


Input: Consider Input: Context: Richard Trevithick (13 April 1771  22 April 1833) was a British inventor and mining engineer from Cornwall, England. The son of a mining captain, and born in the mining heartland of Cornwall, Trevithick was immersed in mining and engineering from an early age. He performed poorly in school, but went on to be an early pioneer of steam-powered road and rail transport. His most significant contribution was the development of the first high-pressure steam engine. He also built the first full-scale working railway steam locomotive. On 21 February 1804 the world's first locomotive-hauled railway journey took place as Trevithick's unnamed steam locomotive hauled a train along the tramway of the Penydarren Ironworks, in Merthyr Tydfil, Wales., Pennsylvania Railroad 1361 is a 4-6-2 pacific type steam locomotive built in 1918 for the Pennsylvania Railroad by their own Altoona Works. As a member of the K4s locomotive class, it served its active career hauling mainline passenger and mail trains. Retired from revenue service in 1956, it was restored to operating condition in 1987 when mechanical problems sidelined the locomotive after only a year and a half of operation. The engine is currently owned by the Railroaders Memorial Museum in Altoona, Pennsylvania. It is one of the only two remaining K4s locomotives and, along with PRR 3750, was designated the official state steam locomotive in 1987 by the Pennsylvania General Assembly., The Pennsylvania General Assembly is the state legislature of the U.S. state of Pennsylvania. The legislature convenes in the State Capitol building in Harrisburg. In colonial times (16821776), the legislature was known as the Pennsylvania Provincial Assembly. Since the Constitution of 1776, written by American revolutionaries, the legislature has been known as the General Assembly. The General Assembly became a bicameral legislature in 1791., Philadelphia is the largest city in the Commonwealth of Pennsylvania and the fifth-most populous city in the United States, with an estimated population of 1,567,442 and more than 6 million in the seventh-largest metropolitan statistical area, . Philadelphia is the economic and cultural anchor of the Delaware Valleya region located in the Northeastern United States at the confluence of the Delaware and Schuylkill rivers with 7.2 million people residing in the eighth-largest combined statistical area in the United States., A U.S. state is a constituent political entity of the United States of America. There are 50 states, which are bound together in a union with each other. Each state holds administrative jurisdiction over a defined geographic territory, and shares its sovereignty with the United States federal government. Due to the shared sovereignty between each state and the federal government, Americans are citizens of both the federal republic and of the state in which they reside. State citizenship and residency are flexible, and no government approval is required to move between states, except for persons covered by certain types of court orders (e.g., paroled convicts and children of divorced spouses who are sharing custody)., PRR 3750 is a Pennsylvania Railroad K4s steam locomotive located in the Railroad Museum of Pennsylvania , outside of Strasburg , Pennsylvania in the United States . For over a decade , 3750 stood in for the prototype K4s , 1737 , and was listed on the National Register of Historic Places in 1979 . It is one of the two remaining K4s locomotives and , along with PRR 1361 , was designated the official state steam locomotive in 1987 by the Pennsylvania General Assembly ., The Pennsylvania Railroad was an American Class I railroad, founded in 1846. Commonly referred to as the "Pennsy," the PRR was headquartered in Philadelphia, Pennsylvania., A steam locomotive is a railway locomotive that produces its pulling power through a steam engine. These locomotives are fueled by burning combustible materialusually coal/coke, wood, or oilto produce steam in a boiler. The steam moves reciprocating pistons which are mechanically connected to the locomotive's main wheels (drivers). Both fuel and water supplies are carried with the locomotive, either on the locomotive itself or in wagons (tenders) pulled behind.
The first steam locomotive, made by Richard Trevithick, first operated on 21 February 1804, three years after the road locomotive he made in 1801. The first practical steam locomotive was built in 1812-13 by John Blenkinsop., Lake Erie is the fourth-largest lake (by surface area) of the five Great Lakes in North America, and the thirteenth-largest globally if measured in terms of surface area. It is the southernmost, shallowest, and smallest by volume of the Great Lakes and therefore also has the shortest average water residence time. At its deepest point Lake Erie is deep. Lake Erie's northern shore is bounded by the Canadian province of Ontario, with the U.S. states of Ohio, Pennsylvania, and New York on its southern and easternmost shores and Michigan on the west. These jurisdictions divide the surface area of the lake by water boundaries. The lake was named by the Erie people, a Native Americans people who lived along its southern shore. That Iroquoian tribe called it ""Erige"" "("cat")" because of its unpredictable and sometimes violently dangerous nature. It is a matter of conjecture whether the lake was named after the tribe, or if the tribe was called ""Erie"" because of its proximity to the lake., Pennsylvania (Pennsylvania German: "Pennsylvaani"), officially the Commonwealth of Pennsylvania, is a state located in the northeastern and Mid-Atlantic regions of the United States. The Appalachian Mountains run through its middle. The commonwealth borders Delaware to the southeast, Maryland to the south, West Virginia to the southwest, Ohio to the west, Lake Erie and the Canadian province of Ontario to the northwest, New York to the north, and New Jersey to the east., New Jersey is a state in the Northeastern United States and mid-Atlantic regions of the United States. It is bordered on the north and east by New York, on the southeast and south by the Atlantic Ocean, on the west by Pennsylvania, and on the southwest by Delaware. New Jersey is the fourth-smallest state but the 11th-most populous and the most densely populated of the 50 United States. New Jersey lies entirely within the combined statistical areas of New York City and Philadelphia and is the third-wealthiest U.S. state by per capita income as of 2014., Ontario, one of the 13 provinces and territories of Canada, is located in east-central Canada. It is Canada's most populous province by a large margin, accounting for nearly 40 percent of all Canadians, and is the second-largest province in total area. Ontario is fourth-largest in total area when the territories of the Northwest Territories and Nunavut are included. It is home to the nation's capital city, Ottawa, and the nation's most populous city, Toronto., Altoona Works is a large railroad industrial complex in Altoona, Pennsylvania. It was built by the Pennsylvania Railroad (PRR) to supply the railroad with locomotives, railroad cars and related equipment. For many years it was the largest railroad shop complex in the world., Subject: prr 3750, Relation: manufacturer, Options: (A) altoona works (B) ontario (C) pennsylvania railroad (D) philadelphia (E) train (F) united states of america


Output: altoona works