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: Neil Anthony Morrissey (born 4 July 1962) is an English actor, voice actor, singer, comedian and businessman. He is best known for his role as Tony in "Men Behaving Badly", Eddie Lawson in "Waterloo Road" and Nigel Morton in "Line of Duty"., David Peter Renwick (born 4 September 1951) is an English television writer, best known for creation of the sitcom "One Foot in the Grave" and the mystery series "Jonathan Creek"., Jonathan Creek is a British mystery crime drama series produced by the BBC and written by David Renwick. It stars Alan Davies as the title character, who works as a creative consultant to a stage magician while also solving seemingly supernatural mysteries through his talent for logical deduction and his understanding of illusions., The British Broadcasting Corporation (BBC) is a British public service broadcaster. It is headquartered at Broadcasting House in London, is the world's oldest national broadcasting organisation, and is the largest broadcaster in the world by number of employees, with over 20,950 staff in total, of whom 16,672 are in public sector broadcasting; including part-time, flexible as well as fixed contract staff, the total number is 35,402., Henry Richard "Harry" Enfield (born 30 May 1961) is an English comedian, actor, writer, and director., Alexander Martin Clunes, OBE (born 28 November 1961) is an English actor. He is best known for portraying Martin Ellingham in the ITV drama series "Doc Martin" and Gary Strang in "Men Behaving Badly". Clunes has narrated a number of documentaries for ITV, the first of which was "Islands of Britain" in 2009. He has since presented a number of documentaries centred on animals. He has also voiced Kipper the Dog in the animated series "Kipper" and was the narrator for "Roger and the Rottentrolls"., Caroline Quentin ( born Caroline Jones ; 11 July 1960 ) is an English actress . Quentin became known for her television appearances : portraying Dorothy in Men Behaving Badly ( 1992 -- 1998 ) , Maddie Magellan in Jonathan Creek ( 1997 -- 2000 ) , and DCI Janine Lewis in Blue Murder ( 2003 -- 2009 ) ., Men Behaving Badly is a British sitcom that was created and written by Simon Nye. It follows the lives of Gary Strang (Martin Clunes) and his flatmates Dermot Povey (Harry Enfield; series 1 only) and Tony Smart (Neil Morrissey; series 2 onwards). It was first broadcast on ITV in 1992. A total of six series were made, along with a Christmas special and a trilogy of episodes that make up the feature length "last orders". In the last ever episode, Dorothy is pregnant with Gary's baby and gives birth in their flat., Simon Nye (born 29 July 1958 in Burgess Hill, Sussex) is an English comic television writer, best known for creating the hit sitcom "Men Behaving Badly", writing all of the four ITV Pantos, co-writing the 2006 film "Flushed Away", co-writing "Reggie Perrin" and creating the latest adaption of the "Just William" in the same-name CBBC series of 2010., Alan Roger Davies (; born 6 March 1966) is an English stand-up comedian, writer and actor. He has played the title role in the BBC mystery drama series "Jonathan Creek" since 1997, and has been a permanent panellist on the BBC panel show "QI" from 2003., A British sitcom is a situation comedy programme produced for British television. Although styles of sitcom have changed over the years they tend to be based on a family, workplace or other institution, where the same group of contrasting characters is brought together in each episode. British sitcoms are typically produced in one or more series of six episodes. Most such series are conceived and developed by one or two writers., Subject: caroline quentin, Relation: occupation, Options: (A) actor (B) broadcaster (C) comedian (D) consultant (E) magician (F) narrator (G) public service (H) singer (I) television (J) voice actor

Ex Output:
comedian


