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: Andy Samuel Griffith (June 1, 1926  July 3, 2012) was an American actor, television producer, Southern gospel singer, and writer. He was a Tony Award nominee for two roles, and gained prominence in the starring role in director Elia Kazan's film "A Face in the Crowd" (1957) before he became better known for his television roles, playing the lead characters in the sitcom, "The Andy Griffith Show" (19601968), and in the legal drama, "Matlock" (19861995)., Clarence E. `` Pete '' Carpenter ( 1 April 1914 -- 15 October 1987 ) , was an American jazz trombonist , musical arranger , and a veteran of television theme song scoring . After a long career playing the trombone in bands and as a studio musician , Carpenter started working with composer Earle Hagen and writing music for television on shows like Bewitched ( 1964 ) , Gomer Pyle , U.S.M.C. ( 1964 ) , and The Andy Griffith Show ( 1966 -- 1967 ) ., The Andy Griffith Show is an American sitcom which aired on CBS from October 3, 1960 to April 1, 1968, with a total of 249 half-hour episodes spanning over eight seasons, first in black-and-white, and then, in color, which partially originated from an episode of "The Danny Thomas Show". It stars Andy Griffith, who portrays the widowed sheriff of the fictional small community of Mayberry, North Carolina. His life is complicated by an inept but well-meaning deputy, Barney Fife (Don Knotts), Aunt Bee (Frances Bavier), a spinster aunt and housekeeper, and Opie (Ron Howard), a precocious young son. Eccentric friends and temperamental girlfriends further complicate his life. Regarding the tone of the show, Griffith said that despite a contemporary setting, the show evoked nostalgia, stating in a "Today Show" interview: "Well, though we never said it, and though it was shot in the 1960s, it had a feeling of the 1930s. It was, when we were doing it, of a time gone by.", Agnes Robertson Moorehead (December 6, 1900  April 30, 1974) was an American actress whose career of six decades included work in radio, stage, film, and television. She is chiefly known for her role as Endora on the television series "Bewitched". She was also notable for her film roles in "Citizen Kane", "The Magnificent Ambersons", "All That Heaven Allows", "Show Boat" and "Hush Hush, Sweet Charlotte"., Gomer Pyle, U.S.M.C. is an American situation comedy that originally aired on CBS from September 25, 1964, to May 2, 1969. The series was a spin-off of "The Andy Griffith Show", and the pilot episode was aired as the season finale of the fourth season of its parent series on May 18, 1964. The show ran for a total of 150 half-hour episodes spanning over five seasons, first in black-and-white, and then in color. In 2006, CBS Home Entertainment (distributed by Paramount) began releasing the series on DVD. The final season was released in November 2008., Bewitched is an American television sitcom fantasy series, originally broadcast for eight seasons on ABC from September 17, 1964, to March 25, 1972. It was created by Sol Saks under executive director Harry Ackerman, and starred Elizabeth Montgomery, Dick York (19641969), Agnes Moorehead, and David White. Dick Sargent replaced an ill York for the final three seasons (19691972). The show is about a witch who marries an ordinary mortal man, and vows to lead the life of a typical suburban housewife. "Bewitched" enjoyed great popularity, finishing as the number two show in America during its debut season, and becoming the longest-running supernatural-themed sitcom of the 1960s1970s. The show continues to be seen throughout the world in syndication and on recorded media., Frances Elizabeth Bavier (December 14, 1902  December 6, 1989) was an American stage and television actress. Originally from New York theatre, Bavier worked in film and television from the 1950s. She is best known for her role of Aunt Bee on "The Andy Griffith Show" and "Mayberry R.F.D." from 1960-70. Aunt Bee logged more Mayberry years (ten) than any other character. She won an Emmy Award for Outstanding Supporting Comedy Actress for the role in 1967., Subject: pete carpenter, Relation: award_received, Options: (A) 1900 (B) emmy award (C) tony award

Output: emmy award


