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: Martin D. Hardin ( June 21 , 1780 -- October 8 , 1823 ) was a politician and lawyer from Kentucky . Born in Pennsylvania , his family immigrated to Kentucky when he was still young . He studied law under George Nicholas and commenced practice at Richmond , Kentucky . His cousin , future U.S. Representative Benjamin Hardin , studied in his law office . He represented Madison County in the Kentucky House of Representatives for a single term . Hardin later moved to Frankfort and was elected to the Kentucky House to represent Franklin County . Governor Isaac Shelby appointed him Secretary of State soon after his election . Concurrent with his service , he participated in the War of 1812 , serving alongside future Kentucky Governor George Madison as majors in Colonel John Allen 's militia unit . Following the expiration of his term as Secretary of State , Governor Gabriel Slaughter appointed Hardin to the U.S. Senate seat vacated by William T. Barry , who resigned . Hardin served the remainder of Barry 's term -- approximately one year -- and did not seek re-election . In 1819 , he was elected to the Kentucky House for a third time and was chosen Speaker of the House . He died October 8 , 1823 . Hardin married the daughter of Kentucky pioneer Benjamin Logan , and their son , John J. Hardin , represented Illinois in the U.S. House of Representatives before being killed at the Battle of Buena Vista . In his book Life of Lincoln , Ward Hill Lamon speculated that future President Abraham Lincoln may have been the illegitimate child of Hardin and Nancy Hanks , but the rumor was later debunked ., George Nicholas (c. 1754  July 25, 1799) was the first professor of law at Transylvania University in Kentucky. He was also briefly attorney general of Kentucky, and had been several times a member of the Virginia House of Delegates. He was the son of Robert C. Nicholas, Sr.; his brothers included Wilson Cary Nicholas. He was the father of Robert C. Nicholas. He was a friend and correspondent of James Madison; he was also extremely fat, and Madison laughed until he cried at a caricature of Nicholas, during the Virginia convention to ratify the United States Constitution, as a plum pudding with legs., The Kentucky General Assembly, also called the Kentucky Legislature, is the state legislature of the U.S. state of Kentucky., Kentucky, officially the Commonwealth of Kentucky, is a state located in the east south-central region of the United States. Kentucky is one of four U.S. states constituted as a commonwealth (the others being Virginia, Pennsylvania, and Massachusetts). Originally a part of Virginia, in 1792 Kentucky became the 15th state to join the Union. Kentucky is the 37th most extensive and the 26th most populous of the 50 United States., Madison County is a county located in the U.S. state of Kentucky. As of the 2010 census, the population was 82,916. Its county seat is Richmond. The county is named for Virginia statesman James Madison, who later became the fourth President of the United States., 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., 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., Martin Davis Hardin (June 26, 1837  December 12, 1923) was a brigadier general in the Union Army during the American Civil War. He was appointed a brigadier general on July 6, 1864, to rank from July 2, 1864, the date of U.S. Senate confirmation of his promotion., The United States Constitution is the supreme law of the United States of America. The Constitution, originally comprising seven articles, delineates the national frame of government. Its first three articles entrench the doctrine of the separation of powers, whereby the federal government is divided into three branches: the legislative, consisting of the bicameral Congress; the executive, consisting of the President; and the judicial, consisting of the Supreme Court and other federal courts. Articles Four, Five and Six entrench concepts of federalism, describing the rights and responsibilities of state governments and of the states in relationship to the federal government. Article Seven establishes the procedure subsequently used by the thirteen States to ratify it., Bardstown is a home rule-class city in Nelson County, Kentucky, in the United States. The population was recorded as 11,700 by the 2010 census. It is the county seat of Nelson County. It is named for the pioneering Bard brothers. David Bard obtained a land grant in 1785 in what was then Jefferson County, Virginia from Governor Patrick Henry. William Bard surveyed and platted the town. It was originally chartered as Baird's Town., 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., Richmond is a city in and the county seat of Madison County, Kentucky, United States. It is named after Richmond, Virginia, and is the home of Eastern Kentucky University. The population was 33,533 in 2015. Richmond is the third-largest city in the Bluegrass region (after Louisville and Lexington) and the state's sixth-largest city. Richmond serves as the center for work and shopping for south-central Kentucky. Richmond is the principal city of the RichmondBerea Micropolitan Statistical Area, which includes all of Madison and Rockcastle counties., In most common law jurisdictions, the attorney general (sometimes abbreviated as AG) or attorney-general (pluralized as attorneys general or attorneys-general, as "general" is a postpositive adjective) is the main legal advisor to the government, and in some jurisdictions they may also have executive responsibility for law enforcement, prosecutions or even responsibility for legal affairs generally. In practice, the extent to which the attorney-general personally provides legal advice to the government varies between jurisdictions, and even between individual office-holders within the same jurisdiction, often depending on the level and nature of the office-holder's prior legal experience., 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., James Madison, Jr., (March 16 [O.S. March 5], 1751  June 28, 1836) was an American statesman and Founding Father who served as the fourth President of the United States from 1809 to 1817. He is hailed as the "Father of the Constitution" for his pivotal role in drafting and promoting the United States Constitution and the Bill of Rights., Virginia (, officially the Commonwealth of Virginia) is a state located in the Mid-Atlantic region of the United States, as well as in the historic Southeast. Virginia is nicknamed the "Old Dominion" due to its status as the first colonial possession established in mainland British America, and "Mother of Presidents" because eight U.S. presidents were born there, more than any other state. The geography and climate of the Commonwealth are shaped by the Blue Ridge Mountains and the Chesapeake Bay, which provide habitat for much of its flora and fauna. The capital of the Commonwealth is Richmond; Virginia Beach is the most populous city, and Fairfax County is the most populous political subdivision. The Commonwealth's estimated population is over 8.3 million, which is slightly less than New York City., Robert Carter Nicholas (January 10, 1787  December 24, 1856) was a United States Senator from Louisiana. He was a veteran of the War of 1812, and also served as Secretary of State of Louisiana and Louisiana's Superintendent of Education., 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., 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., Benjamin Hardin (February 29, 1784  September 24, 1852) was a United States Representative from Kentucky. Martin Davis Hardin was his cousin. He was born at the Georges Creek settlement on the Monongahela River, Westmoreland County, Pennsylvania and then moved with his parents to Washington County, Kentucky in 1788. Hardin attended the schools of Nelson and Washington Counties, Kentucky before studying law. He was admitted to the bar in 1806 and commenced practice in Elizabethtown and Bardstown, Nelson County, Kentucky and he settled in Bardstown, Kentucky in 1808., Wilson Cary Nicholas (January 31, 1761October 10, 1820) was an American politician who served in the U.S. Senate from 1799 to 1804 and was the 19th Governor of Virginia from 1814 to 1816., The Appalachian Mountains, often called the Appalachians, are a system of mountains in eastern North America. The Appalachians first formed roughly 480 million years ago during the Ordovician Period. It once reached elevations similar to those of the Alps and the Rocky Mountains before naturally occurring erosion. The Appalachian chain is a barrier to east-west travel, as it forms a series of alternating ridgelines and valleys oriented in opposition to most roads running east or west., The Kentucky House of Representatives is the lower house of the Kentucky General Assembly. It is composed of 100 Representatives elected from single-member districts throughout the Commonwealth. Not more than two counties can be joined to form a House district, except when necessary to preserve the principle of equal representation. Representatives are elected to two-year terms with no term limits. The Kentucky House of Representatives convenes at the State Capitol in Frankfort., Subject: martin d. hardin, Relation: position_held, Options: (A) 12 (B) 3 (C) advisor (D) attorney general (E) attorney general of kentucky (F) baron (G) congress (H) governor (I) kentucky general assembly (J) leader (K) legislator (L) mother (M) opposition (N) politician (O) president (P) prior (Q) professor (R) senator (S) state legislature (T) united states representative (U) united states senator (V) virginia beach (W) york

