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 Q]: Context: Terms of Endearment is a 1983 American comedy-drama film adapted from the novel of the same name by Larry McMurtry, directed, written, and produced by James L. Brooks and starring Shirley MacLaine, Debra Winger, Jack Nicholson, Danny DeVito, Jeff Daniels, and John Lithgow. The film covers 30 years of the relationship between Aurora Greenway (MacLaine) and her daughter Emma (Winger)., Tom Pedigo ( March 4 , 1940 -- January 25 , 2000 ) was an American set decorator . He was nominated for an Academy Award in the category Best Art Direction for the film Terms of Endearment ., Shirley MacLaine (born Shirley MacLean Beaty; April 24, 1934) is an American film, television and theater actress, singer, dancer, activist and author. An Academy Award winner, MacLaine received the 40th AFI Life Achievement Award from the American Film Institute in 2012, and received the Kennedy Center Honors for her lifetime contributions to American culture through the performing arts in 2013. She is known for her New Age beliefs, and has an interest in spirituality and reincarnation. She has written a series of autobiographical works that describe these beliefs, document her world travels, and describe her Hollywood career., Jeffrey Warren Daniels (born February 19, 1955) is an American actor, musician, and playwright, whose career includes roles in films, stage productions and on television, for which he has won an Emmy Award and received Golden Globe, Screen Actors Guild and Tony Award nominations., John Arthur Lithgow (; born , 1945) is an American actor, musician, singer, and author. He has received two Tony Awards, five Emmy Awards, two Golden Globe Awards, three Screen Actors Guild Awards, an American Comedy Award, four Drama Desk Awards and has also been nominated for two Academy Awards and four Grammy Awards. Lithgow has received a star on the Hollywood Walk of Fame and has been inducted into the American Theater Hall of Fame., Larry Jeff McMurtry (born June 3, 1936) is an American novelist, essayist, bookseller and screenwriter whose work is predominantly set in either the old West or in contemporary Texas. His novels include "Horseman, Pass By" (1962), "The Last Picture Show" (1966) and "Terms of Endearment" (1975), which were adapted into films earning 26 Academy Award nominations (10 wins). His 1985 Pulitzer Prize-winning novel "Lonesome Dove" was adapted into a television miniseries that earned 18 Emmy Award nominations (seven wins), with the other three novels in his "Lonesome Dove" series adapted into three more miniseries earning eight more Emmy nominations. McMurtry and co-writer Diana Ossana adapted the screenplay for "Brokeback Mountain" (2005), which earned eight Academy Award nominations with three wins, including McMurtry and Ossana for Best Adapted Screenplay., Debra Lynn Winger (born May 16, 1955) is an American actress. She has been nominated three times for the Academy Award for Best Actress; for "An Officer and a Gentleman" (1982), "Terms of Endearment" (1983), and "Shadowlands" (1993). She won the National Society of Film Critics Award for Best Actress for "Terms of Endearment", and the Tokyo International Film Festival Award for Best Actress for "A Dangerous Woman" (1993). Her other film roles include "Urban Cowboy" (1980), "Legal Eagles" (1986), "Black Widow" (1987), "Betrayed" (1988), "Forget Paris" (1995), and "Rachel Getting Married" (2008). In 2012, she made her Broadway debut in the original production of the David Mamet play "The Anarchist"., Subject: tom pedigo, Relation: award_received, Options: (A) academy awards (B) afi life achievement award (C) american film institute (D) award (E) emmy award (F) hollywood walk of fame (G) national society of film critics (H) pulitzer prize
[EX A]: emmy award