Input: Consider Input: Context: Anderson House , also known as Larz Anderson House , located at 2118 Massachusetts Avenue , NW , on Embassy Row in the Dupont Circle neighborhood of Washington , D.C. , houses the Society of the Cincinnati 's national headquarters , historic house museum , and research library . Anderson House was built between 1902 and 1905 as the winter residence of Larz Anderson , an American diplomat , and his wife , Isabel Weld Perkins , an author and American Red Cross volunteer . Architects Arthur Little and Herbert Browne of Boston , Massachusetts designed Anderson House in the Beaux - Arts style . The Andersons used the house to entertain the social and political elite of America and abroad , as well as to showcase their collection of fine art and historic artifacts that the couple acquired in their extensive travels . The Andersons had no children . Following Larz Anderson 's death in 1937 , his widow donated the Anderson House and its contents to the Society of the Cincinnati , of which Larz Anderson had been a devoted member for more than forty years . The Society opened Anderson House as a museum in 1939 . Anderson House was listed on the National Register of Historic Places in 1971 and was further designated a National Historic Landmark in 1996 . Today , Anderson House continues to serve its members and the public as a headquarters , museum , and library . Visitors to the museum at Anderson House can tour the first two floors of the house , decorated with the Andersons ' collection and interpreted to illuminate the world of entertaining and collecting in Washington , and can also view changing exhibitions devoted to the history of the American Revolution , the Society of the Cincinnati , and Anderson House and its occupants . In addition to the Andersons ' original collection , the Society 's museum collections include portraits , armaments , and personal artifacts of Revolutionary War soldiers ; commemorative objects made to remember the war and its participants ; objects associated with the history of the Society and its members , including Society of the Cincinnati china and insignia ; portraits and personal artifacts of members of the Anderson family ; and artifacts related to the history of the house , including the U.S. Navy 's occupation of it during World War II. Anderson House has been featured on the A&E television series , America 's Castles , as well as C - SPAN ., 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., 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., 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., The United States Naval Observatory (USNO) is one of the oldest scientific agencies in the United States, with a primary mission to produce Positioning, Navigation and Timing (PNT) for the United States Navy and the United States Department of Defense. Located in Northwest Washington, D.C. at the Northwestern end of Embassy Row, it is one of the pre-1900 astronomical observatories located in an urban area; at the time of its construction, it was far from the light pollution thrown off by the (then-smaller) city center. The USNO operates the "Master Clock", which provides precise time to the GPS satellite constellation run by the United States Air Force. The USNO performs radio VLBI-based positions of quasars with numerous global collaborators, in order to produce Earth Orientation parameters., Isabel Weld Perkins (March 3, 1876  November 3, 1948), mostly known as Isabel Anderson or Mrs. Larz Anderson after her marriage, was a Boston-area heiress and author who left a legacy to the public that includes a park and two museums., Embassy Row is the informal name for the section of Massachusetts Avenue, N.W. between Scott Circle and the North side of the United States Naval Observatory, in which embassies, diplomatic missions, and other diplomatic representations are concentrated. By extension, the name may be used to encompass nearby streets which also host diplomatic buildings., Subject: larz anderson house, Relation: significant_event, Options: (A) construction (B) design (C) marriage (D) order (E) production

Output: construction


