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: Rajaraja Chola II succeeded his father Kulothunga Chola II to the Chola throne in 1150. He was made his heir apparent and coregent in 1146 and so the inscriptions of Rajaraja II count his reign from 1146. Rajaraja's reign began to show signs of the coming end of the great dynasty., Kulothunga Chola II was a 12th-century king of the Chola Dynasty of the Tamil people of South India. He succeeded his father Vikrama Chola to the throne in 1135 CE. Vikrama Chola made Kulothunga his heir apparent and coregent in 1133 CE, so the inscriptions of Kulothunga II count his reign from 1133 CE. , Rajadhiraja Chola II ( 1166 -- 1178 CE ) reigned as the Chola king succeeding Rajaraja Chola II. According to historian N. Sethuraman , Rajadhiraja was not the direct descendant of Rajaraja Chola II but was a son of his sister . Rajaraja Chola II chose Rajadhiraja as his heir in 1166 as he did not have any sons of his own . Soon after the installation of Rajadhiraja II , a fierce succession dispute in the Pandya country led to the intervention of the Chola and the Sinhalese rulers on opposite sides which brought misery to both . Out of the ashes of this civil war arose the Pandya power which in its renewed strength soon swallowed both the Chola and Sinhalese kingdoms ., Subject: rajadhiraja chola ii, Relation: father, Options: (A) rajaraja chola ii (B) vikrama chola

Output: vikrama chola


