In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Ex Input:
Context: Law is a system of rules that are created and enforced through social or governmental institutions to regulate behavior. State-enforced laws can be made by a collective legislature or by a single legislator, resulting in statutes, by the executive through decrees and regulations, or established by judges through precedent, normally in common law jurisdictions. Private individuals can create legally binding contracts, including arbitration agreements that may elect to accept alternative arbitration to the normal court process. The formation of laws themselves may be influenced by a constitution, written or tacit, and the rights encoded therein. The law shapes politics, economics, history and society in various ways and serves as a mediator of relations between people., Behavior is the range of actions and mannerisms made by individuals, organisms, systems, or artificial entities in conjunction with themselves or their environment, which includes the other systems or organisms around as well as the (inanimate) physical environment. It is the response of the system or organism to various stimuli or inputs, whether internal or external, conscious or subconscious, overt or covert, and voluntary or involuntary., A contract is a voluntary arrangement between two or more parties that is enforceable by law as a binding legal agreement. Contract is a branch of the law of obligations in jurisdictions of the civil law tradition. Contract law concerns the rights and duties that arise from agreements. , A statute is a formal written enactment of a legislative authority that governs a state, city or country. Typically, statutes command or prohibit something, or declare policy. Statutes are rules made by legislative bodies; they are distinguished from case law or precedent, which is decided by courts, and regulations issued by government agencies. Statute law is written by a government's legislative body and signed into law by its executive., Harmodius (Greek: , "Harmódios") and Aristogeiton (, "Aristogeíton"; both died 514 BC) were two men from ancient Athens. They became known as the Tyrannicides (, "tyrannoktonoi") after they killed the Peisistratid tyrant Hipparchus, and were the preeminent symbol of democracy to ancient Athenians., A constitution is a set of fundamental principles or established precedents according to which a state or other organization is governed. These rules together make up, i.e. "constitute", what the entity is. When these principles are written down into a single document or set of legal documents, those documents may be said to embody a "written" constitution; if they are written down in a single comprehensive document, it is said to embody a "codified" constitution. Some constitutions (such as the constitution of the United Kingdom) are uncodified, but written in numerous fundamental Acts of a legislature, court cases or treaties., Common law (also known as case law or precedent) is law developed by judges, courts, and similar tribunals, stated in decisions that nominally decide individual cases but that in addition have precedential effect on future cases. Common law is a third branch of law, in contrast to and on equal footing with statutes which are adopted through the legislative process, and regulations which are promulgated by the executive branch. In cases where the parties disagree on what the law is, a common law court looks to past precedential decisions of relevant courts. If a similar dispute has been resolved in the past, the court is usually bound to follow the reasoning used in the prior decision (a principle known as "stare decisis"). If, however, the court finds that the current dispute is fundamentally distinct from all previous cases (called a "matter of first impression"), judges have the authority and duty to resolve the issue (one party or the other has to win, and on disagreements of law, judges make that decision). Resolution of the issue in one case becomes precedent that binds future courts. "Stare decisis", the principle that cases should be decided according to consistent principled rules so that similar facts will yield similar results, lies at the heart of all common law systems., Leptines ( Greek :  ) was an Athenian orator . He is known as the proposer of a law that no Athenian , whether citizen or resident alien ( with the sole exception of the descendants of Harmodius and Aristogeiton ) , should be exempt from the public charges ( leitourgiai ) for the state festivals . The object was to provide funds for the festivals and public spectacles at a time when both the treasury and the citizens generally were short of money . It was further asserted that many of the recipients of immunity were really unworthy of it . Against this law Demosthenes delivered ( 354 BC ) his well - known speech `` Against Leptines '' in support of the proposal of Ctesippus that all the cases of immunity should be carefully investigated . Great stress is laid on the reputation for ingratitude and breach of faith which the abolition of immunities would bring upon the state . Besides , the law itself had been passed unconstitutionally , for an existing law confirmed these privileges , and by the constitution of Solon no law could be enacted until any existing law which it contravened had been repealed . The law was probably condemned . Nothing further is known of Leptines . See the edition of the speech by JE Sandys ( 1890 ) ., Politics (from Greek: Politiká: P"olitika", definition "affairs of the cities") is the process of making decisions applying to all members of each group. More narrowly, it refers to achieving and exercising positions of governance  organized control over a human community, particularly a state. Furthermore, politics is the study or practice of the distribution of power and resources within a given community (a usually hierarchically organized population) as well as the interrelationship(s) between communities., A tyrant (Greek , "tyrannos"), in its modern English usage, is an absolute ruler unrestrained by law or person, or one who has usurped legitimate sovereignty. Often described as a cruel character, a tyrant defends his position by oppressive means, tending to control almost everything in the state. The original Greek term, however, merely meant an authoritarian sovereign without reference to character, bearing no pejorative connotation during the Archaic and early Classical periods. However, it was clearly a negative word to Plato, a Greek philosopher, and on account of the decisive influence of philosophy on politics, its negative connotations only increased, continuing into the Hellenistic period. , A society is a group of people involved in persistent social interaction, or a large social grouping sharing the same geographical or social territory, typically subject to the same political authority and dominant cultural expectations. Societies are characterized by patterns of relationships (social relations) between individuals who share a distinctive culture and institutions; a given society may be described as the sum total of such relationships among its constituent members. In the social sciences, a larger society often evinces stratification or dominance patterns in subgroups., Tyrannicide is the killing or assassination of a tyrant or unjust ruler, usually for the common good, 
and usually by one of the tyrant's subjects., Regulation is an abstract concept of management of complex systems according to a set of rules and trends. In systems theory, these types of rules exist in various fields of biology and society, but the term has slightly different meanings according to context. For example:, History (from Greek , "historia", meaning "inquiry, knowledge acquired by investigation") is the study of the past as it is described in written documents. Events occurring before written record are considered prehistory. It is an umbrella term that relates to past events as well as the memory, discovery, collection, organization, presentation, and interpretation of information about these events. Scholars who write about history are called historians., In legal systems based on common law, a precedent, or authority, is a principle or rule established in a previous legal case that is either binding on or persuasive for a court or other tribunal when deciding subsequent cases with similar issues or facts . Common law legal systems place great value on deciding cases according to consistent principled rules so that similar facts will yield similar and predictable outcomes, and observance of precedent is the mechanism by which that goal is attained. The principle by which judges are bound to precedents is known as stare decisis. Black's Law Dictionary defines "precedent" as a "rule of law established for the first time by a court for a particular type of case and thereafter referred to in deciding similar cases." Common law precedent is a third kind of law, on equal footing with statutory law (statutes and codes enacted by legislative bodies), and Delegated legislation (in U.K. parlance) or regulatory law (in U.S. parlance) (regulations promulgated by executive branch agencies)., A decree is a rule of law usually issued by a head of state (such as the president of a republic or a monarch), according to certain procedures (usually established in a constitution). It has the force of law. The particular term used for this concept may vary from country to country. The "executive orders" made by the President of the United States, for example, are decrees (although a decree is not exactly an order). In non-legal English usage, however, the term refers to any authoritarian decision., Economics (, ) is a social science concerned with the factors that determine the production, distribution, and consumption of goods and services. The term "economics" comes from the Ancient Greek from (', pronounced "eekos", "house") and (', "custom" or "law"), hence "rules of the house (hold for good management)". 'Political economy' was the earlier name for the subject, but economists in the late 19th century suggested "economics" as a shorter term for "economic science" to establish itself as a separate discipline outside of political science and other social sciences., Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people, according to some legal system, social convention, or ethical theory. Rights are of essential importance in such disciplines as law and ethics, especially theories of justice and deontology.
Rights are often considered fundamental to civilization, being regarded as established pillars of society and culture, and the history of social conflicts can be found in the history of each right and its development. According to the "Stanford Encyclopedia of Philosophy", "rights structure the form of governments, the content of laws, and the shape of morality as it is currently perceived"., Jurisdiction (from the Latin "ius, " meaning "law" and "" meaning "to speak") is the practical authority granted to a legal body to administer justice within a defined area of responsibility, e.g., Michigan tax law. In the federations like USA, areas of jurisdiction apply to local, state, and federal levels; e.g. the court has jurisdiction to apply federal law., A system is a set of interacting or interdependent component parts forming a complex or intricate whole. Every system is delineated by its spatial and temporal boundaries, surrounded and influenced by its environment, described by its structure and purpose and expressed in its functioning., Subject: leptines, Relation: place_of_birth, Options: (A) athens (B) court (C) legal (D) made (E) of (F) plato (G) republic (H) stanford (I) tradition (J) united kingdom