Input: Consider Input: Context: Ecuador, officially the Republic of Ecuador (which literally translates as "Republic of the Equator"), is a representative democratic republic in northwestern South America, bordered by Colombia on the north, Peru on the east and south, and the Pacific Ocean to the west. Ecuador also includes the Galápagos Islands in the Pacific, about west of the mainland., The Río de la Plata ("River of Silver")  rendered River Plate in British English and the Commonwealth and La Plata River (occasionally Plata River) in other English-speaking countries  is the river and estuary formed by the confluence of the Uruguay and the Paraná rivers. It empties into the Atlantic Ocean, forming a funnel-shaped indentation on the southeastern coastline of South America., Tacuarembó is the capital city of the Tacuarembó Department in north-central Uruguay., Treinta y Tres is a department of Uruguay. Its capital is Treinta y Tres. It is located in the east of the country, bordering the departments of Cerro Largo to the north, Durazno and Florida to the west, Lavalleja and Rocha to the south, while to its east is the lake Laguna Merín separating it from the southernmost end of Brazil., Uruguay, officially the Oriental Republic of Uruguay, is a country in the southeastern region of South America. It borders Argentina to its west and Brazil to its north and east, with the Río de la Plata (River of Silver) to the south and with the Atlantic Ocean to the southeast. Uruguay is home to an estimated 3.42 million people, of whom 1.8 million live in the metropolitan area of its capital and largest city, Montevideo. With an area of approximately , Uruguay is geographically the second-smallest nation in South America, only larger in size than Suriname., The megadiverse countries are a group of countries that harbor the majority of Earth's species and high numbers of endemic species. Conservation International identified 17 megadiverse countries in 1998. Many of them are located in, or partially in, tropical or subtropical regions., Rivera is the capital of Rivera Department of Uruguay. The border with Brazil joins it with the Brazilian city of Santana do Livramento, which is only a street away from it. Together, they form an urban area of around 200,000 inhabitants. As of the census of 2011, it is the sixth most populated city of Uruguay., Cerro Largo Department is a department of Uruguay. Its capital is Melo. It is located in the east of the country, bordering Brazil to its northeast with Yaguaron River as the natural border, Treinta y Tres Department to its south, Durazno Department to its west and the departments of Tacuarembó and Rivera to its northwest with Negro River as its natural border with them., South America is a continent located in the western hemisphere, mostly in the southern hemisphere, with a relatively small portion in the northern hemisphere. It is also considered a subcontinent of the Americas, which is the model used in nations that speak Romance languages. The reference to South America instead of other regions (like Latin America or the Southern Cone) has increased in the last decades due to changing geopolitical dynamics (in particular, the rise of Brazil)., Paysandú Department is a department of the northwestern region of Uruguay. It has an area of and a population of 113,124. Its capital is the city of Paysandú. It borders Salto Department to its north, Tacuarembó Department to its east, Río Negro Department to its south and has the Río Uruguay flowing at its west, separating it from Argentina., 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., Argentina, officially the Argentine Republic, is a federal republic in the southern half of South America. Sharing the bulk of the Southern Cone with its neighbor Chile to the west, the country is also bordered by Bolivia and Paraguay to the north, Brazil to the northeast, Uruguay and the South Atlantic Ocean to the east, and the Drake Passage to the south. With a mainland area of , Argentina is the eighth-largest country in the world, the second largest in Latin America, and the largest Spanish-speaking one. The country is subdivided into twenty-three provinces (singular "provincia") and one autonomous city ("ciudad autónoma"), Buenos Aires, which is the federal capital of the nation as decided by Congress.
The provinces and the capital have their own constitutions, but exist under a federal system., Rivera Department is a department of the northern region of Uruguay . It has an area of 9,370 km2 ( 3,620 sq mi ) and a population of 103,493 . Its capital is the city of Rivera . It borders Brazil to the north and east , Cerro Largo Department to the southeast , Tacuarembó Department to the south and west and Salto Department to the northwest ., Latin America is a group of countries and dependencies in the Americas where Romance languages are predominant. The term originated in 19th century France as "Amérique latine" to consider French-speaking territories in the Americas (Haiti, French Guiana, Martinique, Guadeloupe, Saint Martin, Saint Barthélemy) along with the larger group of countries where Spanish and Portuguese languages prevailed. It is therefore broader than the terms Ibero-America or Hispanic Americathough it usually excludes French Canada and modern French Louisiana., Brazil, officially the Federative Republic of Brazil, is the largest country in both South America and Latin America. As the world's fifth-largest country by both area and population, it is the largest country to have Portuguese as an official language and the only one in the Americas. Bounded by the Atlantic Ocean on the east, Brazil has a coastline of . It borders all other South American countries except Ecuador and Chile and covers 47.3% of the continent's land area. Its Amazon River basin includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats. This unique environmental heritage makes Brazil one of 17 megadiverse countries, and is the subject of significant global interest and debate regarding deforestation and environmental protection., Salto Department is a department of the northwestern region of Uruguay. It has an area of and a population of 124,878. Its capital is the city of Salto. It borders Artigas Department to its north, Paysandú Department to its south, the departments of Rivera and Tacuarembó to its east and has the Río Uruguay flowing at its west, separating it from Argentina., Durazno is a department of Uruguay. Its capital is Durazno. Its name means ""peach"" in Spanish, referring to the department's peaches and its status as an agricultural breadbasket. It is located in the centre of the country, and is bounded to the north by the Río Negro and the Río Yi to the South. To its north are the departments of Río Negro and Tacuarembó, to it southeast the departments of Treinta y Tres, to its south the departments of Flores and Florida, while on its east is the department of Cerro Largo., Chile, officially the Republic of Chile, is a South American country occupying a long, narrow strip of land between the Andes to the east and the Pacific Ocean to the west. It borders Peru to the north, Bolivia to the northeast, Argentina to the east, and the Drake Passage in the far south. Chilean territory includes the Pacific islands of Juan Fernández, Salas y Gómez, Desventuradas, and Easter Island in Oceania. Chile also claims about of Antarctica, although all claims are suspended under the Antarctic Treaty., Montevideo is the capital and largest city of Uruguay. According to the 2011 census, the city proper has a population of 1,319,108 (about one-third of the country's total population) in an area of . The southernmost capital city in the Americas, Montevideo is situated in the southern coast of the country, on the northeastern bank of the Río de la Plata., Suriname (or , also spelled Surinam), officially known as the Republic of Suriname, is a sovereign state on the northeastern Atlantic coast of South America. It is bordered by French Guiana to the east, Guyana to the west and Brazil to the south. At just under , it is the smallest country in South America. Suriname has a population of approximately 566,000, most of whom live on the country's north coast, in and around the capital and largest city, Paramaribo., Artigas Department is the northernmost department of Uruguay, located in its northwestern region. Its capital is the city of Artigas, which borders on the Brazilian city of Quaraí. Artigas Department has an area of , making it the fifth largest in the country. The population is 73,378 inhabitants, according to the 2011 census., Tacuarembó is the largest department of Uruguay and it is part of its northern region. Its capital is Tacuarembó. It borders Rivera Department to its north and east, the departments of Salto, Paysandú and Río Negro to its west and has the river Río Negro flowing along its south border, separating it from the departments of Durazno and Cerro Largo., A country is a region that is identified as a distinct national entity in political geography. A country may be an independent sovereign state or one that is occupied by another state, as a non-sovereign or formerly sovereign political division, or a geographic region associated with sets of previously independent or differently associated people with distinct political characteristics. Regardless of the physical geography, in the modern internationally accepted legal definition as defined by the League of Nations in 1937 and reaffirmed by the United Nations in 1945, a resident of a country is subject to the independent exercise of legal jurisdiction., Santana do Livramento is a city in the state of Rio Grande do Sul, Brazil. It is located along the border with the city of Rivera, Uruguay, forming together an international city of almost 170,000 inhabitants., Subject: rivera department, Relation: instance_of, Options: (A) 1937 (B) area (C) autonomous city (D) brazil (E) buenos aires (F) capital (G) century (H) city (I) confluence (J) congress (K) conservation (L) continent (M) country (N) department (O) department of uruguay (P) estuary (Q) federal republic (R) geography (S) group (T) harbor (U) home (V) jurisdiction (W) lake (X) league (Y) may (Z) metropolitan ([) metropolitan area (\) model (]) nation (^) part (_) people (`) population (a) representative (b) republic (c) river (d) romance (e) saint (f) sharing (g) size (h) street (i) subcontinent (j) system (k) territory (l) three (m) treaty


Output: department of uruguay