[EX Q]: Context: The European Union (EU) is a political and economic union of member states that are located primarily in Europe. It has an area of , and an estimated population of over 510 million. The EU has developed an internal single market through a standardised system of laws that apply in all member states. EU policies aim to ensure the free movement of people, goods, services, and capital within the internal market, enact legislation in justice and home affairs, and maintain common policies on trade, agriculture, fisheries, and regional development. Within the Schengen Area, passport controls have been abolished. A monetary union was established in 1999 and came into full force in 2002, and is composed of 19 EU member states which use the euro currency., The Council of the European Union (often still referred to as the Council of Ministers, or sometimes just called the Council) is the third of the seven institutions of the European Union (EU) as listed in the Treaty on European Union. It is part of the essentially bicameral EU legislature (the other legislative body being the European Parliament) and represents the executive governments of the EU's member states. It is based in the Justus Lipsius building in Brussels, Belgium., The European Commission (EC) is an institution of the European Union, responsible for proposing legislation, implementing decisions, upholding the EU treaties and managing the day-to-day business of the EU. Commissioners swear an oath at the European Court of Justice in Luxembourg, pledging to respect the treaties and to be completely independent in carrying out their duties during their mandate., Jacques Lucien Jean Delors (born 20 July 1925) is a French economist and politician, previously the eighth President of the European Commission and the first person to serve three terms in that office (between January 1985 and January 1995). He is the father of Martine Aubry, the former first secretary (leader) of the Socialist Party of France., François Maurice Adrien Marie Mitterrand (26 October 1916  8 January 1996) was a French politician who was President of France from 1981 to 1995, the longest time in office of any French president. As leader of the Socialist Party, he was the first figure from the left elected president under the Fifth Republic., France, officially the French Republic, is a country with territory in western Europe and several overseas regions and territories. The European, or metropolitan, area of France extends from the Mediterranean Sea to the English Channel and the North Sea, and from the Rhine to the Atlantic Ocean. Overseas France include French Guiana on the South American continent and several island territories in the Atlantic, Pacific and Indian oceans. France spans and had a total population of almost 67 million people as of January 2017. It is a unitary semi-presidential republic with the capital in Paris, the country's largest city and main cultural and commercial centre. Other major urban centres include Marseille, Lyon, Lille, Nice, Toulouse and Bordeaux., Gilles Pargneaux ( born 24 March 1957 in Harcigny ) is a French politician , Member of the European Parliament elected in the 2009 European election for the North - West constituency and leader of the PS federation in Lille . He is close to the leader of the PS , the Mayor of Lille Martine Aubry . In 2009 , the PS selected him to lead the PS list in the North - West constituency ahead of the 2009 European elections . His list won 18.09 % and two seats , so he was elected to the European Parliament ., Martine Louise Marie Aubry ("née" Delors; born 8 August 1950) is a French politician. She was the First Secretary of the French Socialist Party ("Parti Socialiste", or PS) from November 2008 to April 2012, and has been the first female Mayor of Lille (Nord) since March 2001. Her father, Jacques Delors, served as Minister of Finance under President François Mitterrand and was also President of the European Commission., The European Parliament (EP) is the directly elected parliamentary institution of the European Union (EU). Together with the Council of the European Union (the Council) and the European Commission, it exercises the legislative function of the EU. The Parliament is composed of 751 (previously 766) members, who represent the second largest democratic electorate in the world (after the Parliament of India) and the largest trans-national democratic electorate in the world (375 million eligible voters in 2009)., The Parliament of India is the supreme legislative body of the Republic of India. The Parliament is composed of the President of India and the houses. It is bicameral with two houses: the Rajya Sabha (Council of States) and the Lok Sabha (House of the People). The President in his role as head of legislature has full powers to summon and prorogue either house of Parliament or to dissolve Lok Sabha. The president can exercise these powers only upon the advice of the Prime Minister and his Union Council of Ministers., Lille  is a city in northern France, in French Flanders. On the Deûle River, near France's border with Belgium, it is the capital of the Hauts-de-France region and the prefecture of the Nord department., Subject: gilles pargneaux, Relation: member_of_political_party, Options: (A) republic (B) socialist party (C) union
[EX A]: socialist party

