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: The Poltva River ( Ukrainian : ; Polish : Petew ) is a river in the western Ukrainian Oblast of Lviv and a tributary of the Bug River . The capital of the Lviv Oblast , Lviv , is located on the river . In the 19th century the river was included into the underground sewer system of Lviv ., The Second Polish Republic, also known as the Second Commonwealth of Poland or interwar Poland, refers to the country of Poland between the First and Second World Wars (19181939). Officially known as the Republic of Poland or the Commonwealth of Poland, the Polish state was recreated in 1918, in the aftermath of World War I. When, after several regional conflicts, the borders of the state were fixed in 1922, Poland's neighbours were Czechoslovakia, Germany, the Free City of Danzig, Lithuania, Latvia, Romania and the Soviet Union. It had access to the Baltic Sea via a short strip of coastline either side of the city of Gdynia. Between March and August 1939, Poland also shared a border with the then-Hungarian governorate of Subcarpathia. Despite internal and external pressures, it continued to exist until 1939, when Poland was invaded by Nazi Germany, the Soviet Union and the Slovak Republic, marking the beginning of World War II in Europe. The Second Republic was significantly different in territory to the current Polish state. It included substantially more territory in the east and less in the west., The Bug River (or Western Bug "Zakhidnyy Buh, ") is a major European river which flows through three countries with a total length of ., Lviv (', ', ; Yiddish: ; Latin: "Leopolis"), the largest city in western Ukraine and the seventh largest city in the country overall, is one of the main cultural centres of Ukraine. Named in honor of the Leo, the eldest son of Rus' King Daniel of Galicia. It was the capital of the Kingdom of GaliciaVolhynia (also called Kingdom of Rus') from 1272 to 1349, when it was conquered by King Casimir III the Great who then became known as the King of Poland and Rus'. From 1434, it was the regional capital of the Ruthenian Voivodeship in the Kingdom of Poland and was known as Lwow. In 1772, after the First partition of Poland, the city became the capital of the Habsburg Kingdom of Galicia and Lodomeria and was renamed to Lemberg. In 1918 in a short time was the capital of the West Ukrainian People's Republic. Between the wars, the city was known again as Lwow and was the centre of the Lwow Voivodeship in the Second Polish Republic. After World War II, it became part of the Soviet Union (Ukrainian SSR) and in 1991 of independent Ukraine.
Administratively, Lviv serves as the administrative center of Lviv Oblast and has the status of city of oblast significance. Its population is ., Ukraine (tr. ) is a sovereign state in Eastern Europe, bordered by Russia to the east and northeast, Belarus to the northwest, Poland and Slovakia to the west, Hungary, Romania, and Moldova to the southwest, and the Black Sea and Sea of Azov to the south and southeast, respectively. Ukraine is currently in territorial dispute with Russia over the Crimean Peninsula which Russia annexed in 2014 but which Ukraine and most of the international community recognise as Ukrainian. Including Crimea, Ukraine has an area of , making it the largest country entirely within Europe and the 46th largest country in the world. It has a population of about 44.5 million, making it the 32nd most populous country in the world., Subject: poltva river, Relation: mouth_of_the_watercourse, Options: (A) main (B) sea (C) sea of azov (D) western bug

Output: western bug

Input: Consider Input: Context: Feds is a 1988 American comedy film written and directed by Daniel Goldberg, and starring Rebecca De Mornay and Mary Gross., Anna Maria Louisa Italiano (September 17, 1931 June 6, 2005), known professionally as Anne Bancroft, was an American actress associated with the method acting school, having studied under Lee Strasberg. Respected for her acting prowess and versatility, Bancroft was acknowledged for her work in film, theatre and television. She won one Academy Award, three BAFTA Awards, two Golden Globes, two Tony Awards and two Emmy Awards, and several other awards and nominations., The Skin is a 1981 Italian war film directed by Liliana Cavani and starring Marcello Mastroianni, Ken Marshall, Claudia Cardinale and Burt Lancaster. It was entered into the 1981 Cannes Film Festival., Leonard Simon Nimoy (March 26, 1931 February 27, 2015) was an American actor, film director, photographer, author, singer and songwriter. He was known for his role as Spock of the "Star Trek" franchise, a character he portrayed in television and film from shot in late 1964 to his final film performance released in 2013., Ian David McShane (born 29 September 1942) is a British actor and voice artist. He is known for his television roles, particularly "Lovejoy" (19861994), and "Deadwood" (20042006). He also starred as King Silas Benjamin in "Kings", Bishop Waleran in "The Pillars of the Earth", Tai Lung in "Kung Fu Panda", Blackbeard in "", and Frank in "Hot Rod"., Indiana Jones and the Last Crusade is a 1989 American action-adventure film directed by Steven Spielberg, from a story co-written by executive producer George Lucas. It is the third installment in the "Indiana Jones" franchise. Harrison Ford reprises the title role and Sean Connery plays Indiana's father, Henry Jones, Sr. Other cast members featured include Alison Doody, Denholm Elliott, Julian Glover, River Phoenix, and John Rhys-Davies. In the film, set largely in 1938, Indiana searches for his father, a Holy Grail scholar, who has been kidnapped by Nazis., Marco Polo is an American - Italian television miniseries originally broadcast by NBC in the United States , by Antenne 2 in France and by RAI in Italy in 1982 . It starred Kenneth Marshall as Marco Polo , the 13th - century Venetian merchant and explorer . The series also featured appearances by Denholm Elliott , Anne Bancroft , John Gielgud , Ian McShane , Leonard Nimoy , and others . It was originally broadcast in four episodes , where episodes 1 and 4 were twice as long as episodes 2 and 3 . The series is sometimes divided into six equally long episodes ., Star Trek is an American science fiction entertainment franchise based on the television series created by Gene Roddenberry. The first television series, simply called "Star Trek" and now referred to as "", debuted in 1966 and aired for three seasons on the television network NBC. It followed the interstellar adventures of Captain James T. Kirk (William Shatner) and his crew aboard the starship USS "Enterprise", a space exploration vessel, built by the interstellar federal republic United Federation of Planets in the twenty-third century. The "Star Trek" canon of the franchise include "The Original Series", an animated series, four television series, its film franchise and an upcoming television series scheduled to debut in 2017., 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 Rene 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., Kung Fu Panda is a 2008 American computer-animated action comedy martial arts film produced by DreamWorks Animation and distributed by Paramount Pictures. It was directed by John Stevenson and Mark Osborne and produced by Melissa Cobb, and stars the voices of Jack Black, Dustin Hoffman, Angelina Jolie, Ian McShane, Seth Rogen, Lucy Liu, David Cross, Randall Duk Kim, James Hong, and Jackie Chan. Set in a version of ancient China populated by anthropomorphic talking animals, the plot revolves around a bumbling panda named Po who aspires to be a kung fu master. When an evil kung fu warrior is foretold to escape after twenty years in prison, Po is unwittingly named the chosen one destined to defeat him and bring peace to the land, much to the chagrin of the resident kung fu warriors., Trading Places is a 1983 American comedy film directed by John Landis, starring Dan Aykroyd and Eddie Murphy. It tells the story of an upper-class commodities broker and a homeless street hustler whose lives cross paths when they are unknowingly made part of an elaborate bet. Ralph Bellamy, Don Ameche, Denholm Elliott, and Jamie Lee Curtis also star. The storyline is often called a modern take on Mark Twain's classic 19th-century novel "The Prince and the Pauper". , Denholm Mitchell Elliott, CBE (31 May 1922 6 October 1992) was an English film, television and theatre actor with more than 120 film and television credits. Elliott was nominated for the Academy Award for Best Supporting Actor for his performance in "A Room with a View" in 1985. He trained at the Royal Academy of Dramatic Art in London. In the 1980s, he won the BAFTA Award for Best Actor in a Supporting Role in three consecutive years, the only actor ever to have achieved this. He is perhaps best known for portraying Dr Marcus Brody in "Raiders of the Lost Ark" (1981) and "Indiana Jones and the Last Crusade" (1989) and as Coleman in "Trading Places" (1983)., Kenneth Marshall (born June 27, 1950 in New York City) is an American actor. He portrayed the character Michael Eddington in the television series "" and had a starring role as Prince/King Colwyn in "Krull" (1983). He also played the title role in Giuliano Montaldo's 1982 television miniseries "Marco Polo", and has appeared in films such as "Tilt" (1979), "The Skin" (1981), and "Feds" (1988)., Laurence Kerr Olivier, Baron Olivier, (22 May 1907 11 July 1989) was an English actor who, along with his contemporaries Ralph Richardson and John Gielgud, dominated the British stage of the mid-20th century. He also worked in films throughout his career, playing more than fifty cinema roles. Late in his career, he had considerable success in television roles., Lee Strasberg (born Israel Strasberg; November 17, 1901February 17, 1982) was an Austrian-born American actor, director, and theatre practitioner. He was born in a part of Galicia, Austrian Poland, in what is now Ukraine. He co founded, with directors Harold Clurman and Cheryl Crawford, the Group Theatre in 1931, which was hailed as "America's first true theatrical collective". In 1951, he became director of the nonprofit Actors Studio in New York City, considered "the nation's most prestigious acting school", and in 1966, was involved in the creation of Actors Studio West in Los Angeles., Sir Arthur John Gielgud (14 April 1904 21 May 2000) was an English actor and theatre director whose career spanned eight decades. With Ralph Richardson and Laurence Olivier, he was one of the trinity of actors who dominated the British stage for much of the 20th century. A member of the Terry family theatrical dynasty, he gained his first paid acting work as a junior member of his cousin Phyllis Neilson-Terry's company in 1922. After studying at the Royal Academy of Dramatic Art he worked in repertory theatre and in the West End before establishing himself at the Old Vic as an exponent of Shakespeare in 192931., Giuliano Montaldo (born 22 February 1930 in Genoa) is an Italian film director. , Spock, commonly Mr. Spock (sometimes referred to as Spock, son of Sarek), is a fictional character in the "Star Trek" media franchise. Spock was first portrayed by Leonard Nimoy in the , and also appears in the , a two-part episode of "", eight of the "Star Trek" feature films, and numerous Star Trek novels, comics, and video games. In addition, numerous actors portrayed the various stages of Spock's rapid growth, due to the effects of the Genesis Planet, in the 1984 Star Trek film "". In the 2009 film "Star Trek", Nimoy reprised his role with Zachary Quinto, who depicted a younger version of the character, existing within an alternate timeline. Both reprised their roles in the 2013 sequel "Star Trek Into Darkness" and Quinto reprised his role again in 2016's "Star Trek Beyond"., Sir Ralph David Richardson (19 December 1902 10 October 1983) was an English actor who, along with his contemporaries John Gielgud and Laurence Olivier, dominated the British stage of the mid-20th century. He worked in films throughout most of his career, and played more than sixty cinema roles. From an artistic but not theatrical background, Richardson had had no thought of a stage career until a production of "Hamlet" in Brighton inspired him to become an actor. He learned his craft in the 1920s with a touring company and later the Birmingham Repertory Theatre. In 1931 he joined the Old Vic, playing mostly Shakespearean roles. He led the company the following season, succeeding Gielgud, who had taught him much about stage technique. After he left the company, a series of leading roles took him to stardom in the West End and on Broadway., A Room with a View is a 1908 novel by English writer E. M. Forster, about a young woman in the restrained culture of Edwardian era England. Set in Italy and England, the story is both a romance and a critique of English society at the beginning of the 20th century. Merchant-Ivory produced an award-winning film adaptation in 1985., Subject: marco polo , Relation: director, Options: (A) anne bancroft (B) burt lancaster (C) daniel goldberg (D) david cross (E) dustin hoffman (F) george lucas (G) giuliano montaldo (H) harold clurman (I) john landis (J) john stevenson (K) laurence olivier (L) lawrence kasdan (M) leonard nimoy (N) liliana cavani (O) mark osborne (P) philip kaufman (Q) prince (R) ralph bellamy (S) ralph richardson (T) room (U) sean connery (V) seth rogen (W) steven spielberg (X) william shatner

Output: giuliano montaldo

Input: Consider Input: Context: Vishnu (IAST: "") is one of the principal deities of Hinduism, and the Supreme Being in its Vaishnavism tradition. Along with Brahma and Shiva, Vishnu forms a Hindu trinity (Trimurti); however, ancient Hindu texts do mention other trinities of gods or goddesses., Bengal (bgl; Bengali: , and ) is a region in Asia which is located in the eastern part of the Indian subcontinent at the apex of the Bay of Bengal. Geographically, it is made up by the Ganges-Brahmaputra delta system, the largest such formation in the world; along with mountains in its north (bordering the Himalayan states) and east (bordering Northeast India and Burma)., Bana (also called Banasura), in Hindu mythology, was a thousand-armed asura King and son of Bali. Banasura is believed to have ruled the present-day central Assam with his capital at Sonitpur (present-day Tezpur, Assam). According to the legend, Banasura was a kirata king., Kmarpa (also called Pragjyotisha), was an ancient kingdom on the Indian subcontinent; it is one of the historical kingdoms of Assam, India, alongside Davaka, that existed from 350 to 1140 CE. Ruled by three dynasties from their capitals in present-day Guwahati, North Guwahati and Tezpur, it at its height covered the entire Brahmaputra Valley, North Bengal, Bhutan and parts of Bangladesh, and at times portions of West Bengal and Bihar., The Bay of Bengal, the largest bay in the world, forms the northeastern part of the Indian Ocean. Roughly triangular, it is bordered mostly by India and Sri Lanka to the west, Bangladesh to the north, and Myanmar (Burma) and the Andaman and Nicobar Islands (India) to the east., In the Srimad Bhagavatam, Narakasura or Naraka is the asura son of the earth goddess Bhudevi (Bhumi) and Varaha (third avatar of Vishnu) and is said to have grown to be a demon through association with Banasura. He is said to have established the kingdom of Pragjyotisha after overthrowing the last of the Danava king Ghatakasura., The Pala dynasty of Kamarupa ruled the kingdom from 900 . Like the Pala dynasty of Bengal , the first ruler in this dynasty was elected , which probably explains the name of this dynasty '' Pala '' . But unlike the Palas of Bengal , who were Buddhists , the Palas of Kamarupa were Hindus . The Hindu orthodoxy drew their lineage from the earlier Varman dynasty and thus ultimately from Narakasura . The Pala dynasty came to an end when Kamarupa was invaded by the Gaur king Ramapala ( c. 1072 - 1126 ) . Timgyadeva was made the governor of Kamarupa who ruled between 1110 to 1126 . Timgyadeva threw off the yoke of the Pala king and ruled independently for some years when he was attacked and replaced by Vaidyadeva under Ramapala 's son Kumarapala . Vaidyadeva , who ruled between 1126 and 1140 , declared independence within four years of his rule after the death of Kumarapala . Both Timgyadeva and Vaidyadeva issued grants in the style of the Kamarupa kings ( three copper plates attached to the seal of the Kamarupa kings by a ring ) ., The Gupta Empire was an ancient Indian empire, founded by Sri Gupta, which existed at its zenith from approximately 320 to 550 CE and covered much of the Indian subcontinent. The peace and prosperity created under the leadership of the Guptas enabled the pursuit of scientific and artistic endeavors. This period is called the Golden Age of India and was marked by extensive inventions and discoveries in science, technology, engineering, art, , literature, logic, mathematics, astronomy, religion, and philosophy that crystallized the elements of what is generally known as Hindu culture. Chandragupta I, Samudragupta, and Chandragupta II were the most notable rulers of the Gupta dynasty. The 4th century CE Sanskrit poet Kalidasa credits the Guptas with having conquered about twenty-one kingdoms, both in and outside India, including the kingdoms of Parasikas, the Hunas, the Kambojas, tribes located in the west and east Oxus valleys, the Kinnaras, Kiratas etc., Northeast India is the eastern-most region of India. It comprises of the contiguous Seven Sister States (Arunachal Pradesh, Assam, Manipur, Meghalaya, Mizoram, Nagaland, and Tripura), and the Himalayan state of Sikkim. The Siliguri Corridor in West Bengal, with a width of , connects the North Eastern region with East India. The region shares more than of international border (about 90 per cent of its entire border area) with China (southern Tibet) in the north, Myanmar in the east, Bangladesh in the southwest, and Bhutan to the northwest., The Varman dynasty (350-650), the first historical rulers of Kamarupa; was established by Pushya Varman, a contemporary of Samudragupta. This dynasty became vassals of the Gupta Empire, but as the power of the Guptas waned, Mahendra Varman (470-494) performed two horse sacrifices and threw off the imperial yoke. The first of the three Kamarupa dynasties, the Varmans were followed by the Mlechchha and then the Pala dynasties., Varaha ("boar") is the avatar of the Hindu god Vishnu in the form of a boar. Varaha is listed as third in the Dashavatara, the ten principal avatars of Vishnu. When the demon Hiranyaksha stole the earth (personified as the goddess Bhudevi) and hid her in the primordial waters, Vishnu appeared as Varaha to rescue her. Varaha slew the demon and retrieved the Earth from the ocean, lifting it on his tusks, and restored Bhudevi to her place in the universe., The Ganges, also Ganga is a trans-boundary river of Asia which flows through the nations of India and Bangladesh. The river rises in the western Himalayas in the Indian state of Uttarakhand, and flows south and east through the Gangetic Plain of North India into Bangladesh, where it empties into the Bay of Bengal. It is the third largest river in the world by discharge., The Indian subcontinent or the subcontinent, also called Indian continent, is a southern region of Asia, mostly situated on the Indian Plate and projecting southwards into the Indian Ocean from the Himalayas. Geologically, the Indian subcontinent is related to the land mass that rifted from Gondwana and merged with the Eurasian plate nearly 55 million years ago. Geographically, it is the peninsular region in south-central Asia delineated by the Himalayas in the north, the Hindu Kush in the west, and the Arakanese in the east. Politically, the Indian subcontinent usually includes Bangladesh, Bhutan, India, Maldives, Nepal, Pakistan and Sri Lanka., The Himalayan states are a group of countries straddling the Himalayan mountain range in Asia. The area is divided between the Western Himalaya and the Eastern Himalaya. Two sovereign states, Nepal and Bhutan, are located almost entirely within the mountain range. The range also covers the southern Tibetan Autonomous Region of China, the Indian Himalayan states of North and Northeast India and northern Pakistan. , Subject: pala dynasty , Relation: religion, Options: (A) hindu (B) hinduism (C) india
Output: hinduism