Ex Output:
united states senator


Ex Input:
Context: The Prime Minister of New Zealand is the head of government of New Zealand. The current prime minister is Bill English of the National Party, who took office on 12 December 2016., The New Zealand National Party (Mori: "Rp Nhinara") is a centre-right political party in New Zealand. It is one of two major parties in 21st-century New Zealand politics, alongside its historic rival, the New Zealand Labour Party., Nicola Laura `` Nikki '' Kaye MP ( born 11 February 1980 ) is the member of the New Zealand Parliament for the Auckland Central electorate . In January 2013 , she was appointed to the Cabinet by Prime Minister John Key , giving her the portfolios of Food Safety , Civil Defence , and Youth Affairs , and Associate Minister of Education and Immigration ., John Phillip Key (born 9 August 1961) is a New Zealand politician who served as the 38th Prime Minister of New Zealand and leader of the New Zealand National Party. He was elected leader of the party in November 2006 and appointed Prime Minister in November 2008, resigning from both posts in December 2016., Subject: nikki kaye, Relation: member_of_political_party, Options: (A) national party (B) new zealand national party

Ex Output:
new zealand national party


Ex Input:
Context: Jays are several species of medium-sized, usually colorful and noisy, passerine birds in the crow family, Corvidae. The names "jay" and "magpie" are somewhat interchangeable, and the evolutionary relationships are rather complex. For example, the Eurasian magpie seems more closely related to the Eurasian jay than to the Oriental blue and green magpies, whereas the blue jay is not closely related to either., Monochrome describes paintings, drawings, design, or photographs in one color or values of one color. A monochromatic object or image reflects colors in shades of limited colors or hues. Images using only shades of grey (with or without black or white) are called grayscale or black-and-white. However, scientifically speaking, monochromatic light refers to visible light of a narrow band of wavelengths (see spectral color)., Self-awareness is the capacity for introspection and the ability to recognize oneself as an individual separate from the environment and other individuals. It is not to be confused with consciousness in the sense of qualia. While consciousness is a term given to being aware of one's environment and body and lifestyle, self-awareness is the recognition of that awareness., Corvidae is a cosmopolitan family of oscine passerine birds that contains the crows, ravens, rooks, jackdaws, jays, magpies, treepies, choughs, and nutcrackers. In common English, they are known as the crow family, or, more technically, corvids. Over 120 species are described. The genus "Corvus", including the jackdaws, crows, and ravens, makes up over a third of the entire family., Eurasia is the combined continental landmass of Europe and Asia. The term is a portmanteau of its constituent continents. Located primarily in the Northern and Eastern Hemispheres, it is bordered by the Atlantic Ocean to the west, the Pacific Ocean to the east, the Arctic Ocean to the north, and by Africa, the Mediterranean Sea, and the Indian Ocean to the south. The division between Europe and Asia as two different continents is a historical and cultural construct, with no clear physical separation between them; thus, in some parts of the world, Eurasia is recognized as the largest of five or six continents. In geology, Eurasia is often considered as a single rigid megablock. However, the rigidity of Eurasia is debated based on the paleomagnet data., Two species of chough ("") constitute the genus Pyrrhocorax of the Corvidae (crow) family of birds. These are the red-billed chough ("Pyrrhocorax pyrrhocorax"), and the Alpine chough (or Yellow-billed chough) ("Pyrrhocorax graculus"). The white-winged chough of Australia, despite its name, is not a true chough but rather a member of the family Corcoracidae and only distantly related., The Eurasian magpie or common magpie ("Pica pica") is a resident breeding bird throughout Europe, much of Asia and northwest Africa. It is one of several birds in the crow family designated magpies, and belongs to the Holarctic radiation of "monochrome" magpies. In Europe, "magpie" is used by English speakers as a synonym for the European magpie: the only other magpie in Europe is the Iberian magpie ("Cyanopica cooki"), which is limited to the Iberian peninsula., The mirror test, sometimes called the mark test or the mirror self-recognition test (MSR), is a behavioural technique developed in 1970 by psychologist Gordon Gallup Jr. as an attempt to determine whether a non-human animal possesses the ability of self-recognition. The MSR test is the traditional method for attempting to measure self-awareness, however there has been controversy whether the test is a true indicator., A crow is a bird of the genus "Corvus". The term "crow" is used both as part of the common name of many species, and collectively for all of "Corvus". , The treepies comprise four closely related genera (Dendrocitta, Crypsirina, Temnurus and Platysmurus) of long-tailed passerine birds in the family Corvidae. There are 11 species of treepie. Treepies are similar to magpies. Most treepies are black, white, gray or brown. They are found in Southeast Asia. They live in tropical forests. They are highly arboreal and rarely come to the ground to feed., A passerine is any bird of the order Passeriformes, which includes more than half of all bird species. A notable feature of passerines compared to other orders of Aves is the arrangement of their toes, three pointing forward and one back, which facilitates perching. Sometimes known as perching birds or, less accurately, as songbirds, the passerines form one of the most diverse terrestrial vertebrate orders, with over 5,000 identified species. It has roughly twice as many species as the largest of the mammal orders, the Rodentia. It contains more than 110 families, the second-most of any order of tetrapods (after Squamata, the scaled reptiles).
The passerines contain several groups of brood parasites such as the viduas, cuckoo-finches, and the cowbirds. Most passerines are omnivorous, while the shrikes are carnivorous., A raven is one of several larger-bodied species of the genus "Corvus". These species do not form a single taxonomic group within the genus., Magpies are birds of the Corvidae ( crow ) family , including the black and white Eurasian magpie , which is considered one of the most intelligent animals in the world , and the only non-mammal species able to recognize itself in a mirror test . In addition to other members of the genus Pica , corvids considered as magpies are in the genera Cissa , Cyanopica and Urocissa ., The Holarctic is the name for the biogeographic realm that encompasses the majority of habitats found throughout the northern continents of the world, combining Wallace's Palearctic zoogeographical region, consisting of North Africa and all of Eurasia (with the exception of the southern Arabian Peninsula, Southeast Asia, and the Indian subcontinent), and the Nearctic zoogeographical region, consisting of North America north of Southern Mexico. These regions are further subdivided into a variety of ecoregions. Many ecosystems, and the animal and plant communities that depend on them, are found across multiple continents in large portions of this realm. The continuity of these ecosystems results from the shared glacial history of the realm. The floristic Boreal Kingdom corresponds to the Holarctic realm., The "Corvida" were one of two "parvorders" contained within the suborder Passeri, as proposed in the Sibley-Ahlquist taxonomy, the other being Passerida. Standard taxonomic practice would place them at the rank of infraorder., Subject: magpie, Relation: instance_of, Options: (A) addition (B) bird (C) common name (D) complex (E) design (F) division (G) environment (H) family (I) five (J) four (K) genus (L) giant (M) human (N) india (O) landmass (P) lifestyle (Q) limited (R) member (S) mirror (T) name (U) object (V) ocean (W) part (X) peninsula (Y) rank (Z) realm ([) sea (\) sense (]) single (^) species (_) study (`) synonym (a) taxonomy (b) term (c) three (d) two (e) variety

Ex Output:

common name