[EX Q]: Context: Montenegro (or or ; Montenegrin: "Crna Gora" /   , meaning "Black Mountain") is a sovereign state in Southeastern Europe. It has a coast on the Adriatic Sea to the south-west and is bordered by Croatia to the west, Bosnia and Herzegovina to the northwest, Serbia to the northeast, Kosovo to the east, and Albania to the south-east. Its capital and largest city is Podgorica, while Cetinje is designated as the Old Royal Capital ("prijestonica")., The Adriatic Sea is a body of water separating the Italian Peninsula from the Balkan peninsula and the Apennine Mountains from the Dinaric Alps and adjacent ranges. The Adriatic is the northernmost arm of the Mediterranean Sea, extending from the Strait of Otranto (where it connects to the Ionian Sea) to the northwest and the Po Valley. The countries with coasts on the Adriatic are Albania, Bosnia and Herzegovina, Croatia, Greece, Italy, Montenegro and Slovenia. The Adriatic contains over 1,300 islands, mostly located along its eastern, Croatian, coast. It is divided into three basins, the northern being the shallowest and the southern being the deepest, with a maximum depth of . The Otranto Sill, an underwater ridge, is located at the border between the Adriatic and Ionian Seas. The prevailing currents flow counterclockwise from the Strait of Otranto, along the eastern coast and back to the strait along the western (Italian) coast. Tidal movements in the Adriatic are slight, although larger amplitudes are known to occur occasionally. The Adriatic's salinity is lower than the Mediterranean's because the Adriatic collects a third of the fresh water flowing into the Mediterranean, acting as a dilution basin. The surface water temperatures generally range from in summer to in winter, significantly moderating the Adriatic Basin's climate., Croatia, officially the Republic of Croatia, is a sovereign state between Central Europe, Southeast Europe, and the Mediterranean. Its capital city is Zagreb, which forms one of the country's primary subdivisions, along with its twenty counties. Croatia covers and has diverse, mostly continental and Mediterranean climates. Croatia's Adriatic Sea coast contains more than a thousand islands. The country's population is 4.28 million, most of whom are Croats, with the most common religious denomination being Roman Catholicism., Croatian nationalism is the nationalism that asserts the nationality of Croats and promotes the cultural unity of Croats., Serbia, officially the Republic of Serbia, is a sovereign state situated at the crossroads of Central and Southeast Europe, covering the southern part of the Pannonian Plain and the central Balkans. Relative to its small territory, it is a diverse country distinguished by a "transitional" character, situated along cultural, geographic, climatic and other boundaries. Serbia is landlocked and borders Hungary to the north; Romania and Bulgaria to the east; Macedonia to the south; and Croatia, Bosnia-Herzegovina, and Montenegro to the southwest; it also claims a border with Albania through the disputed territory of Kosovo. Serbia numbers around 7 million residents, and its capital, Belgrade, ranks among the largest cities in Southeast Europe., Neum (Cyrillic: ) is the only town to be situated along Bosnia and Herzegovina's of coastline, making it the country's only access to the Adriatic Sea. In 2009 the municipal ("opina") population was 4,605 and in 1991 the population of Neum town ("naselje") was 4,268., Herzegovina (or ; Bosnian, Croatian and Serbian: "Hercegovina", ) is the southern region of Bosnia and Herzegovina. While there is no official border distinguishing it from the Bosnian region, it is generally accepted that the borders of the region are Croatia to the southwest, Montenegro to the east, Mount Magli to the northeast, and Mount Ivan to the north. Measurements of the area range from , or around 22% of the total area of the present-day country, to , around 24% of the country., Croats are a nation and South Slavic ethnic group at the crossroads of Central Europe, Southeast Europe, and the Mediterranean Sea. Croats mainly live in Croatia and Bosnia and Herzegovina, but are an officially recognized minority in Austria, Czech Republic, Hungary, Italy, Montenegro, Romania, Serbia, and Slovakia. Responding to political, social and economic pressure, many Croats have migrated throughout Europe (especially Germany, Austria, Switzerland, France and Italy) and the Americas (particularly the United States, Canada, Argentina, and Chile), establishing a diaspora., A mediterranean climate or dry summer climate is the climate typical of the lands in the Mediterranean Basin. The lands around the Mediterranean Sea form the largest area where this climate type is found, but it also is found in most of coastal California, in parts of Western and South Australia, in southwestern South Africa, sections of Central Asia, and in central Chile., Sarajevo is the capital and largest city of Bosnia and Herzegovina, with a population of 275,524 in its current administrative limits. The Sarajevo metropolitan area, including Sarajevo Canton and East Sarajevo is home to 688,384 inhabitants. Nestled within the greater Sarajevo valley of Bosnia, it is surrounded by the Dinaric Alps and situated along the Miljacka River in the heart of Southeastern Europe and the Balkans., Ante Starevi (23 May 1823  28 February 1896), was a Croatian politician and writer. His works are considered to have laid the foundations for Croatian nationalism and he is often referred to as "Father of the Homeland" by Croats., Continental climates are defined in the Köppen climate classification has having a coldest month mean temperature below -3 C (26.6 F) or 0 °C depending on which isotherm used for the coldest month and four months above 10 °C. In the Köppen climate system, Continental climates were bordered to the south by Temperate climates or C climates (coldest month above 0 C, but below 18 C) and to the north by Boreal climate or E climates (only 1 to 3 months with a mean temperature of 50 F). Köppen also defined continental climates as having more than 30 days with continuous snowcover on the ground. , Bosnia and Herzegovina (or ; B&H; Bosnian, Croatian, Serbian: "Bosna i Hercegovina" / a   ), sometimes called Bosnia-Herzegovina (BiH), and, in short, often known informally as Bosnia, is a country in Southeastern Europe located on the Balkan Peninsula. Sarajevo is the capital and largest city. Bordered by Croatia to the north, west, and south; Serbia to the east; Montenegro to the southeast; and the Adriatic Sea to the south, with a coastline about long surrounding the city of Neum. In the central and eastern interior of the country the geography is mountainous, in the northwest it is moderately hilly, and the northeast is predominantly flatland. The inland is a geographically larger region and has a moderate continental climate, with hot summers and cold and snowy winters. The southern tip of the country has a Mediterranean climate and plain topography., Croatian Party of Rights of Bosnia and Herzegovina ( Croatian : Hrvatska stranka prava Bosne i Hercegovine , HSP BiH ) is parliamentary party in Bosnia and Herzegovina and represents ideology of dr. Ante Starevi . Main goals of the HSP BiH are changes of Treaty of Dayton , abolition of entities and subdivision of Bosnia and Herzegovina into territorial units ., The Croatian Party of Rights (or HSP) is an extra-parliamentary Croatian nationalist conservative right-wing political party in Croatia. The "right(s)" in the party's name refer to the legal and moral reasons that justify the independence and autonomy of Croatia. While the HSP has retained its old name, today it is a right-wing party with an ethnocentric platform., Subject: croatian party of rights of bosnia and herzegovina, Relation: instance_of, Options: (A) balkans (B) body of water (C) border (D) bosnia and herzegovina (E) capital (F) catholicism (G) city (H) climate (I) climate type (J) coast (K) country (L) denomination (M) disputed territory (N) ethnic group (O) geography (P) home (Q) italy (R) may (S) mediterranean sea (T) metropolitan area (U) mountain (V) name (W) nation (X) nationality (Y) part (Z) party ([) plain (\) political party (]) population (^) range (_) region (`) republic (a) ridge (b) rights (c) river (d) salinity (e) sea (f) serbian (g) state (h) system (i) temperature (j) three (k) town (l) wing
[EX A]:
political party