Input: Consider Input: Context: New England is a geographical region comprising six states of the northeast United States: Connecticut, Maine, Massachusetts, New Hampshire, Rhode Island, and Vermont. It is bordered by the state of New York to the west and south, and the Canadian provinces of New Brunswick and Quebec to the northeast and north, respectively. The Atlantic Ocean is to the east and southeast, and Long Island Sound is to the south. Boston is its largest city. Its largest metropolitan area is Greater Boston, which also includes Worcester (the second-largest city in New England), Manchester (the largest city in New Hampshire), and Providence (the capital and largest city of Rhode Island), with nearly a third of the entire region's population., Sovereignty is understood in jurisprudence as the full right and power of a governing body to govern itself without any interference from outside sources or bodies. In political theory, sovereignty is a substantive term designating supreme authority over some polity. It is a basic principle underlying the dominant Westphalian model of state foundation., Vermont is a state in the New England region of the northeast United States. It borders the other U.S. states of Massachusetts to the south, New Hampshire to the east, New York to the west, and the Canadian province of Quebec to the north. Lake Champlain forms half of Vermont's western border with the state of New York and the Green Mountains run north-south the length of the state., Canada (French: ) is a country in the northern half of North America. Its ten provinces and three territories extend from the Atlantic to the Pacific and northward into the Arctic Ocean, covering , making it the world's second-largest country by total area and the fourth-largest country by land area. Canada's border with the United States is the world's longest land border. The majority of the country has a cold or severely cold winter climate, but southerly areas are warm in summer. Canada is sparsely populated, the majority of its land territory being dominated by forest and tundra and the Rocky Mountains. About four-fifths of the country's population of 36 million people is urbanized and live near the southern border. Its capital is Ottawa, its largest city is Toronto; other major urban areas include Montreal, Vancouver, Calgary, Edmonton, Quebec City, Winnipeg and Hamilton., Quebec (pronounced or ) is the second-most populous province of Canada and the only one to have a predominantly French-speaking population, with French as the sole provincial official language., The Connecticut River is the longest river in the New England region of the United States. Flowing roughly southward for through four U.S. states, the Connecticut rises at the U.S. border with Quebec, Canada, and discharges at Long Island Sound. Its watershed encompasses five U.S. states and one Canadian province   via 148 tributaries, 38 of which are major rivers. Discharging at per second, the Connecticut produces 70% of Long Island Sound's fresh water., Rhode Island, officially the State of Rhode Island and Providence Plantations, is a state in the New England region of the northeastern United States. Rhode Island is the smallest in area, the eighth least populous, and the second most densely populated of the 50 U.S. states, following New Jersey. Its official name is also the longest of any state in the Union. Rhode Island is bordered by Connecticut to the west, Massachusetts to the north and east, and the Atlantic Ocean to the south via Rhode Island Sound and Block Island Sound. The state also shares a short maritime border with New York., U.S. Route 202 (US 202) is a highway stretching from Delaware to Maine, also passing through the states of Pennsylvania, New Jersey, New York, Connecticut, Massachusetts, and New Hampshire. The road has borne the number 202 since at least 1936. Before this, sections of the road were designated U.S. Route 122, as it intersected U.S. Route 22. Its current designation is based on its intersection with US 2 in Maine., 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)., The Northeastern United States, also referred to as the American Northeast or simply the Northeast, is a geographical region of the United States of America bordered to the north by Canada, to the east by the Atlantic Ocean, to the south by the Southern United States, and to the west by the Midwestern United States. The Northeast is one of the four regions defined by the Census Bureau for the collection and analysis of statistics. The Census Bureau-defined region has a total area of with of that being land mass. Though lacking a unified cultural identity, the Northeastern region is the nation's most economically developed, densely populated, and culturally diverse region. Of the nation's four census regions, the Northeast is the second most urban, with 85 percent of its population residing in urban areas, led by the West with 90 percent., The Industrial Revolution was the transition to new manufacturing processes in the period from about 1760 to sometime between 1820 and 1840. This transition included going from hand production methods to machines, new chemical manufacturing and iron production processes, improved efficiency of water power, the increasing use of steam power, the development of machine tools and the rise of the factory system. Textiles were the dominant industry of the Industrial Revolution in terms of employment, value of output and capital invested; the textile industry was also the first to use modern production methods. The Industrial Revolution began in Great Britain and most of the important technological innovations were British. The social, economic and political changes in the previous centuries in Great Britain contributed. Whereas absolutism stayed the normal form of power execution through most parts of Europe, institutions ensured property rights and political safety to the people in the UK after the Glorious Revolution of 1688. Aided by these legal and cultural foundations, an entrepreneurial spirit and consumer revolution drove industrialisation in Britain, which would be emulated in countries around the world. A change in marrying patterns to getting married later made people able to accumulate more human capital during their youth, thereby encouraging economic development., 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., Finance is a field that deals with the study of investments. It includes the dynamics of assets and liabilities over time under conditions of different degrees of uncertainty and risk. Finance can also be defined as the science of money management. Finance aims to price assets based on their risk level and their expected rate of return. Finance can be broken into three different sub-categories: public finance, corporate finance and personal finance., Interstate 391 ( abbreviated I - 391 ) is an Auxiliary Interstate Highway located entirely within the U.S. State of Massachusetts . It runs from the I - 91/I - 391 interchange in Chicopee to the center of Holyoke , a distance of about 4.86 mi ( 7.82 km ) . It runs near the Connecticut River throughout its journey in Chicopee , and crosses into Holyoke and abruptly ends at High Street 0.4 miles ( 0.64 km ) south of U.S. Route 202 ., Biotechnology is the use of living systems and organisms to develop or make products, or "any technological application that uses biological systems, living organisms, or derivatives thereof, to make or modify products or processes for specific use" (UN Convention on Biological Diversity, Art. 2). Depending on the tools and applications, it often overlaps with the (related) fields of bioengineering, biomedical engineering, biomanufacturing, molecular engineering, etc., A federal republic is a federation of states with a republican form of government. At its core, the literal meaning of the word republic when used to reference a form of government means: "a country that is governed by elected representatives and by an elected leader (such as a president) rather than by a king or queen"., The Massachusett are a Native American people who historically lived in areas surrounding Massachusetts Bay, as well as northeast and southern Massachusetts in what is now the Commonwealth of Massachusetts, including present-day Greater Boston. Tribal members spoke the Massachusett language, which is part of the Algonquian language family. The present-day U.S state of Massachusetts is named after the tribe., 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"., Maine is the northernmost state in the New England region of the northeastern United States. Maine is the 39th most extensive and the 41st most populous of the U.S. states and territories. It is bordered by New Hampshire to the west, the Atlantic Ocean to the east, and the Canadian provinces of New Brunswick and Quebec to the north. Maine is the easternmost state in the contiguous United States, and the northernmost east of the Great Lakes. It is known for its jagged, rocky coastline; low, rolling mountains; heavily forested interior, and picturesque waterways; and also its seafood cuisine, especially clams and lobster. There is a continental climate throughout the state, even in coastal areas such as its most populous city of Portland. The capital is Augusta., New Hampshire is a state in the New England region of the northeastern United States. It is bordered by Massachusetts to the south, Vermont to the west, Maine and the Atlantic Ocean to the east, and the Canadian province of Quebec to the north. New Hampshire is the 5th smallest by land area and the 9th least populous of the 50 United States., Americans are citizens of the United States of America. The country is home to people of many different national origins. As a result, Americans do not equate their nationality with ethnicity, but with citizenship and allegiance. Although citizens make up the majority of Americans, non-citizen residents, dual citizens, and expatriates may also claim an American identity., Delaware is a state located in the Mid-Atlantic and/or Northeastern regions of the United States. It is bordered to the south and west by Maryland, to the northeast by New Jersey, and to the north by Pennsylvania. The state takes its name from Thomas West, 3rd Baron De La Warr, an English nobleman and Virginia's first colonial governor., Greater Boston is the metropolitan region of New England encompassing the municipality of Boston, the capital of the U.S. state of Massachusetts and the most populous city in New England, as well as its surrounding areas. The region forms the northern arc of the U.S. northeast megalopolis and as such, Greater Boston can be described as either a metropolitan statistical area (MSA), or as a broader combined statistical area (CSA). The MSA consists of most of the eastern third of Massachusetts, excluding the South Coast region and Cape Cod; while the CSA additionally includes the municipalities of Manchester (the largest city in the U.S. state of New Hampshire), Providence (the capital of the U.S. state of Rhode Island), Worcester, Massachusetts (the second largest city in New England), as well as the South Coast region and Cape Cod in Massachusetts. Greater Boston's most impactful contributions to human civilization involve the region's higher education institutions and sports culture. Greater Boston also constitutes a region influential upon American history and industry. The region and the state of Massachusetts are global leaders in biotechnology, engineering, higher education, finance, and maritime trade., Massachusetts ; officially the Commonwealth of Massachusetts, is the most populous state in the New England region of the northeastern United States. It is bordered by the Atlantic Ocean to the east, the states of Connecticut and Rhode Island to the south, New Hampshire and Vermont to the north, and New York to the west. The state is named for the Massachusett tribe, which once inhabited the area. The capital of Massachusetts and the most populous city in New England is Boston. Over 80% of Massachusetts' population lives in the Greater Boston metropolitan area, a region influential upon American history, academia, and industry. Originally dependent on agriculture, fishing and trade, Massachusetts was transformed into a manufacturing center during the Industrial Revolution. During the 20th century, Massachusetts' economy shifted from manufacturing to services. Modern Massachusetts is a global leader in biotechnology, engineering, higher education, finance, and maritime trade., Engineering is the application of mathematics and scientific, economic, social, and practical knowledge in order to invent, innovate, design, build, maintain, research, and improve structures, machines, tools, systems, components, materials, processes, solutions, and organizations., Long Island Sound is a tidal estuary of the Atlantic Ocean, lying between the eastern shores of Bronx County, New York City, southern Westchester County, and Connecticut to the north, and the North Shore of Long Island, to the south. From east to west, the sound stretches 110 miles (177 km) from the East River in New York City, along the North Shore of Long Island, to Block Island Sound. A mix of freshwater from tributaries and saltwater from the ocean, Long Island Sound is 21 miles (34 km) at its widest point and varies in depth from ., A "metropolitan area", sometimes referred to as a "metro area" or just "metro", is a region consisting of a densely populated urban core and its less-populated surrounding territories, sharing industry, infrastructure, and housing.
A metro area usually comprises multiple jurisdictions and municipalities: neighborhoods, townships, boroughs, cities, towns, exurbs, suburbs, counties, districts, states, and even nations like the eurodistricts. As social, economic and political institutions have changed, metropolitan areas have become key economic and political regions. Metropolitan areas include one or more urban areas, as well as satellite cities, towns and intervening rural areas that are socio-economically tied to the urban core, typically measured by commuting patterns., 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., Boston (pronounced ) is the capital and most populous city of the Commonwealth of Massachusetts in the United States. Boston is also the seat of Suffolk County, although the county government was disbanded on July 1, 1999. The city proper covers with an estimated population of 667,137 in 2015, making it the largest city in New England and the 23rd most populous city in the United States. The city is the economic and cultural anchor of a substantially larger metropolitan area known as Greater Boston, a Metropolitan Statistical Area (MSA) home to a census-estimated 4.7 million people in 2014 and ranking as the tenth-largest such area in the country. Alternately, as a Combined Statistical Area (CSA), this wider commuting region is home to some 8.1 million people, making it the sixth-largest as such in the United States., Connecticut is the southernmost state in the New England region of the northeastern United States. Connecticut is also often grouped along with New York and New Jersey as the Tri-State Area. It is bordered by Rhode Island to the east, Massachusetts to the north, New York to the west, and Long Island Sound to the south. Its capital city is Hartford, and its most populous city is Bridgeport. The state is named for the Connecticut River, a major U.S. river that approximately bisects the state. The word "Connecticut" is derived from various anglicized spellings of an Algonquian word for "long tidal river"., Subject: interstate 391, Relation: located_in_the_administrative_territorial_entity, Options: (A) atlantic ocean (B) boston (C) calgary (D) canada (E) center (F) connecticut (G) delaware (H) earth (I) east (J) england (K) europe (L) forest (M) freshwater (N) hartford (O) jersey (P) king (Q) long island (R) maine (S) manchester (T) maryland (U) massachusetts (V) montreal (W) most (X) new hampshire (Y) new jersey (Z) new york city ([) normal (\) north america (]) northwest (^) of (_) pennsylvania (`) philadelphia (a) price (b) providence (c) quebec (d) rhode island (e) rise (f) river (g) road (h) south (i) southwest (j) spirit (k) suffolk (l) suffolk county (m) toronto (n) vancouver (o) vermont (p) west (q) westchester county

Output: vermont


Input: Consider Input: Context: In the history of Europe, the Middle Ages or medieval period lasted from the 5th to the 15th century. It began with the fall of the Western Roman Empire and merged into the Renaissance and the Age of Discovery. The Middle Ages is the middle period of the three traditional divisions of Western history: classical antiquity, the medieval period, and the modern period. The medieval period is itself subdivided into the Early, High, and Late Middle Ages., The Alemanni (also "Alamanni"; "Suebi" "Swabians") were a confederation of Germanic tribes on the upper Rhine river. First mentioned by Cassius Dio in the context of the campaign of Caracalla of 213, the Alemanni captured the Agri Decumates in 260, and later expanded into present-day Alsace, and northern Switzerland, leading to the establishment of the Old High German language in those regions., The Rhine (, , ) is a European river that begins in the Swiss canton of Graubünden in the southeastern Swiss Alps, forms part of the 
Swiss-Austrian, Swiss-Liechtenstein, Swiss-German and then the Franco-German border, then flows through the Rhineland and eventually empties into the North Sea in the Netherlands. 
The largest city on the river Rhine is Cologne, Germany, with a population of more than 1,050,000 people. It is the second-longest river in Central and Western Europe (after the Danube), at about , with an average discharge of about ., An archchancellor or chief chancellor was a title given to the highest dignitary of the Holy Roman Empire, and also used occasionally during the Middle Ages to denote an official who supervised the work of chancellors or notaries., The Rhineland is the name used for a loosely defined area of Western Germany along the Rhine River, chiefly its middle section., 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., Western Germany is a region in the west of Germany. The exact area defined by the term is not constant, but it usually includes North Rhine-Westphalia. The Saarland and Rhineland-Palatinate are also sometimes included but are usually considered Southwestern Germany. Hesse is often considered as Central Germany (together with Thuringia)., Swabia (colloquially "Schwabenland" or "Ländle"; in English also archaic "Suabia" or "Svebia") is a cultural, historic and linguistic region in southwestern Germany. 
The name is ultimately derived from the medieval Duchy of Swabia, one of the German stem duchies, representing the territory of Alemannia, whose inhabitants interchangeably were called "Alemanni" or "Suebi"., The Duchy of Swabia (German: "Herzogtum Schwaben") was one of the five stem duchies of the medieval German kingdom, and its dukes were thus among the most powerful magnates of Germany., The Holy Roman Empire was a multi-ethnic complex of territories in central Europe that developed during the Early Middle Ages and continued until its dissolution in 1806. The largest territory of the empire after 962 was the Kingdom of Germany, though it also came to include the Kingdom of Bohemia, the Kingdom of Burgundy, the Kingdom of Italy, and numerous other territories., Solomon III ( died 919 ) was the Bishop of Constance from 890 to his death . In 885 , the Emperor Charles III made him archchancellor of the Empire , for Konstanz was then the greatest diocese in Swabia , which had been Charles ' original kingdom and was still his home most of the time . As well as bishop , he was also abbot of Reichenau and Saint Gall , immensely powerful abbeys in Swabia and the Rhineland . Solomon founded a church in honour of Saint Magnus at Saint Gall . Solomon was a warlike prelate , originally an ally of both King Louis the Child and Count Palatine Erchanger in the wars for the Swabian dukedom against the Burchards . He was influential in the execution of Burchard I in 911 , but he left his alliance with Erchanger when the latter allied with King Conrad I. Erchanger even imprisoned Solomon in 914 . Conrad , however , supported the bishop and freed him . Conrad later had Erchanger beheaded ., The Suebi (or Suevi, Suavi (Jordanes, Procopius), or Suevians) was a large group of related Germanic peoples who lived in Germania in the time of the Roman Empire. They were first mentioned by Julius Caesar in connection with his battles against Ariovistus in Gaul, around 58 BC. While Caesar treated them as one Germanic tribe within an alliance but the largest and most warlike one, later authors, such as Tacitus, Pliny the Elder and Strabo, specified that the Suevi "do not, like the Chatti or Tencteri, constitute a single nation. They actually occupy more than half of Germania, and are divided into a number of distinct tribes under distinct names, though all generally are called Suebi". At one time, classical ethnography had applied the name "Suevi" to so many Germanic tribes that it appeared as if, in the first centuries AD, that native name would replace the foreign name "Germans"., Subject: solomon iii , Relation: country_of_citizenship, Options: (A) frankfurt (B) gaul (C) germany (D) hamburg (E) holy roman empire (F) italy (G) kingdom of italy (H) liechtenstein (I) netherlands (J) roman empire (K) suebi (L) switzerland
Output: switzerland