Detailed Instructions: 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).
Problem:Context: The Brecon Beacons is a mountain range in South Wales. In a narrow sense, the name refers to the range of Old Red Sandstone peaks which lie to the south of Brecon. Sometimes referred to as "the central Beacons" they include South Wales' highest mountain, Pen y Fan. The range forms the central section of the Brecon Beacons National Park ("Parc Cenedlaethol Bannau Brycheiniog"), a designation which also encompasses ranges both to the east and the west of "the central Beacons". This much wider area is also commonly referred to as "the Brecon Beacons", and it includes the Black Mountains to the east as well as the similarly named but quite distinct Black Mountain to the west. The highest peaks include Fan Brycheiniog to the west and Pen y Fan in the central part. They share the same basic geology as the central range, and so exhibit many similar features, such the north-facing escarpment and glacial features such as lakes and cwms below the escarpment. They all fall within the border of the national park., In biology, a species (abbreviated sp., with the plural form species abbreviated spp.) is the basic unit of biological classification and a taxonomic rank. A species is often defined as the largest group of organisms in which two individuals can produce fertile offspring, typically by sexual reproduction. While this definition is often adequate, looked at more closely it is often problematic. For example, in a species complex, the boundaries between closely related species become unclear or disappear altogether. Other ways of defining species include similarity of DNA, morphology, or ecological niche. The presence of locally adaptive traits may further subdivide species into infraspecific taxa such as subspecies., The Vale of Glamorgan, often referred to as The Vale, is a county borough in Wales. With an economy based largely on agriculture and chemicals, it is the southernmost unitary authority in Wales. Attractions include Barry Island Pleasure Park (known for the BBC sitcom, "Gavin & Stacey"), the Barry Tourist Railway, Porthkerry Park, St Donat's Castle, Cosmeston Lakes Country Park and Cosmeston Medieval Village. It is also the location of Atlantic College, one of the United World Colleges., In the United States, a village hall is the seat of government for villages. It functions much as a town hall or city hall. , The National Assembly for Wales (commonly known as the Welsh Assembly) is a devolved assembly with power to make legislation in Wales. The Assembly comprises 60 members, who are known as Assembly Members, or AMs ("Aelod y Cynulliad"). Since 2011, Members are elected for five-year terms under an additional members system, where 40 AMs represent geographical constituencies elected by the plurality system, and 20 AMs represent five electoral regions using the d'Hondt method of proportional representation., Old French (', ', ""; Modern French ) was the Gallo-Romance dialect continuum spoken from the 9th century to the 14th century. 
In the 14th century, these dialects came to be collectively known as the "langues d'oïl", contrasting with the "langue d'oc" or Occitan language in the south of France. The mid-14th century is taken as the transitional period to Middle French, the language of the French Renaissance, specifically based on the dialect of the Île-de-France region., Aberbargoed is a small town in the Welsh county borough of Caerphilly, within the historic boundaries of Monmouthshire, south Wales. Aberbargoed once contained the largest ever colliery waste tip in Europe, although this has now been reclaimed and turned into a country park., A viscount (, for male) or viscountess (for female) is a title used in certain European countries for a noble of varying status, but historically deemed to convey a lower-middling rank. In many countries a "viscount", and its historical equivalents, was a non-hereditary, administrative or judicial position, and did not develop into a hereditary title until much later. In the case of French viscounts, it is customary to leave the title untranslated as vicomte., A county is a geographical region of a country used for administrative or other purposes, in certain modern nations. The term is derived from the Old French "conté" or "cunté" denoting a jurisdiction under the sovereignty of a count (earl) or a viscount. The modern French is "comté", and its equivalents in other languages are "contea", "contado", "comtat", "condado", "Grafschaft", "graafschap", "Gau", etc. (cf. "conte", "comte", "conde", "Graf")., Ystrad Mynach is a town in the County Borough of Caerphilly, within the ancient county of Glamorgan, Wales, and is 5 miles north of Caerphilly town. It has a population of around 13,500 and stands in the Rhymney Valley . Before the Industrial Revolution and the coming of coal mining in the South Wales Coalfield the valley was rural and farmed . It lies in the community of Gelligaer., Rhymney is a town and a community located in the county borough of Caerphilly in south-east Wales, within the historic boundaries of Monmouthshire. Along with the villages of Pontlottyn, Fochriw, Abertysswg, Deri and New Tredegar, Rhymney is designated as the 'Upper Rhymney Valley' by the local Unitary Authority, Caerphilly County Borough Council. As a community, Rhymney includes the town of Rhymney, Pontlottyn, Abertysswg, Butetown and Twyncarno. Rhymney is known to many outside Wales as a result of the song "The Bells of Rhymney", a musical adaptation of a poem by Idris Davies., Caerphilly is a hard, crumbly white cheese that originated in the area around the town of Caerphilly, Wales. It is thought to have been created to provide food to the local coal miners. The Caerphilly of that period had a greater moisture content, and was made in local farms. At the start of the 20th century, competition for milk in the local area saw production reduce and Caerphilly production was gradually relocated to England., Brecon, archaically known as Brecknock, is a market town and community in Powys, Mid Wales, with a population in 2001 of 7,901, increasing to 8,250 at the 2011 census. Historically it was the county town of Brecknockshire; although its role as such was eclipsed with the formation of the County of Powys, it remains an important local centre. Brecon is the third-largest town in Powys, after Newtown and Ystradgynlais. It lies north of the Brecon Beacons mountain range, but is just within the Brecon Beacons National Park., West Glamorgan is a preserved county and former administrative county of Wales, one of the divisions of the ancient county of Glamorgan., A pub, or public house, is an establishment licensed to sell alcoholic drinks, which traditionally include beer, ale and other brewed alcoholic drinks. It is a relaxed, social drinking establishment and a prominent part of British culture, Irish culture, New Zealand culture and Australian culture. In many places, especially in villages, a pub is the focal point of the community. In his 17th century diary Samuel Pepys described the pub as "the heart of England.", A petty kingdom is a kingdom described as minor or "petty" by contrast to an empire or unified kingdom that either preceded or succeeded it (e.g. the numerous kingdoms of Anglo-Saxon England unified into the Kingdom of England in the 10th century, or the numerous Gaelic kingdoms of Ireland unified under the Kingdom of England as the Kingdom of Ireland in the 16th). Alternatively, a petty kingdom would be a minor kingdom in the immediate vicinity of larger kingdoms, such as the medieval Kingdom of Mann and the Isles relative to the kingdoms of Scotland or England or the Viking kingdoms of Scandinavia., Mid Glamorgan is a preserved county of Wales. From 1974 until 1996 it was also an administrative county with a county council. , Graf (male) or Gräfin (female) is a historical title of the German nobility, usually translated as count. Considered intermediate among noble ranks, the title is often treated as equivalent to the British "earl" (whose female version and consort is a "countess")., A war memorial is a building, monument, statue or other edifice to celebrate a war or victory, or (predominating in modern times) to commemorate those who died or were injured in a war., A shire is a traditional term for a division of land, found in the United Kingdom and Australia. It was first used in Wessex from the beginning of Anglo-Saxon settlement, and spread to most of the rest of England in the tenth century., Cheese is a food derived from milk that is produced in a wide range of flavors, textures, and forms by coagulation of the milk protein casein. It comprises proteins and fat from milk, usually the milk of cows, buffalo, goats, or sheep. During production, the milk is usually acidified, and adding the enzyme rennet causes coagulation. The solids are separated and pressed into final form. Some cheeses have molds on the rind or throughout. Most cheeses melt at cooking temperature., South Glamorgan is a preserved county of Wales. It was originally formed in 1974 under the Local Government Act 1972, as a county council area. It consisted of the county borough of Cardiff along with the southern part of the administrative county of Glamorgan, and also the parish of St Mellons from Monmouthshire. , Rhiwbina is a suburb and community in the north of Cardiff, the capital of Wales. Formerly a small hamlet within the parish of Whitchurch, Rhiwbina was developed throughout the twentieth century, and is now a separate ward. It retains aspects of its former character, however, and is given a Welsh village appearance by Beulah United Reformed Church (originally Capel Beulah) at the village crossroads. Just a small village in llanishen., South Wales is the region of Wales bordered by England and the Bristol Channel to the east and south, and Mid Wales and West Wales to the north and west. The most densely populated region in the southwest of the United Kingdom, it is home to around 2.2 million people. The region contains almost three-quarters of the population of Wales, including the capital city of Cardiff (population approximately 350,000), as well as Swansea and Newport, with populations approximately 240,000 and 150,000 respectively. The Brecon Beacons national park covers about a third of South Wales, containing Pen y Fan, the highest mountain south of Snowdonia., A population is the number of all the organisms of the same group or species, which live in a particular geographical area, and have the capability of interbreeding., Lisvane is an affluent community in the north of Cardiff, the capital of Wales, located north of the city centre. Lisvane is generally considered to be one of the wealthiest residential areas of Wales, with an average house price £410,000 as of 2011, with many properties worth in excess of £1 million. Lisvane has 3,319 residents, and comprises approximately 1,700 dwellings, a local village shop, a primary school, a community cabin library, a park, a nursery, a parish church, a public house, a war memorial, a Scout hall and community or village hall., A parish church (or parochial church) in Christianity is the church which acts as the religious centre of a parish. In many parts of the world, especially in rural areas, the parish church may play a significant role in community activities, often allowing its premises to be used for non-religious community events. The church building reflects this status, and there is considerable variety in the size and style of parish churches. Many villages in Europe have churches that date back to the Middle Ages, but all periods of architecture are represented., The South Wales Valleys are a number of industrialised valleys in South Wales. Commonly referred to locally as The Valleys, they stretch from eastern Carmarthenshire in the west to western Monmouthshire in the east and from the Heads of the Valleys in the north to the edge of the lower-lying, pastoral country of the Vale of Glamorgan and the coastal plain around Swansea Bay, Bridgend, the capital Cardiff, and Newport. Many of the valleys run roughly parallel to each other. The Rhondda Valleys and the Cynon Valley are located roughly in the centre., A parish is a church territorial unit constituting a division within a diocese. A parish is under the pastoral care and clerical jurisdiction of a parish priest, who might be assisted by one or more curates, and who operates from a parish church. Historically, a parish often covered the same geographical area as a manor (its association with the parish church remaining paramount)., A capital city (or simply capital) is the municipality exercising primary status in a country, state, province, or other region, usually as its seat of government. A capital is typically a city that physically encompasses the offices and meeting places of its respective government; the status as capital is often designated by its law or constitution. In some jurisdictions, including several countries, the different branches of government are located in different settlements. In some cases, a distinction is made between the official (constitutional) capital and the seat of government, which is in another place., Glamorgan or, sometimes, Glamorganshire (or ) is one of the thirteen historic counties of Wales and a former administrative county of Wales. It was originally an early medieval petty kingdom of varying boundaries known as Glywysing until taken over by the Normans as a lordship. Glamorgan is latterly represented by the three preserved counties of Mid Glamorgan, South Glamorgan and West Glamorgan. The name also survives in that of Vale of Glamorgan, a county borough., Snowdonia is a mountainous region in north Wales and a national park of in area. It was the first to be designated of the three national parks in Wales, in 1951., Monmouthshire is a county in south east Wales. The name derives from the historic county of Monmouthshire of which it covers the eastern 60%. The largest town is Abergavenny. Other towns and large villages are Caldicot, Chepstow, Monmouth, Magor and Usk., 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., Cardiff is the capital and largest city in Wales and the eleventh-largest city in the United Kingdom. The city is the country's chief commercial centre, the base for most national cultural and sporting institutions, the Welsh national media, and the seat of the National Assembly for Wales. The unitary authority area's mid-2011 population was estimated to be 346,100, while the population of the Larger Urban Zone was estimated at 861,400 in 2009. The Cardiff metropolitan area makes up over a third of the total population of Wales, with a mid-2011 population estimate of about 1,100,000 people. Cardiff is a significant tourist centre and the most popular visitor destination in Wales with 18.3 million visitors in 2010. In 2011, Cardiff was ranked sixth in the world in National Geographic's alternative tourist destinations., Count (male) or countess (female) is a title in European countries for a noble of varying status, but historically deemed to convey an approximate rank intermediate between the highest and lowest titles of nobility. The word "count" came into English from the French "comte", itself from Latin "comes"in its accusative "comitem"meaning companion, and later companion of the emperor, delegate of the emperor. The adjective form of the word is "". The British and Irish equivalent is an earl (whose wife is a "countess", for lack of an English term). Alternative names for the "count" rank in the nobility structure are used in other countries, such as "Graf" in Germany and "Hakushaku" during the Japanese Imperial era., Pen y Fan is the highest peak in south Wales, situated in the Brecon Beacons National Park. At above sea-level, it is also the highest British peak south of Cadair Idris in Snowdonia. The twin summits of Pen y Fan and Corn Du at 873 m (2,864 ft) were formerly referred to as Cadair Arthur or 'Arthur's Seat'., An earl is a member of the nobility. The title is Anglo-Saxon in origin, akin to the Scandinavian form jarl, and meant "chieftain", particularly a chieftain set to rule a territory in a king's stead. In Scandinavia, it became obsolete in the Middle Ages and was replaced by duke ("hertig"/"hertug"/"hertog"). In later medieval Britain, it became the equivalent of the continental count (in England in the earlier period, it was more akin to a duke; in Scotland it assimilated the concept of mormaer). However, earlier in Scandinavia, "jarl" could also mean a sovereign prince. For example, the rulers of several of the petty kingdoms of Norway had the title of "jarl" and in many cases they had no less power than their neighbours who had the title of king. Alternative names for the "Earl/Count" rank in the nobility structure are used in other countries, such as Hakushaku during the Japanese Imperial era., Swansea, officially known as the City and County of Swansea (""), is a coastal city and county in Wales. It is the second largest city in Wales after Cardiff, and the twenty-fifth largest city in the UK. Swansea lies within the historic county boundaries of Glamorgan and the ancient Welsh commote of Gyr. Situated on the sandy South West Wales coast, the county area includes the Gower Peninsula and the Lliw uplands. According to its local council, the City and County of Swansea had a population of 241,300 in 2014. The last official census stated that the city, metropolitan and urban areas combined concluded to be a total of 462,000 in 2011, making it the second most populous local authority area in Wales after Cardiff. During its 19th-century industrial heyday, Swansea was a key centre of the copper industry, earning the nickname 'Copperopolis'. Since 2011, Swansea has started to expand into a larger region known as the Swansea Bay City Region. After combining with other councils, it now includes Tenby and other parts of West Wales, its population including these areas an estimated 685,051. The chairman of the new region is Sir Terry Matthews., In biology, an organism is any contiguous living system, such as an animal, plant, fungus, archaeon, or bacterium. All known types of organisms are capable of some degree of response to stimuli, reproduction, growth and development and homeostasis. An organism consists of one or more cells; when it has one cell it is known as a unicellular organism; and when it has more than one it is known as a multicellular organism. Most unicellular organisms are of microscopic scale and are thus loosely described as microorganisms. Humans are multicellular organisms composed of many trillions of cells grouped into specialized tissues and organs., Bargoed is a town in the Rhymney Valley, Wales, one of the South Wales Valleys. It lies on the Rhymney River in the county borough of Caerphilly and straddles the ancient boundary of Glamorgan and Monmouthshire, with Bargoed originally lying within the old county of Glamorganshire whereas Aberbargoed was in the old county of Monmouthshire. 'Greater Bargoed', as defined by the local authority Caerphilly County Borough Council, consists of the towns of Bargoed, Aberbargoed and the village of Gilfach. The combined population of these settlements is approximately 13,000., Caerphilly ( / krfli / ; Welsh : Caerffili , Welsh pronunciation : ( krfl ) ) is a town in the county borough of Caerphilly , South Wales , located at the southern end of the Rhymney Valley . At the time of the 2001 Census the town had a population of 30,388 . It is a commuter town of Cardiff and Newport , which are located some 7.5 miles ( 12 km ) and 12 miles ( 19 km ) away , respectively . It is separated from the Cardiff suburbs of Lisvane and Rhiwbina by Caerphilly mountain . It is traditionally within the county of Glamorgan , on the border with Monmouthshire and it is the largest town in the county borough of Caerphilly , which since 2003 has formed part of the lieutenancy area of Gwent . The town gives its name to Caerphilly cheese , which originated in the area ., County borough is a term introduced in 1889 in the United Kingdom of Great Britain and Ireland (excluding Scotland), to refer to a borough or a city independent of county council control. They were abolished by the Local Government Act 1972 in England and Wales, but continue in use for lieutenancy and shrievalty in Northern Ireland. In the Republic of Ireland they remain in existence but have been renamed "cities" under the provisions of the Local Government Act 2001. The Local Government (Wales) Act 1994 re-introduced the term for certain "principal areas" in Wales. Scotland did not have county boroughs but instead counties of cities. These were abolished on 16 May 1975. All four Scottish cities of the time  Aberdeen, Dundee, Edinburgh, and Glasgow  were included in this category. There was an additional category of large burgh in the Scottish system, which were responsible for all services apart from police, education and fire., Abertysswg is a village in the county borough of Caerphilly, Wales, within the historic boundaries of Monmouthshire., Glywys is a legendary early 5th century Welsh king, an important character in early Welsh genealogies as the eponymous founder king of Glywysing, a south-east Welsh kingdom whose heartland lay between the Tawe and the Usk. , A unitary authority is a type of local authority that has a single tier and is responsible for all local government functions within its area or performs additional functions which elsewhere in the relevant country are usually performed by national government or a higher level of sub-national government., New Tredegar is a former mining community in the Rhymney Valley, Caerphilly county borough, Wales, within the historic boundaries of Monmouthshire. The population of the community as taken in the 2011 census was 4,966., A national park is a park in use for conservation purposes. Often it is a reserve of natural, semi-natural, or developed land that a sovereign state declares or owns. Although individual nations designate their own national parks differently, there is a common idea: the conservation of 'wild nature' for posterity and as a symbol of national pride. An international organization, the International Union for Conservation of Nature (IUCN), and its World Commission on Protected Areas, has defined "National Park" as its "Category II" type of protected areas., The historic counties of Wales are sub-divisions of Wales. They were used for various functions for several hundred years, but have been largely superseded by contemporary sub-national divisions, some of which bear some limited similarity to the historic entities in name and extent. They are alternatively known as "ancient counties"., 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., Mid Wales (or simply "Y Canolbarth" "The Midlands") is the name given to the central region of Wales. The Mid Wales Regional Committee of the National Assembly for Wales covered the counties of Ceredigion and Powys and the area of Gwynedd that had previously been the district of Meirionydd. A similar definition is used by the BBC. The Wales Spatial Plan defines a region known as "Central Wales" which covers Ceredigion and Powys. If Mid Wales is classed as Ceredigion and Powys, the area would be 6,962 square kilometres (about the size of Cumbria)., The Bristol Channel is a major inlet in the island of Great Britain, separating South Wales from Devon and Somerset in South West England. It extends from the lower estuary of the River Severn to the North Atlantic Ocean. It takes its name from the English city of Bristol, and is over 30 miles (50 km) across at its widest point., West Wales is the western region of Wales.  Some definitions of West Wales include only Pembrokeshire, Ceredigion and Carmarthenshire, which historically comprised the Welsh principality of "Deheubarth" and was called "South West Wales" in the Nomenclature of Territorial Units for Statistics (NUTS). Other definitions include Swansea and Neath Port Talbot but exclude Ceredigion. The "West Wales and the Valleys" NUTS area includes more westerly parts of North Wales. The preserved county of Dyfed covers what is generally considered to be West Wales, which, between 1974 and 1996, was also a county, with a county council and six district councils., The larger urban zone (LUZ), or Functional Urban Area (FUA), is a measure of the population and expanse of metropolitan areas in Europe. It consists of a city and its commuting zone., England is a country that is part of the United Kingdom. It shares land borders with Scotland to the north and Wales to the west. The Irish Sea lies northwest of England and the Celtic Sea lies to the southwest. England is separated from continental Europe by the North Sea to the east and the English Channel to the south. The country covers five-eighths of the island of Great Britain (which lies in the North Atlantic) in its centre and south; and includes over 100 smaller islands such as the Isles of Scilly, and the Isle of Wight., Fochriw is a village located in Caerphilly County Borough, Wales. It was well known for its neighbouring collieries, which employed nearly the entire local population in the early 20th century. It lies within the historic county boundaries of Glamorgan. The village appears as the backdrop on the BBC Wales sitcom "High Hopes" credits., Pontlottyn is a village located in the county borough of Caerphilly, within the historic county boundaries of Glamorgan, Wales. It is sited just to the south of Rhymney, and to the west of the Rhymney River., Wales is a country that is part of the United Kingdom and the island of Great Britain. It is bordered by England to the east, the Irish Sea to the north and west, and the Bristol Channel to the south. It had a population in 2011 of 3,063,456 and has a total area of . Wales has over of coastline and is largely mountainous, with its higher peaks in the north and central areas, including Snowdon, its highest summit. The country lies within the north temperate zone and has a changeable, maritime climate., The Rhymney Valley is one of the South Wales valleys. After the abolition of the counties of Glamorgan and Monmouthshire in 1974, Rhymney Valley was created as one of the districts of Mid Glamorgan. The valley encompasses the villages of Abertysswg, Fochriw, Pontlottyn, Tir-Phil, New Tredegar, Aberbargoed, Rhymney, and Ystrad Mynach, and the towns of Bargoed and Caerphilly. , Glywysing was, from the sub-Roman period to the Early Middle Ages, a petty kingdom in south-east Wales. Its people were descended from the Iron Age tribe of the Silures., Subject: caerphilly, Relation: located_in_the_administrative_territorial_entity, Options: (A) aberdeen (B) atlantic ocean (C) australia (D) barry (E) bay city (F) black mountain (G) brecknockshire (H) brecon (I) bristol (J) caerphilly (K) caerphilly county borough (L) cardiff (M) central (N) centre (O) city region (P) comtat (Q) devon (R) district (S) east (T) edinburgh (U) england (V) europe (W) germany (X) glamorgan (Y) gwynedd (Z) ireland ([) king (\) mainland (]) monmouthshire (^) mountain (_) national park (`) new zealand (a) north (b) northwest (c) of (d) pembrokeshire (e) plain (f) powys (g) prince (h) river (i) scandinavia (j) snowdonia (k) somerset (l) south (m) south west england (n) summit (o) swansea (p) tenby (q) time (r) union (s) united kingdom (t) united kingdom of great britain and ireland (u) usk (v) victory (w) wales (x) west (y) west glamorgan (z) westerly ({) western region
Solution:
caerphilly county borough