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: The House of Hanover (or the Hanoverians ) is a German royal dynasty that ruled the Electorate and then the Kingdom of Hanover, and that also provided monarchs of Great Britain and Ireland from 1714 and ruled the United Kingdom until the death of Queen Victoria in 1901. Upon Victoria's death, the British throne passed to her eldest son Edward VII, a member of the House of Saxe-Coburg and Gotha through his father. 
The House of Hanover was formally named the House of Brunswick-Lüneburg, Hanover line, as it was originally a cadet branch of the House of Brunswick-Lüneburg. The senior branch became extinct in 1884, and the House of Hanover is now the only surviving branch of the House of Welf, which is the senior branch of the House of Este. The current head of the House of Hanover is Ernst August, Prince of Hanover., George III (George William Frederick; 4 June 1738  29 January 1820) was King of Great Britain and Ireland from 25 October 1760 until the union of the two countries on 1 January 1801, after which he was King of the United Kingdom of Great Britain and Ireland until his death. He was concurrently Duke and prince-elector of Brunswick-Lüneburg ("Hanover") in the Holy Roman Empire until his promotion to King of Hanover on 12 October 1814. He was the third British monarch of the House of Hanover, but unlike his two predecessors he was born in Britain, spoke English as his first language, and never visited Hanover., Princess Mary , Duchess of Gloucester and Edinburgh ( 25 April 1776 -- 30 April 1857 ) was the 11th child and 4th daughter of King George III of the United Kingdom . She married her first cousin , Prince William Frederick , Duke of Gloucester and Edinburgh , when both were 40 , and was his widow in later life . In her last years , her niece , Victoria , was on the throne as the fourth monarch during Mary 's life , after her father and two of her brothers . Princess Mary was the longest - lived ( at 81 years ) and last survivor of George III 's fifteen children ; of those fifteen issue , thirteen lived to adulthood . She was also the only one of George III 's children to be photographed . She died on 30 April 1857 at Gloucester House , London ., Subject: princess mary, Relation: noble_family, Options: (A) house of este (B) house of hanover

Ex Output:
house of hanover


Ex Input:
Context: Peter Edward Cook (17 November 1937  9 January 1995) was an English actor, satirist, writer and comedian. An extremely influential figure in British comedy, Cook is widely regarded as the leading light of the British satire boom of the 1960s. He was closely associated with the anti-establishment comedy that emerged in the UK and the US in the late 1950s., Leeds is a city in West Yorkshire, England. Historically in Yorkshire's West Riding, the history of Leeds can be traced to the 5th century when the name referred to a wooded area of the Kingdom of Elmet. The name has been applied to many administrative entities over the centuries. It changed from being the appellation of a small manorial borough in the 13th century, through several incarnations, to being the name attached to the present metropolitan borough. In the 17th and 18th centuries Leeds became a major centre for the production and trading of wool., Alan Bennett (born 9 May 1934) is a British playwright, screenwriter, actor and author. He was born in Leeds and attended Oxford University where he studied history and performed with the Oxford Revue. He stayed to teach and research medieval history at the university for several years. His collaboration as writer and performer with Dudley Moore, Jonathan Miller and Peter Cook in the satirical revue "Beyond the Fringe" at the 1960 Edinburgh Festival brought him instant fame. He gave up academia, and turned to writing full-time, his first stage play "Forty Years On" being produced in 1968., Sir Jonathan Wolfe Miller, CBE (born 21 July 1934) is an English theatre and opera director, actor, author, television presenter, humourist, and medical doctor. While training in medicine, and specializing in neurology, in the late 1950s, he first came to prominence in the early 1960s with his role in the comedy revue "Beyond the Fringe" with fellow writers and performers Peter Cook, Dudley Moore and Alan Bennett., The History Boys is a play by British playwright Alan Bennett . The play premiered at the Royal National Theatre in London on 18 May 2004 . Its Broadway debut was on 23 April 2006 at the Broadhurst Theatre where 185 performances were staged before it closed on 1 October 2006 . The play won multiple awards , including the 2005 Laurence Olivier Award for Best New Play and the 2006 Tony Award for Best Play ., The Oxford Revue is a comedy group featuring students from Oxford University, England. Founded in the early 1950s, The Oxford Revue has produced many prominent comedians and satirists. The Revue writes, produces and performs several shows each term. Shows are traditionally held in local pubs, colleges and playhouses., The Royal Opera House is an opera house and major performing arts venue in Covent Garden, central London. The large building is often referred to as simply "Covent Garden", after a previous use of the site of the opera house's original construction in 1732. It is the home of The Royal Opera, The Royal Ballet, and the Orchestra of the Royal Opera House. Originally called the Theatre Royal, it served primarily as a playhouse for the first hundred years of its history. In 1734, the first ballet was presented. A year later, Handel's first season of operas began. Many of his operas and oratorios were specifically written for Covent Garden and had their premieres there., Dudley Stuart John Moore, CBE (19 April 193527 March 2002) was an English actor, comedian, musician and composer., Beyond the Fringe was a British comedy stage revue written and performed by Peter Cook, Dudley Moore, Alan Bennett, and Jonathan Miller. It played in London's West End and then in America, both on tour and on New York's Broadway in the early 1960s. Hugely successful, it is widely regarded as seminal to the rise of satirical comedy in 1960s Britain., The Edinburgh Festival is a collective term for many arts and cultural festivals that takes place each summer, mostly in August, in Edinburgh, Scotland. Though the festivals are put on by various organizations unrelated to each other, and so are officially separate events, they are regarded by many visitors as part of the same event; and together they form the largest annual cultural festival in the world. The Edinburgh Festival is member of the Global Cultural Districts Network., The Royal National Theatre (generally known as the National Theatre) in London is one of the United Kingdom's three most prominent publicly funded performing arts venues, alongside the Royal Shakespeare Company and the Royal Opera House. Internationally, it is known as the National Theatre of Great Britain., Subject: the history boys, Relation: genre, Options: (A) academia (B) ballet (C) comedian (D) comedy (E) history (F) march (G) medicine (H) opera (I) orchestra (J) research (K) revue (L) television (M) various

