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: Abbot, meaning father, is an ecclesiastical title given to the male head of a monastery in various traditions, including Christianity. The office may also be given as an honorary title to a clergyman who is not actually the head of a monastery. The female equivalent is abbess., George Durie (Dury confused by Watt & Shead with Drury) (died 1577), abbot of Dunfermline and archdeacon of St Andrews, son of John Durie of Durie in the county of Fife, and brother to Andrew Durie, bishop of Galloway, was born about 1496. From 1527 till 1530 he acted as judge and executor of the monastery of Arbroath. During this same period he assumed the title of abbot of Dunfermline, and discharged some of the duties of that office under the direction of his uncle, Archbishop James Beaton, the actual titular, on whose death in 1539 he was promoted by James V to the full dignity of the office., St Andrews  is a town on the east coast of Fife in Scotland, 10 miles (16 km) southeast of Dundee and 30 miles (50 km) northeast of Edinburgh. The town is home to the University of St Andrews, the third oldest university in the English-speaking world and the oldest in Scotland. According to some rankings, it is ranked as the third best university in the United Kingdom, behind Oxbridge. The University is an integral part of the burgh and during term time students make up approximately one third of the town's population. St Andrews has a population of 16,800 (in 2012)., The Firth of Forth is the estuary (firth) of the River Forth in Scotland, where it flows into the North Sea, between Fife to the north and Lothian to the south. It was known as "Bodotria" in Roman times. In the Norse sagas it was known as the "Myrkvifiörd"., Fife is a council area and historic county of Scotland. It is situated between the Firth of Tay and the Firth of Forth, with inland boundaries to Perth and Kinross and Clackmannanshire. By custom it is widely held to have been one of the major Pictish kingdoms, known as "Fib", and is still commonly known as the Kingdom of Fife within Scotland., Clackmannanshire (or ) is a historic county and council area in Scotland, bordering the council areas of Stirling, Fife and Perth & Kinross., St Mary's Abbey, Melrose is a partly ruined monastery of the Cistercian order in Melrose, Roxburghshire, in the Scottish Borders. It was founded in 1136 by Cistercian monks at the request of King David I of Scotland, and was the chief house of that order in the country until the Reformation. It was headed by the Abbot or Commendator of Melrose. Today the abbey is maintained by Historic Scotland., Dunfermline is a town and former Royal Burgh, and parish, in Fife, Scotland, on high ground from the northern shore of the Firth of Forth. The 2011 census recorded the town's population at 49,706, however figures released in 2012 estimate Dunfermline's population as 50,380, making it the largest locality in Fife and the tenth largest in Scotland., Dunfermline Abbey is a Church of Scotland Parish Church located in Dunfermline, Fife, Scotland. The minister (since 2012) is the Reverend MaryAnn R. Rennie. The church occupies the site of the ancient chancel and transepts of a large medieval Benedictine abbey, which was sacked in 1560 during the Scottish Reformation and permitted to fall into disrepair. Part of the old abbey church continued in use at that time and some parts of the abbey infrastructure still remain to this day. Dunfermline Abbey is one of Scotland's most important cultural sites., Perth and Kinross is one of the 32 council areas of Scotland and a Lieutenancy Area. It borders onto the Aberdeenshire, Angus, Argyll and Bute, Clackmannanshire, Dundee, Fife, Highland and Stirling council areas. Perth is the administrative centre. The council boundaries correspond broadly, but not exactly, with the former counties of Perthshire and Kinross-shire., Andrew Durie ( died 1558 ) , bishop of Galloway and abbot of Melrose , was the son of John Durie of Durie in Fife , and brother to George Durie , abbot of Dunfermline and archdeacon of St. Andrews ., The Abbot and then Commendator of Melrose was the head of the monastic community of Melrose Abbey, in Melrose in the Borders region of Scotland. The abbots of the earlier Northumbrian foundation from Lindisfarne are not included here. The second abbey was founded in 1136 on the patronage of David I ("Dabíd mac Maíl Choluim"), King of Scots, by Cistercian monks from Rievaulx Abbey, Yorkshire. Control of the abbey was secularized in the 16th century and after the accession of James Stewart, the abbey was held by commendators. The last commendator, James Douglas of Lochleven, resigned the abbacy to William Douglas, 6th Earl of Morton (his nephew) in December 1606, and the abbey itself to the king in 1608. The abbey (or most of its lands) was then erected into a secular lordship for viscount Haddington, John Ramsay, who in 1609 was created "Lord Melrose". Lochleven however resumed the title of commendator in 1613 until his death in 1620., The Firth of Tay (Scottish Gaelic: Linne Tatha) is a firth in Scotland between the council areas of Fife, Perth and Kinross, the City of Dundee and Angus, into which Scotland's largest river in terms of flow, the River Tay empties. The firth has a maximum width of at Invergowrie., The Prior, then Abbot and then Commendator of Dunfermline was the head of the Benedictine monastic community of Dunfermline Abbey, Fife, Scotland. The abbey itself was founded in 1128 by King David I of Scotland, but was of earlier origin. King Máel Coluim mac Donnchada ("Malcolm III") had founded a church there with the help of Benedictines from Canterbury. Monks had been sent there in the reign of Étgar mac Maíl Choluim (Edgar, 10971107) and Anselm had sent a letter requesting that Étgar's brother and successor King Alaxandair mac Maíl Coluim (Alexander I, 11071124) protect these monks. By 1120, when Alaxandair sent a delegation to Canterbury to secure Eadmer for the bishopric of St Andrews, there is a Prior of the Dunfermline monks by the name of Peter leading the delegation. Control of the abbey was secularized in the 16th century and after the accession of James Stewart in 1500, the abbey was held by commendators. In the second half of the 16th century, the abbey's lands were being carved up into lordships and it was finally annexed to the crown in July, 1593., Subject: andrew durie, Relation: educated_at, Options: (A) fife (B) male (C) today (D) university of st andrews