Ex Output:
athens


Ex Input:
Context: South Cotabato, officially the Province of South Cotabato (Maguindanaon: "Kuta Wato Saut"), is a province in the Philippines located in the SOCCSKSARGEN region in Mindanao. Its capital is Koronadal City, and it borders Sultan Kudarat to the north and west, Sarangani to the south and northeast, and Davao del Sur to the far northeast. To the southeast lies Sarangani Bay., Taiwan, officially the Republic of China (ROC), is a state in East Asia. Neighbors include China (officially the People's Republic of China, abbreviated as PRC) to the west, Japan to the northeast, and the Philippines to the south.
Taiwan is the most populous state that is not a member of the United Nations, and the one with the largest economy., Davao del Sur is a province in the Philippines located in the Davao Region in Mindanao. Its capital and largest city is Digos. The province is bordered by Davao City to the north, Davao Occidental to the south and Cotabato, Sultan Kudarat, South Cotabato and Sarangani to the west. To the east lies the Davao Gulf., Sarangani Bay is a bay located on the southern tip of Mindanao in the Philippines. It opens up to the Celebes Sea on the Pacific Ocean. General Santos City, one of the Philippines most important cities and ports, is located at the head of the bay, making the bay one of the busiest and often the sight of shipping accidents. The province of Sarangani, created in 1992, is named after the bay., Palau (historically Belau or Pelew), officially the Republic of Palau, is an island country located in the western Pacific Ocean. The country contains approximately 250 islands, forming the western chain of the Caroline Islands in Micronesia, and has an area of . The most populous island is Koror. The capital Ngerulmud is located on the nearby island of Babeldaob, in Melekeok State. Palau shares maritime boundaries with Indonesia, the Philippines, and the Federated States of Micronesia., Metropolitan Manila, commonly known as Metro Manila or simply Manila, is the capital region of the Philippines, is the seat of government, the 2nd most populous and the most densely populated region of the country. The National Capital Region (NCR) is composed of Manila, the capital city of the country, Quezon City, the country's most populous city, and the cities of Caloocan, Las Piñas, Makati, Malabon, Mandaluyong, Marikina, Muntinlupa, Navotas, Parañaque, Pasay, Pasig, San Juan, Taguig, and Valenzuela, including the only remaining municipality of Pateros., Luzon is the largest and most populous island in the Philippines and the 15th largest in the world. Located in the northern region of the archipelago, it is the economic and political center of the nation, being home to the country's capital city, Manila, as well as Quezon City, the country's most populous. With a population of 52.99 million , it is the fourth most populous island in the world (after Java, Honshu, and Great Britain), containing about 53% of the country's total population., The Celebes Sea of the western Pacific Ocean is bordered on the north by the Sulu Archipelago and Sulu Sea and Mindanao Island of the Philippines, on the east by the Sangihe Islands chain, on the south by Sulawesi's Minahassa Peninsula, and on the west by Kalimantan in Indonesia. It extends 420 miles (675 km) north-south by 520 miles (837 km) east-west and has a total surface area of , to a maximum depth of . The sea opens southwest through the Makassar Strait into the Java Sea., Malapatan is a first class municipality in the province of Sarangani , Philippines . According to the 2010 census , it has a population of 72,386 people . As of 2010 , it has a total voting population of 35,569 voters . Malapatan is bounded on the west by Sarangani Bay , on the east by Davao del Sur , on the north by Alabel , and on the south by Glan ., Asia is Earth's largest and most populous continent, located primarily in the eastern and northern hemispheres and sharing the continental landmass of Eurasia with the continent of Europe. Asia covers an area of , about 30% of Earth's total land area and 8.7% of the Earth's total surface area. The continent, which has long been home to the majority of the human population, was the site of many of the first civilizations. Asia is notable for not only its overall large size and population, but also dense and large settlements as well as vast barely populated regions within the continent of 4.4 billion people., The Philippine Sea is a marginal sea east and northeast of the Philippines occupying an estimated surface area of 5 million km² (2 million mi²). of the western part of the North Pacific Ocean. It is bordered by the Philippine archipelago (Luzon, Catanduanes, Samar, Leyte and Mindanao) on the southwest; Halmahera, Morotai, Palau, Yap, and Ulithi (of the Carolines) on the southeast; the Marianas, including Guam, Saipan, and Tinian, on the east; the Bonin and Iwo Jima on the northeast; the Japanese islands of Honshu, Shikoku, and Kysh on the north; the Ryukyu Islands on the northwest; and Taiwan in the west., An island country is a country whose primary territory consists of one or more islands or parts of islands. As of 2011, 46 (approximately 24%) of the 193 UN member states are island countries., Southeast Asia or Southeastern Asia is a subregion of Asia, consisting of the countries that are geographically south of China, east of India, west of New Guinea and north of Australia. The region lies near the intersection of geological plates, with heavy seismic and volcanic activity. Southeast Asia consists of two geographic regions:, Vietnam, officially the Socialist Republic of Vietnam (SRV), is the easternmost country on the Indochina Peninsula in Southeast Asia. With an estimated 90.5 million inhabitants , it is the world's 14th-most-populous country, and the eighth-most-populous Asian country. Vietnam is bordered by China to the north, Laos to the northwest, Cambodia to the southwest, Thailand across the Gulf of Thailand to the southwest, and the Philippines, Malaysia and Indonesia across the South China Sea to the east and southeast. Its capital city has been Hanoi since the reunification of North and South Vietnam in 1976., The Philippines, officially the Republic of the Philippines, is a sovereign island country in Southeast Asia situated in the western Pacific Ocean. It consists of about 7,641 islands that are categorized broadly under three main geographical divisions from north to south: Luzon, Visayas, and Mindanao. The capital city of the Philippines is Manila and the most populous city is Quezon City, both part of Metro Manila. Bounded by the South China Sea on the west, the Philippine Sea on the east and the Celebes Sea on the southwest, the Philippines shares maritime borders with Taiwan to the north, Vietnam to the west, Palau to the east and Malaysia and Indonesia to the south., Indonesia (or ; Indonesian: ), officially the Republic of Indonesia, is a unitary sovereign state and transcontinental country located mainly in Southeast Asia with some territories in Oceania. Situated between the Indian and Pacific oceans, it is the world's largest island country, with more than seventeen thousand islands. At , Indonesia is the world's 14th-largest country in terms of land area and world's 7th-largest country in terms of combined sea and land area. It has an estimated population of over 260 million people and is the world's fourth most populous country, the most populous Austronesian nation, as well as the most populous Muslim-majority country. The world's most populous island of Java contains more than half of the country's population., Soccsksargen (officially styled as SOCCSKSARGEN) (pronounced ) is an administrative region of the Philippines, located in south-central Mindanao. It is numerically designated as Region XII. The name is an acronym that stands for the region's four provinces (South Cotabato, Cotabato, Sultan Kudarat and Sarangani) and one of its cities (General Santos). The region used to be called "Central Mindanao". The regional center is Koronadal located in the province of South Cotabato, and the center of commerce, industry and the most populous city is General Santos., 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., Malaysia is a federal constitutional monarchy located in Southeast Asia. It consists of thirteen states and three federal territories and has a total landmass of separated by the South China Sea into two similarly sized regions, Peninsular Malaysia and East Malaysia (Malaysian Borneo). Peninsular Malaysia shares a land and maritime border with Thailand and maritime borders with Singapore, Vietnam, and Indonesia. East Malaysia shares land and maritime borders with Brunei and Indonesia and a maritime border with the Philippines and Vietnam. The capital city is Kuala Lumpur, while Putrajaya is the seat of the federal government. With a population of over 30 million, Malaysia is the 44th most populous country. The southernmost point of continental Eurasia, Tanjung Piai, is in Malaysia. Located in the tropics, Malaysia is one of 17 megadiverse countries on earth, with large numbers of endemic species., Sarangani, or "Saragani", is a province in the Philippines located in the Soccsksargen region. Its capital is Alabel. With a coastline along the Sarangani Bay and Celebes Sea, the province is at the southernmost tip of Mindanao island, and borders South Cotabato and Davao del Sur to the north, Davao Occidental to the east, and the Celebes Sea to the south., Manila (or ), officially City of Manila, is the capital of the Philippines., Mindanao is the second largest and southernmost major island in the Philippines. It is also the name of one of the three island groups in the country (the other two being Luzon and the Visayas), consisting of the island of Mindanao and smaller outlying islands. Davao City is the largest city in Mindanao. As of the 2010 census, the island's population itself is 20,281,545 people, while the Mindanao island group has 21,968,174 inhabitants. Davao City is the most populous in Mindanao as 1,632,991 population, and the 2nd is Zamboanga City as 861,799 population, the 3rd is Cagayan de Oro City as 675,950 population, and followed by General Santos City as 594,446 population as of 2015 census., Quezon City (  also known as QC) is the most populous city in the Philippines. It is one of the cities that make up Metro Manila, the National Capital Region of the Philippines. Quezon City was named after Manuel L. Quezon, second President of the Philippines, who founded the city and developed it to replace Manila as the national capital for 28 years from 1948 to 1976. Quezon City is not located in and should not be confused with Quezon Province, which was also named after the president. It is the largest city in Metro Manila in terms of land area and most populated local government unit in the country., The South China Sea is a marginal sea that is part of the Pacific Ocean, encompassing an area from the Karimata and Malacca Straits to the Strait of Taiwan of around . The area's importance largely results from one-third of the world's shipping sailing through its waters and that it is believed to hold huge oil and gas reserves beneath its seabed., The Visayas or the Visayan Islands (Visayan: "Kabisay-an",  ), is one of the three principal geographical divisions of the Philippines, along with Luzon and Mindanao. It consists of several islands, primarily surrounding the Visayan Sea, although the Visayas are considered the northeast extremity of the entire Sulu Sea. Its inhabitants are predominantly the Visayan people., Subject: malapatan, Relation: shares_border_with, Options: (A) as (B) asia (C) cagayan de oro (D) celebes sea (E) chongqing (F) davao city (G) davao del sur (H) digos (I) east (J) general santos (K) guangzhou (L) hong kong (M) indonesia (N) island (O) java sea (P) leyte (Q) major (R) malaysia (S) manila (T) most (U) muntinlupa (V) national capital region (W) navotas (X) north (Y) northern region (Z) northwest ([) pacific ocean (\) palau (]) parañaque (^) pasig (_) putrajaya (`) quezon (a) quezon city (b) sarangani (c) shanghai (d) south (e) southwest (f) sulu sea (g) sur (h) taiwan (i) tianjin (j) valenzuela (k) vietnam

Ex Output:
general santos


Ex Input:
Context: Norway (; Norwegian: (Bokmål) or (Nynorsk); Sami: "Norgga"), officially the Kingdom of Norway, is a sovereign and unitary monarchy whose territory comprises the western portion of the Scandinavian Peninsula plus the island Jan Mayen and the archipelago of Svalbard. The Antarctic Peter I Island and the sub-Antarctic Bouvet Island are dependent territories and thus not considered part of the Kingdom. Norway also lays claim to a section of Antarctica known as Queen Maud Land. Until 1814, the Kingdom included the Faroe Islands (since 1035), Greenland (1261), and Iceland (1262). It also included Shetland and Orkney until 1468. It also included the following provinces, now in Sweden: Jämtland, Härjedalen and Bohuslän., Northern Europe is the northern part or region of Europe. Although no definitive borders or definition exists for the term, geographically, Northern Europe may be considered to consist approximately of all of Europe above the 52nd parallel north; which includes (from west to east) most or all of: Iceland, the Republic of Ireland, the Isle of Man, the United Kingdom, the Faroe Islands, the Netherlands, northern Germany, Denmark, Norway, Sweden, northern Poland, Finland, Estonia, Latvia, Lithuania and northwest Russia. However, narrower definitions may also be used based on other geographical factors, such as climate and ecology. Greenland, geographically a part of North America, is politically a part of the Kingdom of Denmark, and may be included depending on the definition., Halmstad Municipality ("Halmstads kommun") is a municipality in Halland County on the Swedish west coast, in which the city Halmstad is the seat., Timber framing and "post-and-beam" construction are methods of building with heavy timbers rather than dimensional lumber such as 2x4s. Traditional timber framing is the method of creating structures using heavy squared-off and carefully fitted and joined timbers with joints secured by large wooden pegs (larger versions of the mortise and tenon joints in furniture). It is commonplace in wooden buildings from the 19th century and earlier. The method comes from making things out of logs and tree trunks without modern high tech saws to cut lumber from the starting material stock. Using axes, adzes, and draw knives, hand-powered auger drill bits (brace and bit), and laborious woodworking, artisans or farmers could gradually assemble a building capable of bearing heavy weight without excessive use of interior space given over to vertical support posts. Since this building method has been used for thousands of years in many parts of the world, many styles of historic framing have developed. These styles are often categorized by the type of foundation, walls, how and where the beams intersect, the use of curved timbers, and the roof framing details. Three basic types of timber frames in English-speaking countries are the box frame, cruck frame, and aisled frame., Finland , officially the Republic of Finland, is a sovereign state in Northern Europe. A peninsula with the Gulf of Finland to the south and the Gulf of Bothnia to the west, the country has land borders with Sweden to the northwest, Norway to the north, and Russia to the east. Estonia is south of the country across the Gulf of Finland. Finland is a Nordic country situated in the geographical region of Fennoscandia, which also includes Scandinavia. Finland's population is 5.5 million (2014), staying roughly on the same level over the past two decades. The majority of the population is concentrated in the southern region. In terms of area, it is the eighth largest country in Europe and the most sparsely populated country in the European Union., Halmstad is a port, university, industrial and recreational city at the mouth of Nissan in the province of Halland on the Swedish west coast. Halmstad is the seat of Halmstad Municipality and the capital of Halland County. The city had a population of 92,797 in 2012, out of a municipal total of over 90,000 (18th most populous - 2012). Halmstad is Sweden's 20th-largest city by population and located about midway between Gothenburg (the second most populous) and Malmö (the third). It is Europe's northernmost city with a lot of timber framing architecture., Denmark is a Scandinavian country in Europe. The southernmost and smallest of the Nordic countries, it is south-west of Sweden and south of Norway, and bordered to the south by Germany. The Kingdom of Denmark is the sovereign state that comprises Denmark proper and two autonomous constituent countries in the North Atlantic Ocean: the Faroe Islands and Greenland. Denmark has a total area of , and a population of 5.7 million. The country consists of a peninsula, Jutland, and an archipelago of 443 named islands, with the largest being Zealand and Funen. The islands are characterised by flat, arable land and sandy coasts, low elevation and a temperate climate., Sweden, officially the Kingdom of Sweden (Swedish: ), is a Scandinavian country in Northern Europe. It borders Norway to the west and Finland to the east, and is connected to Denmark in the southwest by a bridge-tunnel across the Öresund. At , Sweden is the third-largest country in the European Union by area, with a total population of 10.0 million. Sweden consequently has a low population density of , with the highest concentration in the southern half of the country. Approximately 85% of the population lives in urban areas., Halmstad Arena is a sports area in Halmstad , Sweden . Halmstad Arena is mainly used for sport activities but can also be used for concerts and fairs ., Subject: halmstad arena, Relation: operator, Options: (A) denmark (B) finland (C) foundation (D) germany (E) halmstad municipality (F) ireland (G) netherlands (H) norway (I) united kingdom

Ex Output:

halmstad municipality