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: Edmonton is the capital city of the Canadian province of Alberta. Edmonton is on the North Saskatchewan River and is the centre of the Edmonton Capital Region, which is surrounded by Alberta's central region., FOREST (short for "Freedom Organisation for the Right to Enjoy Smoking Tobacco") is a United Kingdom political pressure group which campaigns against tobacco control activity., British Columbia (BC) is the westernmost province of Canada, with a population of more than four million people located between the Pacific Ocean and the Rocky Mountains. 
British Columbia is also a component of the Pacific Northwest and the Cascadia bioregion, along with the U.S. states of Idaho, Oregon, Washington and Alaska., Calgary is a city in the Canadian province of Alberta. It is situated at the confluence of the Bow River and the Elbow River in the south of the province, in an area of foothills and prairie, about east of the front ranges of the Canadian Rockies. In the 2011 census, the City of Calgary had a population of 1,096,833 and a metropolitan population of 1,214,839, making it the largest city in Alberta, and the third-largest municipality and fifth-largest census metropolitan area (CMA) in Canada., A city is a large and permanent human settlement. Although there is no agreement on how a city is distinguished from a town in general English language meanings, many cities have a particular administrative, legal, or historical status based on local law., Toronto is the most populous city in Canada, the provincial capital of Ontario, and the centre of the Greater Toronto Area, the most populous metropolitan area in Canada. Growing in population, the 2011 census recorded a population of 2,615,060. As of 2015, the population is now estimated at 2,826,498, making Toronto the fourth-largest city in North America based on the population within its city limits. Toronto trails only Mexico City, New York City, and Los Angeles by this measure, while it is the fifth-largest (behind also Chicago) if ranked by the size of its metropolitan area . An established global city, Toronto is an international centre of business, finance, arts, and culture, and widely recognized as one of the most multicultural and cosmopolitan cities in the world., A town is a human settlement larger than a village but smaller than a city. The size definition for what constitutes a "town" varies considerably in different parts of the world., In many countries, a mayor (or , from the Latin "maior" , meaning "bigger") is the highest-ranking official in a municipal government such as that of a city or a town., Michael Franklin Harcourt ( born January 6 , 1943 ) served as the 30th Premier of the province of British Columbia in Canada from 1991 to 1996 , and before that as the 34th mayor of BC 's largest city , Vancouver from 1980 to 1986 . Harcourt was student council president at Sir Winston Churchill Secondary School and studied at the University of British Columbia , where he obtained a Bachelor of Arts and a Bachelor of Laws . He founded and became the first director ( 1969 - 71 ) of the Vancouver Community Legal Assistance Society , reputedly Canada 's first community law office . Harcourt served as a Vancouver alderman from 1973 to 1980 , and as Mayor of Vancouver from 1980 to 1986 . As mayor , his term in office was dominated by planning for Expo 86 , an event that saw many new developments come to the city . He was first elected to the British Columbia Legislature in the 1986 British Columbia provincial election . He became the leader of the British Columbia New Democratic Party ( NDP ) and the Leader of the Official Opposition in the following year . He was considered to be a moderate within the ranks of his social democratic party . In the 1991 provincial election , Harcourt led the NDP back to power , defeating the Social Credit party led by Rita Johnston . This marked the second time that the NDP had ever been in power in BC , and the first since 1975 . Harcourt resigned as premier in February 1996 as the result of `` Bingogate , '' a scandal in which an NDP member , former B.C. MLA and MP , David Stupich , used money raised by a charity bingo to fund the party . While it was determined by a BC Ministry of Justice Special Prosecutor that Harcourt was not directly responsible for the scandal , he took political responsibility for it . He was succeeded as premier by Glen Clark , who also ended up resigning as the result of another scandal . After serving as premier , Harcourt became associated with the University of British Columbia ( UBC ) . He was involved in research relating to sustainable development and cities . He was severely injured in a near - fatal fall at his cottage on Pender Island in November 2002 , which resulted in a severe spinal - cord injury . The former premier received a widespread outpouring of empathy and support from his fellow British Columbians and his rapid recovery astonished doctors . He spent several months at the world - renowned facility GF Strong . He later published a book about his ordeal , called Plan B. He was named as a special advisor to Prime Minister Paul Martin on cities on December 12 , 2003 . His latest book , City Making in Paradise , was released in August 2007 . In November 2007 , he received an honorary doctoral degree in Law ( LL.D ) from UBC . In February 2009 he was appointed associate director of the new UBC Continuing Studies Centre for Sustainability , where he will contribute to the development of educational programs that emphasize practical knowledge in tackling climate change and other sustainability issues . In the January 31st , 2014 issue of `` High Country News '' , Harcourt stated he was recruited in the 1960s by an activist group to oppose a freeway that would have connected the Trans - Canada Highway to downtown Vancouver . ' You 've been hired to stop the freeway , ' he recalled in the article . Harcourt revealed in April 2014 that he had allowed his NDP membership to lapse and now considers himself an independent . `` I do n't know whether it 's a trial separation or a decree absolute , `` he told the Globe and Mail in an interview . Harcourt cited several complaints against his former party including former leader Adrian Dix 's decision to oppose the Kinder - Morgan pipeline and the party 's general disposition against mining , logging and other resource - extraction industries , the party 's 2009 opposition to the BC Liberal government 's proposed carbon tax , and the 2010 caucus revolt that forced the resignation of then - leader Carole James . Harcourt had repeatedly supported the legalization of cannabis and in May 2014 announced that he would be an advisor to True Leaf Medicine Inc. , a Vernon - based start - up company seeking Health Canada approval to produce and sell medicinal marijuana . Harcourt sits as an advisor to Canada 's Ecofiscal Commission ., Vancouver, officially the City of Vancouver, is a coastal seaport city on the mainland of British Columbia, Canada, and the most populous city in the province., The Pacific Northwest (in the United States, commonly abbreviated as PNW), sometimes referred to as Cascadia, is a geographic region in western North America bounded by the Pacific Ocean to the west and loosely, by the Rocky Mountains on the east. Though no agreed boundary exists, a common conception includes the U.S. states of Oregon and Washington and the Canadian province of British Columbia. Broader conceptions reach north into Alaska and Yukon, south into far northern California and east to the Continental Divide, thus including Idaho, Western Montana, and western Wyoming. Narrower conceptions may be limited to the northwestern US or to the coastal areas west of the Cascade and Coast mountains. The variety of definitions can be attributed to partially overlapping commonalities of the region's history, geography, society, and other factors., Quebec City (pronounced or ) officially Québec) is the capital city of the Canadian province of Quebec. In 2015 the city had a population estimate of 545,485, and the metropolitan area had a population of 806,400, making it Canada's seventh-largest metropolitan area and Quebec's second-largest city after Montreal, which is about to the southwest. , Idaho is a state in the northwestern region of the United States. It borders the state of Montana to the east and northeast, Wyoming to the east, Nevada and Utah to the south, and Washington and Oregon to the west. To the north, it shares a small portion of the Canadian border with the province of British Columbia. With a population of around 1.7 million people and an area of , Idaho is the 14th largest and 39th most populous of the 50 states. The state's capital and largest city is Boise., Canada (French: ) is a country in the northern half of North America. Its ten provinces and three territories extend from the Atlantic to the Pacific and northward into the Arctic Ocean, covering , making it the world's second-largest country by total area and the fourth-largest country by land area. Canada's border with the United States is the world's longest land border. The majority of the country has a cold or severely cold winter climate, but southerly areas are warm in summer. Canada is sparsely populated, the majority of its land territory being dominated by forest and tundra and the Rocky Mountains. About four-fifths of the country's population of 36 million people is urbanized and live near the southern border. Its capital is Ottawa, its largest city is Toronto; other major urban areas include Montreal, Vancouver, Calgary, Edmonton, Quebec City, Winnipeg and Hamilton., The Pacific Ocean is the largest of the Earth's oceanic divisions. It extends from the Arctic Ocean in the north to the Southern Ocean (or, depending on definition, to Antarctica) in the south and is bounded by Asia and Australia in the west and the Americas in the east., In physical geography, tundra is a type of biome where the tree growth is hindered by low temperatures and short growing seasons. The term "tundra" comes through Russian  ("tûndra") from the Kildin Sami word "tndâr" "uplands", "treeless mountain tract". There are three types of tundra: Arctic tundra, alpine tundra, and Antarctic tundra. In tundra, the vegetation is composed of dwarf shrubs, sedges and grasses, mosses, and lichens. Scattered trees grow in some tundra regions. The ecotone (or ecological boundary region) between the tundra and the forest is known as the tree line or timberline., A province is almost always an administrative division, within a country or state. The term derives from the ancient Roman "provincia", which was the major territorial and administrative unit of the Roman Empire's territorial possessions outside Italy. The term province has since been adopted by many countries, and in those with no actual provinces, it has come to mean "outside the capital city". While some provinces were produced artificially by colonial powers, others were formed around local groups with their own ethnic identities. Many have their own powers independent of federal authority, especially in Canada. In other countries, like China, provinces are the creation of central government, with very little autonomy., Winnipeg is the capital and largest city of the province of Manitoba in Canada. It is located near the longitudinal centre of North America, at the confluence of the Red and Assiniboine Rivers., Alaska is a U.S. state located in the northwest extremity of North America. The Canadian administrative divisions of British Columbia and Yukon border the state to the east; its most extreme western part is Attu Island; it has a maritime border with Russia to the west across the Bering Strait. To the north are the Chukchi and Beaufort seasthe southern parts of the Arctic Ocean. The Pacific Ocean lies to the south and southwest. Alaska is the largest state in the United States by area, the 3rd least populous and the least densely populated of the 50 United States. Approximately half of Alaska's residents (the total estimated at 738,432 by the U.S. Census Bureau in 2015) live within the Anchorage metropolitan area. Alaska's economy is dominated by the fishing, natural gas, and oil industries, resources which it has in abundance. Military bases and tourism are also a significant part of the economy., A U.S. state is a constituent political entity of the United States of America. There are 50 states, which are bound together in a union with each other. Each state holds administrative jurisdiction over a defined geographic territory, and shares its sovereignty with the United States federal government. Due to the shared sovereignty between each state and the federal government, Americans are citizens of both the federal republic and of the state in which they reside. State citizenship and residency are flexible, and no government approval is required to move between states, except for persons covered by certain types of court orders (e.g., paroled convicts and children of divorced spouses who are sharing custody)., Latin (Latin: ) is a classical language belonging to the Italic branch of the Indo-European languages. The Latin alphabet is derived from the Etruscan and Greek alphabets., Ottawa is the capital city of Canada. It stands on the south bank of the Ottawa River in the eastern portion of southern Ontario. Ottawa borders Gatineau, Quebec; the two form the core of the OttawaGatineau census metropolitan area (CMA) and the National Capital Region (NCR). The 2011 census reported a population of 883,391, making it the fourth-largest city in Canada; and 1,236,324 within the CMA, making it the fourth-largest CMA in Canada. The City of Ottawa reported that the city had an estimated population of 960,754 as of December 2015., An "official" is someone who holds an office (function or mandate, regardless whether it carries an actual working space with it) in an organization or government and participates in the exercise of authority (either their own or that of their superior and/or employer, public or legally private)., Montreal officially Montréal in both Canadian English and French, is the most populous municipality in Quebec and the 2nd-most populous in Canada. Originally called "Ville-Marie", or "City of Mary," it is named after Mount Royal, the triple-peaked hill in the heart of the city. The city is on the Island of Montreal, which took its name from the same source as the city, and a few much smaller peripheral islands, the largest of which is Île Bizard. It has a distinct four-season continental climate with warm to hot summers and cold snowy winters., The Rocky Mountains, commonly known as the Rockies, are a major mountain range in western North America. The Rocky Mountains stretch more than from the northernmost part of British Columbia, in western Canada, to New Mexico, in the southwestern United States. Within the North American Cordillera, the Rockies are somewhat distinct from the Pacific Coast Ranges and the Cascade Range and Sierra Nevada which all lie further to the west., Subject: mike harcourt, Relation: place_of_birth, Options: (A) alaska (B) alberta (C) alpine (D) boise (E) bow (F) british columbia (G) calgary (H) california (I) canada (J) canadian (K) capital city (L) cascade (M) central (N) chicago (O) columbia (P) edmonton (Q) forest (R) idaho (S) italy (T) legal (U) manitoba (V) mary (W) mexico city (X) montana (Y) montreal (Z) montréal ([) most (\) new mexico (]) new york (^) of (_) ontario (`) ottawa (a) pacific (b) pacific ocean (c) province of canada (d) quebec (e) quebec city (f) republic (g) rocky mountains (h) roman (i) roman empire (j) south bank (k) superior (l) toronto (m) united kingdom (n) vancouver (o) washington (p) winnipeg (q) winters (r) wyoming

Ex Output:
edmonton


Ex Input:
Context: Consul (abbrev. "cos."; Latin plural "consules") was the title of one of the chief magistrates of the Roman Republic, and subsequently a somewhat significant title under the Roman Empire. The title was also used in other city states and also revived in modern states, notably in the First French Republic. The relating adjective is consular, from the "consularis"., The Roman Republic was the era of ancient Roman civilization beginning with the overthrow of the Roman Kingdom, traditionally dated to 509 BC, and ending in 27 BC with the establishment of the Roman Empire. It was during this period that Rome's control expanded from the city's immediate surroundings to hegemony over the entire Mediterranean world., A title is a prefix or suffix added to someone's name in certain contexts. It may signify either veneration, an official position or a professional or academic qualification. In some languages, titles may be inserted before a last name (for example, "Graf" in German, Cardinal in Catholic usage or clerical titles such as Archbishop). Some titles are hereditary., The Roman Empire (Koine and Medieval Greek:   , tr. ) was the post-Roman Republic period of the ancient Roman civilization, characterized by government headed by emperors and large territorial holdings around the Mediterranean Sea in Europe, Africa and Asia. The city of Rome was the largest city in the world BC AD, with Constantinople (New Rome) becoming the largest around 500 AD, and the Empire's populace grew to an estimated 50 to 90 million inhabitants (roughly 20% of the world's population at the time). The 500-year-old republic which preceded it was severely destabilized in a series of civil wars and political conflict, during which Julius Caesar was appointed as perpetual dictator and then assassinated in 44 BC. Civil wars and executions continued, culminating in the victory of Octavian, Caesar's adopted son, over Mark Antony and Cleopatra at the Battle of Actium in 31 BC and the annexation of Egypt. Octavian's power was then unassailable and in 27 BC the Roman Senate formally granted him overarching power and the new title "Augustus", effectively marking the end of the Roman Republic., Consularis is a Latin adjective indicating something pertaining to the consular office. In Ancient Rome it was a title given to those senators who held consular rank, i.e. who had served as consuls or who had received the rank as a special honour. In Late Antiquity, the title became also a gubernatorial rank for provincial governors., Quintus Fufius Calenus ( died 40 BC ) was a Roman general , and consul in 47 BC. As tribune of the people in 61 BC , he was chiefly instrumental in securing the acquittal of the notorious Publius Clodius when charged with having profaned the mysteries of Bona Dea ( Cicero , Ad . Att . 1.16 ) . In 59 BC Calenus was praetor , and brought forward a law that the senators , knights , and tribuni aerarii , who composed the judices , should vote separately , so that it might be known how they gave their votes ( Cassius Dio xxxviii . 8 ) . He fought in Gaul ( 51 BC ) and Spain ( 49 BC ) under Julius Caesar , who , after he had crossed over to Greece ( 48 BC ) , sent Calenus from Epirus to bring over the rest of the troops from Italy . On the passage to Italy , most of the ships were captured by Bibulus and Calenus himself escaped with difficulty . In 47 BC , he was raised to the consulship through the influence of Caesar . After the death of the dictator , he joined Mark Antony , for whom he commanded eleven legions in the north of Italy . Calenus died in 40 BC , while stationed with his army at the foot of the Alps , just as he was on the point of marching against Octavian ; but Calenus ' son handed over the legions to the future emperor ., Subject: quintus fufius calenus, Relation: country_of_citizenship, Options: (A) academic (B) ancient rome (C) egypt (D) french republic (E) roman empire (F) roman republic

Ex Output:
ancient rome


Ex Input:
Context: Nicole Maurey (20 December 1926  11 March 2016) was a French actress, who has appeared in 65 film and television productions between 1945 and 1997. Born in Bois-Colombes, a northwestern suburb of Paris, she was originally a dancer before being cast in her first film role in 1944. She remains most noted as Charlton Heston's leading lady in "Secret of the Incas" (1954), often cited as the primary inspiration for "Raiders of the Lost Ark" (1981). She starred in films with Alec Guinness, Bette Davis, Bing Crosby, Jeff Chandler, Fess Parker, Rex Harrison, Robert Taylor and Mickey Rooney, among numerous others. She was the leading lady in the original 1962 science fiction cult film "The Day of the Triffids". Later in life, she moved into television, appearing in various made-for-TV movies and mini-series., Obi-Wan "Ben" Kenobi is a fictional character in the "Star Wars" franchise, portrayed by Alec Guinness and Ewan McGregor in the films. In the original trilogy, he is a mentor to Luke Skywalker, who he introduces to the ways of the Jedi. In the prequel trilogy, he is a master and friend to Anakin Skywalker. He is frequently featured as a main character in various other "Star Wars" media., Sir David Lean, CBE (25 March 190816 April 1991) was an English film director, producer, screenwriter and editor, responsible for large-scale epics such as "The Bridge on the River Kwai" (1957), "Lawrence of Arabia" (1962) and "Doctor Zhivago" (1965). He also directed adaptations of Dickens novels "Great Expectations" (1946) and "Oliver Twist" (1948), as well as the romantic drama "Brief Encounter" (1945)., Charlton Heston (born John Charles Carter or Charlton John Carter; October 4, 1923  April 5, 2008) was an American actor and political activist., The Scapegoat is a 1959 crime film based on the novel of the same name by Daphne du Maurier , and starring Alec Guinness , Nicole Maurey and Bette Davis ., George Walton Lucas Jr. (born May 14, 1944) is an American filmmaker and entrepreneur. He is best known as the creator of the "Star Wars" and "Indiana Jones" franchises, as well as the founder of Lucasfilm and Industrial Light & Magic. He was the Chairman and Chief Executive Officer (CEO) of Lucasfilm, before selling it to The Walt Disney Company in 2012., The Bridge on the River Kwai is a 1957 British-American epic war film directed by David Lean and starring William Holden, Jack Hawkins, Alec Guinness, and Sessue Hayakawa. Based on the novel "Le Pont de la Rivière Kwai" (1952) by Pierre Boulle, the film is a work of fiction, but borrows the construction of the Burma Railway in 19421943 for its historical setting. The movie was filmed in Ceylon (now Sri Lanka). The bridge in the film was near Kitulgala., Kind Hearts and Coronets is a British black comedy film of 1949 starring Dennis Price, Joan Greenwood, Valerie Hobson, and Alec Guinness. Guinness plays eight distinct characters. The plot is loosely based on the novel "Israel Rank: The Autobiography of a Criminal" (1907) by Roy Horniman, with the screenplay written by Robert Hamer and John Dighton and the film directed by Hamer. The title refers to a line in Tennyson's poem "Lady Clara Vere de Vere": "Kind hearts are more than coronets, and simple faith than Norman blood.", Secret of the Incas is a 1954 adventure film starring Charlton Heston as adventurer Harry Steele, on the trail of an ancient Incan artifact. Shot on location at Machu Picchu in Peru, the film is often credited as the inspiration for "Raiders of the Lost Ark". The supporting cast features Robert Young, Nicole Maurey and Thomas Mitchell., Raiders of the Lost Ark is a 1981 American action adventure film directed by Steven Spielberg, with a screenplay written by Lawrence Kasdan, from a story by George Lucas and Philip Kaufman. It was produced by Frank Marshall for Lucasfilm Ltd., with Lucas and Howard Kazanjian as executive producers. Starring Harrison Ford, it was the first installment in the "Indiana Jones" film franchise to be released, though it is the second in internal chronological order. It pits Indiana Jones (Ford) against a group of Nazis who are searching for the Ark of the Covenant, which Adolf Hitler believes will make his army invincible. The film co-stars Karen Allen as Indiana's former lover, Marion Ravenwood; Paul Freeman as Indiana's nemesis, French archaeologist René Belloq; John Rhys-Davies as Indiana's sidekick, Sallah; Ronald Lacey as Gestapo agent Arnold Toht; and Denholm Elliott as Indiana's colleague, Marcus Brody., Sir Alec Guinness (2 April 1914  5 August 2000) was an English actor. After an early career on the stage, he was featured in several of the Ealing Comedies, including "The Ladykillers" and "Kind Hearts and Coronets" in which he played eight different characters. He is also known for his six collaborations with David Lean: Herbert Pocket in "Great Expectations" (1946), Fagin in "Oliver Twist" (1948), Col. Nicholson in "The Bridge on the River Kwai" (1957, for which he won the Academy Award for Best Actor), Prince Faisal in "Lawrence of Arabia" (1962), General Yevgraf Zhivago in "Doctor Zhivago" (1965), and Professor Godbole in "A Passage to India" (1984). He is also known for his portrayal of Obi-Wan Kenobi in George Lucas's original "Star Wars" trilogy, receiving a nomination for an Academy Award for Best Supporting Actor., Mickey Rooney (born Joseph Yule, Jr.; September 23, 1920  April 6, 2014) was an American actor of film, television, Broadway, radio, and vaudeville. In a career spanning nine decades and continuing until shortly before his death, he appeared in more than 300 films and was one of the last surviving stars of the silent film era., The Ladykillers is a 1955 British black comedy film made by Ealing Studios. Directed by Alexander Mackendrick, it stars Katie Johnson, Alec Guinness, Cecil Parker, Herbert Lom, Peter Sellers, Danny Green and Jack Warner.
American William Rose wrote the screenplay, for which he was nominated for an Academy Award for Writing Original Screenplay and won the BAFTA Award for Best British Screenplay. He claimed to have dreamt the entire film and merely had to remember the details when he awoke., Fess Elisha Parker, Jr. (August 16, 1924  March 18, 2010) was an American film and television actor best known for his portrayals of Davy Crockett in the Walt Disney 19551956 TV miniseries and as Daniel Boone in a television series from 1964 to 1970. He was also known as a winemaker and resort owner-operator., Star Wars is an American epic space opera franchise, centered on a film series created by George Lucas. It depicts the adventures of various characters "a long time ago in a galaxy far, far away"., Subject: the scapegoat , Relation: director, Options: (A) alexander mackendrick (B) charlton heston (C) david lean (D) ewan mcgregor (E) george lucas (F) herbert lom (G) lawrence kasdan (H) mickey rooney (I) peter sellers (J) prince (K) robert hamer (L) robert taylor (M) robert young (N) steven spielberg (O) walt disney

Ex Output:

robert hamer