Output: university of st andrews


Input: Consider Input: Context: 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., Hornby Dock was a dock located on the River Mersey, England, and part of the Port of Liverpool. It was situated in the northern dock system in Bootle. It connected to Gladstone Dock to the north and Alexandra Dock to the south and encompassed a sloping quayside. , The City and South London Railway (C&SLR) was the first deep-level underground "tube" railway in the world, and the first major railway to use electric traction. The railway was originally intended for cable-hauled trains, but owing to the bankruptcy of the cable contractor during construction, a system of electric traction using electric locomotivesan experimental technology at the timewas chosen instead., The Mersey Docks and Harbour Company (MDHC), formerly the Mersey Docks and Harbour Board (MDHB), owns and administers the dock facilities of the Port of Liverpool, on the River Mersey, England. These include the operation of the enclosed northern dock system that runs from Prince's Dock to Seaforth Dock, in the city of Liverpool and the dock facilities built around the Great Float of the Wirral Peninsula, located on the west side of the river., The Liverpool Overhead Railway (known locally as the Dockers' Umbrella) was an overhead railway in Liverpool which operated along the Liverpool Docks and opened in 1893 with lightweight electric multiple units. The railway had a number world firsts; it was the first electric elevated railway, the first to use automatic signalling & electric colour light signals, electric multiple units, and was home to one of the first passenger escalator at a railway station. It was also the second oldest electric metro in the world being preceded by the 1890 City and South London Railway. In the early 1900s electric trains ran on the electrified Lancashire and Yorkshire Railway to Southport and Aintree. Special trains to Aintree for the horse race meetings ran twice a year after regular services were withdrawn. Being a local railway it was not nationalised in 1948., Liverpool, in North West England, is a major city and metropolitan borough with an estimated population of 478,580 in 2015 within the City of Liverpool. Liverpool and its surrounding areas form the fifth largest metropolitan area in the UK, with an estimated population of over 2.24 million in 2011. The local authority is Liverpool City Council, which is the most populous local government district within the metropolitan county of Merseyside and the largest within the Liverpool City Region., The River Mersey is a river in the north west of England. Its name is derived from the Anglo-Saxon language and translates as "boundary river". The river may have been the border between the ancient kingdoms of Mercia and Northumbria and for centuries it formed part of the boundary between the historic counties of Lancashire and Cheshire., Gladstone Dock is a dock on the River Mersey, England, and part of the Port of Liverpool. It is situated in the northern dock system in Bootle. The dock is connected to Seaforth Dock to the north and what remains of Hornby Dock to the south. Part of Liverpool Freeport, Gladstone Dock is operated by the Mersey Docks and Harbour Company., The Lancashire and Yorkshire Railway (L&YR) was a major British railway company before the 1923 Grouping. It was incorporated in 1847 from an amalgamation of several existing railways. It was the third-largest railway system based in Northern England (after the Midland and North Eastern Railways)., The Port of Liverpool is the enclosed dock system that runs from Brunswick Dock in Liverpool to Seaforth Dock, Seaforth, on the east side of the River Mersey and the Birkenhead Docks between Birkenhead and Wallasey on the west side of the river. The port is being extended by the building of an in-river container terminal at Seaforth Dock, name Liverpool2. The terminal will berth two 14,000 container Post-Panamax ships. The terminal was scheduled to be opened in phases during 2016, simultaneously with the widened third locks of the Panama Canal., Seaforth Dock (also known as the Royal Seaforth Dock) is a purpose-built dock and container terminal, on the River Mersey, England, at Seaforth, to the north of Liverpool. As part of the Port of Liverpool and Liverpool Freeport, it is operated by the Mersey Docks and Harbour Company. Situated at the northern end of the dock system, it is connected to Gladstone Dock to the south, which via its lock entrance provides maritime access to Seaforth Dock from the river.
History.
Despite planning permission having been obtained almost sixty years previously, work commenced during the 1960s on Liverpool's largest dock facility. The dock was the largest built in the United Kingdom for some time, with of quay and a depth of and world's largest lock gates., Bootle (pronounced ) is a town within the Metropolitan Borough of Sefton in Merseyside. The town was formerly known as Bootle-cum-Linacre and has a total resident population of 77,640., Gladstone Dock was a station on the Liverpool Overhead Railway , between Alexandra Dock and Seaforth Sands . It was opened on 16 June 1930 , the final station to open on the network . It was named after the adjacent Gladstone Dock , and was the only station on the network to be accessible directly from the dockside , with two steel bridges connecting the platforms , as it primarily served the passenger liners which frequently docked nearby . Only the northbound platform was directly accessible from the street . The station was opened at 6am on the first day of operation without a formal ceremony . It was originally only open on week days , but service was intended to be extended to be extended to weekends . The station was damaged during the Liverpool Blitz , requiring it to be rebuilt . The station closed , along with the rest of the line on 30 December 1956 . No evidence of the station remains ., Subject: gladstone dock , Relation: instance_of, Options: (A) bankruptcy (B) border (C) borough (D) city (E) city council (F) company (G) construction (H) container (I) council (J) country (K) county (L) dock (M) england (N) facility (O) history (P) horse race (Q) local government (R) metropolitan area (S) metropolitan borough (T) name (U) number (V) peninsula (W) port (X) race (Y) railway company (Z) railway station ([) railway system (\) river (]) side (^) station (_) system (`) technology (a) town (b) two (c) will

Output: railway station


Input: Consider Input: Context: The New York Times (sometimes abbreviated to NYT) is an American daily newspaper, founded and continuously published in New York City since September 18, 1851, by The New York Times Company. "The New York Times" has won 117 Pulitzer Prizes, more than any other news organization., Raidió Teilifís Éireann ("Radio [and] Television of Ireland"; abbreviated as RTÉ) is a semi-state company and the national public service broadcaster of the Republic of Ireland. It both produces programmes and broadcasts them on television, radio and the Internet. The radio service began on 1 January 1926, while regular television broadcasts began on 31 December 1961, making it one of the oldest continuously operating public service broadcasters in the world. RTÉ also publishes a weekly magazine called the RTÉ Guide which is orientated around RTÉ television and radio., John (24 December 1166  19 October 1216), also known as John Lackland (Norman French: "Johan sanz Terre"), was King of England from 6 April 1199 until his death in 1216. John lost the Duchy of Normandy to King Philip II of France, resulting in the collapse of most of the Angevin Empire and contributing to the subsequent growth in power of the Capetian dynasty during the 13th century. The baronial revolt at the end of John's reign led to the sealing of Magna Carta, a document sometimes considered to be an early step in the evolution of the constitution of the United Kingdom., RTÉ Radio 1 is the principal radio channel of Irish public-service broadcaster Raidió Teilifís Éireann and is the direct descendant of Dublin radio station 2RN, which began broadcasting on a regular basis on 1 January 1926. The station is a rare modern example of a mixed radio channel, offering a wide spectrum of programming which is mainly speech-based but also includes a fair amount of music., Joseph "Joe" Duffy (born 27 January 1956) is an Irish broadcaster employed by Raidió Teilifís Éireann (RTÉ). One of RTÉ's highest-earning stars, he is the current presenter of "Liveline", which is broadcast on RTÉ Radio 1, Monday - Fridays between 13:45 and 15:00. , Michael Louis Vincent Walsh (born 5 August 1952) known as Louis Walsh is an Irish entertainment manager and judge on British television talent show "The X Factor"., Liveline is an Irish radio interview and phone-in chat show broadcast on RTÉ Radio 1 each weekday afternoon between 13.45 and 15.00. The programme, which is currently presented by Joe Duffy and known for its slogan "Talk to Joe", seeks the public's opinion on various questions, normally one or more controversial current events. According to "The New York Times", it is Ireland's "most popular radio call-in program". According to the "Irish Independent", "His greeting at 1.45pm every weekday -- "Hello, good afternoon and you're very welcome to Liveline"is the signal for 400,000 listeners to sit back and await some lively debate or the exposure of a scam or a social scandal"., County Dublin (or "Contae Átha Cliath") is a former county in Ireland. It is conterminous with the Dublin Region and is in the province of Leinster. It is named after the city of Dublin, which is the regional capital and the capital city of Ireland. County Dublin was one of the first parts of Ireland to be shired by John, King of England following the Norman invasion of Ireland., Brendan Francis `` Brush '' Shiels ( born in 1945 , Dublin , Ireland ) is an Irish musician from County Dublin , best known for being the frontman of Gary Moore 's first band , Skid Row . Brush Shiels had a TV show on RTÉ called Off yer Brush and was twice managed by boyband mentor Louis Walsh . He now appears regularly providing musical accompaniment on the Joe Duffy Liveline radio programme on RTÉ and still performs live around venues in the UK and Ireland . Brush also enjoyed a brief spell as a footballer representing Bohemian F.C. in the 1960s . Shiels has helped Bohemians recent times by making appearances at fundraising events to try and ensure the survival of his former club . In 1971 Billboard praised Shiels , Bridgeman and Moore for their album 34 Hours suggesting the `` lads will travel far '' . Shiels played at such internationally known music venues such as Fillmore West and Whisky a Go Go . and in 1986 played at the Self Aid benefit concert for unemployed in Ireland . In December 2012 he suffered a heart failure caused by a viral infection and was admitted to Connolly Hospital in Blanchardstown for two weeks . In 2013 , Brush was one the legends from the Irish entertainment business to perform at the Philip Chevron testimonial ., Dublin is the capital and largest city of Ireland. Dublin is in the province of Leinster on Ireland's east coast, at the mouth of the River Liffey. The city has an urban area population of 1,345,402. The population of the Greater Dublin Area, , was 1,904,806 people., Robert William Gary Moore (4 April 1952  6 February 2011) was a Northern Irish musician, most widely recognised as a singer, songwriter, and virtuoso rock and blues guitarist., Subject: brush shiels, Relation: date_of_birth, Options: (A) 1 (B) 1166 (C) 1199 (D) 1216 (E) 15 (F) 18 (G) 1926 (H) 1952 (I) 27 (J) 27 january 1956 (K) 4 (L) 4 april 1952 (M) 400 (N) 402 (O) 45 (P) 5 (Q) 6 (R) 806 (S) december 1961 (T) january 1956


Output: 1952