Ex Output:
comedy


Ex Input:
Context: Europe is a continent that comprises the westernmost part of Eurasia. Europe is bordered by the Arctic Ocean to the north, the Atlantic Ocean to the west, and the Mediterranean Sea to the south. To the east and southeast, Europe is generally considered as separated from Asia by the watershed divides of the Ural and Caucasus Mountains, the Ural River, the Caspian and Black Seas, and the waterways of the Turkish Straits. Yet the non-oceanic borders of Europea concept dating back to classical antiquityare arbitrary. The primarily physiographic term "continent" as applied to Europe also incorporates cultural and political elements whose discontinuities are not always reflected by the continent's current overland boundaries., Jessica Folcker (born 9 July 1975) is a Swedish singer, better known by her mononym Jessica. Her debut album "Jessica" in 1998 used her mononym, whereas follow up album "Dino" credited Jessica Folker. Her following albums "På svenska" in 2005 and "Skin Close" in 2007 have used her full name Jessica Folcker. She is best known for her two international hits "Tell Me What You Like" and "How Will I Know (Who You Are)" both in 1998 and for "(Crack It) Something Going On" that featured her vocals and was a big hit for Bomfunk MC's in 2002., `` Do You Know ( What It Takes ) '' is a song by Swedish recording artist Robyn from her debut album , Robyn Is Here . It was released as the third Swedish and as the second single in the United Kingdom in 1997 . The song was released as her debut single in the United States in 1997 . It was written by Robyn , Herbie Crichlow , Denniz Pop , and Max Martin , and it was produced by Pop and Martin . In her native Sweden , `` Do You Know ( What It Takes ) '' was Robyn 's second top ten hit , peaking at number ten . It was her first top ten single in the United States , peaking at number seven on the Billboard Hot 100 . In August 1998 , the single was certified gold in the US by the Recording Industry Association of America ( RIAA ) for sales of 500,000 copies . The single was slightly less successful in the United Kingdom , peaking at number twenty - six ., 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 North Sea is a marginal sea of the Atlantic Ocean located between Great Britain, Scandinavia, Germany, the Netherlands, Belgium, and France. An epeiric (or "shelf") sea on the European continental shelf, it connects to the ocean through the English Channel in the south and the Norwegian Sea in the north. It is more than long and wide, with an area of around ., The Kingdom of Great Britain, officially Great Britain , was a sovereign state in western Europe from 1 May 1707 to 31 December 1800. The state came into being following the Treaty of Union in 1706, ratified by the Acts of Union 1707, which united the kingdoms of England and Scotland to form a single kingdom encompassing the whole island of Great Britain and its outlying islands. It did not include Ireland, which remained a separate realm. The unitary state was governed by a single parliament and government that was based in Westminster. The former kingdoms had been in personal union since James VI, King of Scots, became King of England and King of Ireland in 1603 following the death of Queen Elizabeth I, bringing about a "Union of the Crowns". Also after the accession of George I to the throne of Great Britain in 1714, the kingdom was in a personal union with the Electorate of Hanover., The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom (UK) or Britain, is a sovereign country in western Europe. Lying off the north-western coast of the European mainland, it includes the island of Great Britain (the name of which is also loosely applied to the whole country), the north-eastern part of the island of Ireland, and many smaller islands. Northern Ireland is the only part of the UK that shares a land border with another sovereign statethe Republic of Ireland. Apart from this land border, the UK is surrounded by the Atlantic Ocean, with the North Sea to its east, the English Channel to its south and the Celtic Sea to its south-south-west, giving it the 12th-longest coastline in the world. The Irish Sea lies between Great Britain and Ireland. With an area of , the UK is the 78th-largest sovereign state in the world and the 11th-largest in Europe. It is also the 21st-most populous country, with an estimated 65.1 million inhabitants. Together, this makes it the fourth most densely populated country in the European Union., Ireland, also described as the Republic of Ireland ('), is a sovereign state in north-western Europe occupying about five-sixths of the island of Ireland. The capital and largest city is Dublin, which is located on the eastern part of the island, and whose metropolitan area is home to around a third of the country's 4.75 million inhabitants. The state shares its only land border with Northern Ireland, a part of the United Kingdom. It is otherwise surrounded by the Atlantic Ocean, with the Celtic Sea to the south, Saint George's Channel to the south-east, and the Irish Sea to the east. It is a unitary, parliamentary republic. The legislature, the ', consists of a lower house, ', an upper house, ', and an elected President (') who serves as the largely ceremonial head of state, but with some important powers and duties. The head of government is the ' (Prime Minister, literally 'Chief', a title not used in English), who is elected by the Dáil and appointed by the President, and appoints other government ministers., Great Britain, also known as Britain , is a large island in the north Atlantic Ocean off the northwest coast of continental Europe. With an area of , Great Britain is the largest European island and the ninth-largest in the world. In 2011 the island had a population of about 61 million people, making it the world's third-most populous island after Java in Indonesia and Honshu in Japan. The island of Ireland is situated to the west of it, and together these islands, along with over 1,000 smaller surrounding islands, comprise the British Isles archipelago., A Grammy Award (originally called Gramophone Award), or Grammy, is an honor awarded by The Recording Academy to recognize outstanding achievement in the mainly English-language music industry. The annual presentation ceremony features performances by prominent artists, and the presentation of those awards that have a more popular interest. It shares recognition of the music industry as that of the other performance awards such as the Emmy Awards (television), the Tony Awards (stage performance), and the Academy Awards (motion pictures)., Nielsen SoundScan is an information and sales tracking system created by Mike Fine and Mike Shalett. SoundScan is a method of tracking sales of music and music video products throughout the United States and Canada. Data is collected weekly and made available every Wednesday to subscribers, which include record companies, publishing firms, music retailers, independent promoters, film and TV companies, and artist managers. SoundScan is the sales source for the "Billboard" music charts, making it the largest source of sales records in the music industry., Nadir Khayat, better known by stage name RedOne, (born 9 April 1972) is a Moroccan-Swedish record producer, singer, songwriter and record executive., Ireland (Ulster-Scots: ) is an island in the North Atlantic. It is separated from Great Britain to its east by the North Channel, the Irish Sea, and St George's Channel. Ireland is the second-largest island of the British Isles, the third-largest in Europe, and the twentieth-largest on Earth., Ariola Records (also known as Ariola and Ariola-Eurodisc) is a German record label. In the late 1980s, it was a subsidiary label of BMG, which in turn has become a part of the international media conglomerate SME., The English Channel ("the Sleeve" [hence ] "Sea of Brittany" "British Sea"), also called simply the Channel, is the body of water that separates southern England from northern France, and joins the southern part of the North Sea to the rest of the Atlantic Ocean., My Truth is the second studio album by Swedish recording artist Robyn. It was released on 17 May 1999 through BMG Sweden. Robyn collaborated with producers including Lindström & Ekhé, Christian Falk, Billy Mann, Thomas Rusiak and Masters at Work during its recording. A pop and R&B record, "My Truth" is an autobiographical album for which Robyn co-wrote all fourteen songs. Certain lyrics reflects on the abortion the singer had in the fall of 1998, which sparked controversy when RCA Records began formulating a North American release. When she refused to make alterations to the album per request by the label, the plans to release "My Truth" outside of Sweden were cancelled., Robin Miriam Carlsson (born 12 June 1979), known as Robyn, is a Swedish singer, songwriter and record producer. Robyn first came to the music scene with her 1995 debut album "Robyn Is Here" which spawned two "Billboard" Hot 100 top 10 hit singles; "Do You Know (What It Takes)" and "Show Me Love". Her second and third studio albums "My Truth" (1999) and "Don't Stop the Music" (2002) were only released in her native country. Robyn returned to international success with her fourth album "Robyn" (2005) which earned her critical acclaim and a Grammy Award nomination. The album spawned the hit singles; "Be Mine!" and the UK number one "With Every Heartbeat". In 2010 she released a trilogy consisting of three mini albums of the "Body Talk" series. The albums received widespread critical acclaim, three Grammy Award nominations and produced three top 10 hits; "Dancing on My Own", "Hang with Me" and "Indestructible". Robyn followed up with the release of two collab EPs; "Do It Again" (2014) and "Love Is Free" (2015)., Northern Ireland (; Ulster Scots: "") is a top-level constituent unit of the United Kingdom in the northeast of Ireland. It is variously described as a country, province, region, or "part" of the United Kingdom, amongst other terms. Northern Ireland shares a border to the south and west with the Republic of Ireland. In 2011, its population was 1,810,863, constituting about 30% of the island's total population and about 3% of the UK's population. Established by the Northern Ireland Act 1998 as part of the Good Friday Agreement, the Northern Ireland Assembly holds responsibility for a range of devolved policy matters, while other areas are reserved for the British government. Northern Ireland co-operates with the Republic of Ireland in some areas, and the Agreement granted the Republic the ability to "put forward views and proposals" with "determined efforts to resolve disagreements between the two governments"., The Backstreet Boys (often abbreviated as BSB) are an American vocal group, formed in Orlando, Florida in 1993. The group consists of A. J. McLean, Howie D., Nick Carter, Kevin Richardson, and Brian Littrell., Herbert "Herbie" Crichlow (born 26 November 1968) is a four-time ASCAP-awarded British music producer and songwriter living in Sweden. Born in England and raised in Barbados, he is best known for his multi diamond, platinum and gold awarded works. He is also known for his penned collaborations with Max Martin, RedOne, Grammy award winner David Franks and Denniz Pop. In 1997, he was awarded the U.N Non Violence project Special Award for outstanding works. Herbie has crafted a string of hits for pop artists like Backstreet Boys, Robyn, Leila K, The Fooo, Drain STH, Five, Al Dimeola and Jessica Folcker, amongst many others. His songs have been Grammy nominated 5 times., Martin Karl Sandberg (born 26 February 1971), better known as Max Martin, is a Swedish songwriter, record producer and singer. He rose to prominence in the mid-1990s after making a string of major hits for artists such as the Backstreet Boys, Britney Spears and NSYNC. Some of his earlier hits include "I Want It That Way" (1999), "...Baby One More Time" (1999) and "It's My Life" (2000)., "With Every Heartbeat" is a song by Swedish record producer Kleerup and Swedish singer-songwriter Robyn. It was first released on 10 January 2007 in Sweden and later on 30 July 2007 in the United Kingdom. It was released as the second single from the international edition of Robyn's self-titled fourth studio album and the lead single from Kleerup's self-titled debut studio album. , Robyn Is Here is the debut album by Swedish pop singer Robyn. It was released by Ariola Records in 1995 in Sweden, in 1996 in Japan by Sony Music Japan, and in the United States on 21 June 1997 by BMG with an alternate track listing. In 1998, the album was certified platinum in the U.S, and has sold more than 922,000 copies according to Nielsen SoundScan. Worldwide, the album has sold over 1.5 million copies. The album is mainly written and produced by Swedish production team Ghost, with all songs co-written by Robyn. Denniz Pop and Max Martin produced two of the album's four singles, "Do You Know (What It Takes)" and "Show Me Love". Both peaked at number seven in the U.S., while the latter peaked at number eight in the UK., The Celtic Sea (; ) is the area of the Atlantic Ocean off the south coast of Ireland bounded to the east by Saint George's Channel; other limits include the Bristol Channel, the English Channel, and the Bay of Biscay, as well as adjacent portions of Wales, Cornwall, Devon, and Brittany. The southern and western boundaries are delimited by the continental shelf, which drops away sharply. The Isles of Scilly are an archipelago of small islands in the sea., "I Want It That Way" is a song by American boy band Backstreet Boys, released as the lead single from their third studio album, "Millennium" (1999). It was written by Max Martin and Andreas Carlsson, while Martin and Kristian Lundin produced it. The pop ballad talks about a relationship strained by matters of emotional or physical distance., Britney Jean Spears (born December 2, 1981) is an American singer, dancer and actress. Born in McComb, Mississippi, and raised in Kentwood, Louisiana, she performed acting roles in stage productions and television shows as a child before signing with Jive Records in 1997. Spears's first and second studio albums, "...Baby One More Time" (1999) and "Oops!... I Did It Again" (2000), became international successes, with the former becoming the best-selling album by a teenage solo artist. Title tracks "...Baby One More Time" and "Oops!... I Did It Again" broke international sales records. In 2001, Spears released her self-titled third studio album, "Britney", and played the starring role in the film "Crossroads" (2002). She assumed creative control of her fourth studio album, "In the Zone" (2003), which yielded the worldwide success of the single "Toxic"., NSYNC (sometimes stylized as NSYNC or 'N Sync) was an American boy band formed in Orlando, Florida in 1995 and launched in Germany by BMG Ariola Munich. NSYNC consisted of Justin Timberlake, JC Chasez, Chris Kirkpatrick, Joey Fatone, and Lance Bass. After heavily publicized legal battles with their former manager Lou Pearlman and former record label Bertelsmann Music Group, the group's second album, "No Strings Attached", sold over one million copies in one day and 2.42 million copies in one week, which was a record for over fifteen years. In addition to a host of Grammy Award nominations, NSYNC has performed at the World Series, the Super Bowl and the Olympic Games, and sang or recorded with Elton John, Stevie Wonder, Michael Jackson, Phil Collins, Celine Dion, Aerosmith, Britney Spears, Nelly, Left Eye, Mary J. Blige, country music supergroup Alabama, and Gloria Estefan., Dag Krister Dagge Volle (26 April 1963  30 August 1998), better known as Denniz Pop (stylized "Denniz PoP"), was a Swedish DJ, music producer and songwriter., The Irish Sea (, , , Ulster-Scots: "Airish Sea"), separates the islands of Ireland and Great Britain. It is connected to the Celtic Sea in the south by St George's Channel, and to the Inner Seas off the West Coast of Scotland in the north by the North Channel. Anglesey is the largest island within the Irish Sea, followed by the Isle of Man. The sea is occasionally, but rarely, referred to as the Manx Sea., Subject: do you know , Relation: record_label, Options: (A) 1995 (B) album (C) ariola records (D) bertelsmann music group (E) country music (F) english (G) europe (H) european union (I) france (J) island (K) japan (L) jive records (M) orlando (N) pop (O) rca (P) record (Q) studio album (R) united kingdom (S) wales

Ex Output:

bertelsmann music group