Ex Input:
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 Cyrillic script is a writing system used for various alphabets across eastern Europe and north and central Asia. It is based on the Early Cyrillic, which was developed in the First Bulgarian Empire during the 9th century AD at the Preslav Literary School. It is the basis of alphabets used in various languages, past and present, in parts of southeastern Europe and northern Eurasia, especially those of Slavic origin, and non-Slavic languages influenced by Russian. , around 252 million people in Eurasia use it as the official alphabet for their national languages, with Russia accounting for about half of them. With the accession of Bulgaria to the European Union on 1 January 2007, Cyrillic became the third official script of the European Union, following the Latin script and Greek script., Zenica is the fourth-largest city in Bosnia and Herzegovina, and the capital of the Zenica-Doboj Canton of the Federation of Bosnia and Herzegovina entity. Zenica is located about north of Sarajevo and is situated on the Bosna river, surrounded by a mountainous and hilly landscape. The city is home to 115,134 inhabitants as of 2013., The Federation of Bosnia and Herzegovina (Bosnian, Croatian and Serbian: ', Cyrillic script: ) is one of the two political entities that compose Bosnia and Herzegovina, the other being Republika Srpska. The Federation of Bosnia and Herzegovina consists of 10 autonomous cantons with their own governments. It is inhabited primarily by Bosniaks and Bosnian Croats, which is why it is sometimes informally referred to as the Bosniak-Croat Federation (with the Bosnian Serbs as the third constituency of the entity). It is sometimes known by the shorter name Federation of B&H (Federacija BiH)., 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., 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., Doboj is a city and municipality in northern Bosnia and Herzegovina, Republika Srpska entity, on the river Bosna. Doboj is the largest national railway junction Railways Corporation of Bosnia and Herzegovina are located in Doboj. It is one of the oldest cities in the country and the most important urban center in northern Bosnia and Herzegovina., 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., The Zenica - Doboj Canton ( Bosnian : Zeniko - dobojski kanton ) is the fourth of 10 cantons of the Federation of Bosnia and Herzegovina in Bosnia and Herzegovina.The capital is Zenica ., The Bosniaks (/, ; singular masculine: "Bošnjak"/, feminine: "Bošnjakinja"/) are a South Slavic nation and ethnic group inhabiting mainly the area of Bosnia and Herzegovina. A native minority of Bosniaks live in other countries in the Balkans; especially in the Sandžak region of Serbia and Montenegro (where Bosniaks form a regional majority), and in Croatia and Kosovo. Bosniaks are typically characterized by their historic tie to the Bosnian historical region, traditional majority adherence to Islam since the 15th and 16th centuries, common culture and Bosnian language. English-speakers frequently refer to Bosniaks as "Bosnian Muslims" or simply as Bosnians, though the latter term can also denote all inhabitants of Bosnia and Herzegovina (regardless of ethnic origin) or apply to citizenship in the country., 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., 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., 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., 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. , Republika Srpska is one of two constitutional and legal entities of Bosnia and Herzegovina, the other being the Federation of Bosnia and Herzegovina. The entities are largely autonomous. The administrative centre is Banja Luka., 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., 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., Subject: zenica-doboj canton, Relation: instance_of, Options: (A) 1 (B) administrative centre (C) alphabet (D) area (E) balkans (F) body of water (G) border (H) bosnia and herzegovina (I) canton of the federation of bosnia and herzegovina (J) capital (K) city (L) classification (M) climate (N) climate type (O) coast (P) country (Q) day (R) disputed territory (S) empire (T) ethnic group (U) federation (V) group (W) historical region (X) january (Y) mediterranean sea (Z) metropolitan area ([) month (\) mountain (]) name (^) nation (_) plain (`) population (a) range (b) region (c) religious denomination (d) republic (e) salinity (f) school (g) script (h) sea (i) serbian (j) sill (k) state (l) surface (m) system (n) temperature (o) term (p) territory (q) three (r) town (s) two (t) valley (u) writing (v) writing system

Ex Output:
canton of the federation of bosnia and herzegovina


Ex Input:
Context: Moschops (Greek for "calf face") is an extinct genus of therapsid that lived in the Guadalupian epoch, around 265260 million years ago. Therapsids are synapsids, which were at one time the dominant land animals. Its remains were found in the Karoo region of South Africa., A genus ( genera) is a taxonomic rank used in the biological classification of living and fossil organisms in biology. In the hierarchy of biological classification, genus comes above species and below family. In binomial nomenclature, the genus name forms the first part of the binomial species name for each species within the genus., Synapsids (Greek, 'fused arch'), synonymous with theropsids (Greek, 'beast-face'), are a group of animals that includes mammals and every animal more closely related to mammals than to other living amniotes. They are easily separated from other amniotes by having a temporal fenestra, an opening low in the skull roof behind each eye, leaving a bony arch beneath each; this accounts for their name. Primitive synapsids are usually called pelycosaurs or pelycosaur-grade synapsids; more advanced mammal-like ones, therapsids. The non-mammalian members are described as mammal-like reptiles in classical systematics; they can also be called stem mammals or proto-mammals. Synapsids evolved from basal amniotes and are one of the two major groups of the later amniotes; the other is the sauropsids, a group that includes modern reptiles and birds. The distinctive temporal fenestra developed in the ancestral synapsid about 312 million years ago, during the Late Carboniferous period., Titanosuchus ferox ("Fierce Titan crocodile") was a dinocephalian therapsid that lived in the Mid Permian epoch in South Africa., South Africa, officially the Republic of South Africa (RSA), is the southernmost country in Africa. It is bounded on the south by of coastline of Southern Africa stretching along the South Atlantic and Indian Oceans, on the north by the neighbouring countries of Namibia, Botswana and Zimbabwe, and on the east and northeast by Mozambique and Swaziland, and surrounding the kingdom of Lesotho. South Africa is the 25th-largest country in the world by land area, and with close to 56 million people, is the world's 24th-most populous nation. It is the southernmost country on the mainland of the Old World or the Eastern Hemisphere. It is the only country that borders both the Atlantic Ocean and the Indian Ocean. About 80 percent of South Africans are of Sub-Saharan African ancestry, divided among a variety of ethnic groups speaking different Bantu languages, nine of which have official status. The remaining population consists of Africa's largest communities of European (white), Asian (Indian), and multiracial (coloured) ancestry., Titanosuchids are related to other dinocephalians , such as the tapinocephalidae - a group that includes Moschops . The most famous titanosuchids are Jonkeria and Titanosuchus ., The Tapinocephalus Assemblage Zone is a geological stratum and is the thickest faunal zone of the Beaufort Group, South Africa, in which has been found a rich variety of early therapsids. The name refers to "Tapinocephalus", a genus of large herbivorous dinocephalian therapsids that lived during the Middle Permian Period., Therapsida is a group of synapsids that includes mammals and their ancestors. Many of the traits today seen as unique to mammals had their origin within early therapsids, including having their four limbs extend vertically beneath the body, as opposed to the sprawling posture of other reptiles. The earliest fossil attributed to Therapsida is "Tetraceratops insignis" from the Lower Permian. , The Beaufort Group is the third of the main subdivisions of the Karoo Supergroup of geological strata in Southern Africa. It follows conformably after the Ecca Group and consists essentially of sandstones and shales, deposited in the Karoo Basin from the Middle Permian to the early part of the Middle Triassic periods., Dinocephalia is a clade of large-bodied early therapsids that flourished for a brief time in the Middle Permian between 272 and 260 million years ago (Ma), but became extinct leaving no descendants. Dinocephalians included both herbivorous and carnivorous forms. Many species had thickened skulls with many knobs and bony projections. Dinocephalian fossils are known from Russia, China, Brazil, South Africa, and Zimbabwe., Jonkeria was a very large omnivorous (although there is some dispute to this - e.g. Colbert 1969 p. 136) dinocephalian, from the Tapinocephalus Assemblage Zone, Lower Beaufort Group, of the South African Karroo. , Subject: titanosuchidae, Relation: taxon_rank, Options: (A) family (B) genus (C) group (D) kingdom (E) species (F) variety

Ex Output:
family