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).

Example Input: Context: The is a period in Japanese history marked by social upheaval, political intrigue and near-constant military conflict. Japanese historians named it after the otherwise unrelated Warring States period in China. It came to an end when all political power was unified under the Tokugawa shogunate., , also known as Temmon, was a after "Kyroku" and before "Kji". This period spanned from July 1532 through October 1555. The reigning emperor was ., Honda Tadatoki ( , May 11 , 1596 -- June 30 , 1626 ) was a Japanese daimyo of the early Edo period . Tadatoki was born as the eldest son of Honda Tadamasa . His mother Kumahime was a granddaughter of Tokugawa Ieyasu and Oda Nobunaga . In 1616 , Tadatoki married Senhime , another granddaughter of Ieyasu , and who had been married to Toyotomi Hideyori before Hideyori 's death the Siege of Osaka . As a dowry of his new bride , Tadatoki received 100,000 koku . Tadatoki also sponsored the swordsman Miyamoto Musashi for a time . Musashi taught swordsmanship to Tadatoki 's retainers ; Musashi 's adopted son Mikinosuke served Tadatoki as a page . Tadatoki died of tuberculosis in 1626 . Miyamoto Mikinosuke committed junshi soon afterward , choosing to follow his lord in death, The was a series of battles undertaken by the Tokugawa shogunate against the Toyotomi clan, and ending in that clan's destruction. Divided into two stages (Winter Campaign and Summer Campaign), and lasting from 1614 to 1615, the siege put an end to the last major armed opposition to the shogunate's establishment. The end of the conflict is sometimes called the , because the era name was changed from Keich to Genna immediately following the siege., The was a Japanese samurai clan that claimed descent from the Minamoto clan. It originated in and took its name from Matsudaira village, in Mikawa Province (modern-day Aichi Prefecture). Over the course of its history, the clan produced many branches, most of which are also in Mikawa Province. In the 16th century, the main Matsudaira line experienced a meteoric rise to success during the direction of Matsudaira Motoyasu, who changed his name to Tokugawa Ieyasu and became the first Tokugawa shogun. Ieyasu's line formed what became the Tokugawa clan; however, the branches retained the Matsudaira surname. Other branches were formed in the decades after Ieyasu, which bore the Matsudaira surname. Some of those branches were also of "daimy" status., Tadamasa's first battle was during the Siege of Odawara, in 1590; he also fought at the Battle of Sekigahara in 1600. After his father's retirement in 1609, he succeeded to the Honda family headship, becoming the second generation lord of the Kuwana Domain. Several years later, he took part in the Siege of Osaka, and received the Himeji Domain, with 150,000 koku of revenues, as a reward., , first called Jbei from his clan and later from his title, was a samurai and general who lived during the Sengoku period of Feudal Japan. His full name was thus Akechi Jbei Minamoto-no-Mitsuhide ( )., Early life (15431556).
Tokugawa Ieyasu was born in Okazaki Castle in Mikawa on the 26th day of the twelfth month of the eleventh year of Tenbun, according to the Japanese calendar. Originally named Matsudaira Takechiyo ( ), he was the son of Matsudaira Hirotada ( ), the "daimy" of Mikawa of the Matsudaira clan, and Odai-no-kata (, Lady Odai), the daughter of a neighbouring samurai lord, Mizuno Tadamasa ( ). His mother and father were step-siblings. They were just 17 and 15 years old, respectively, when Ieyasu was born. Two years later, Odai-no-kata was sent back to her family and the couple never lived together again. As both husband and wife remarried and both went on to have further children, Ieyasu in the end had 11 half-brothers and sisters., Japan ("Nippon" or "Nihon" ; formally "" or "Nihon-koku", means "State of Japan") is a sovereign island nation in Eastern Asia. Located in the Pacific Ocean, It is lying off the eastern coast of the Asia Mainland (east of China, Korea, Russia) and stretching from the Sea of Okhotsk in the north to the East China Sea and near Taiwan in the southwest. , History.
During the late Heian period and Muromachi period, the area of modern Kuwana was known as and was a major seaport on the east coast of Japan, controlled by a guild of merchants. The poet Socho described it in 1515 as a major city with over a thousand houses, temples and inns. During the Sengoku period, the area came under the control of Oda Nobunaga, who assigned it to his retainer, Takigawa Kazumasu. After Nobunagas death, the area came under the control of Toyotomi Hideyoshi, who initially installed Nobunagas younger son Oda Nobukatsu as ruler as all of Ise Province. However, following the Battle of Odawara, Hideyoshi demoted Oda Nobukatsu, divided Ise Province into several domains, and assigned Hitotsuyanagi Naomori as ruler of Kuwana. In 1595, the area was reassigned to Ujiie Yukihiro as a 22,000 "koku" domain. Ujiie Yukihiro sided with the pro-Toyotomi armies in the Battle of Sekigahara and was dispossessed by Tokugawa Ieyasu., He is best known for being the father of Tokugawa Ieyasu, founder of the Tokugawa Shogunate., KOKU (100.3 FM) branded as Hit Radio 100 is a commercial contemporary hit radio (CHR) radio station licensed to Hagatna, Guam. It is owned and operated by Moy Communications Inc. , Japanese calendar types have included a range of official and unofficial systems. At present, Japan uses the Gregorian calendar together with year designations stating the year of the reign of the current Emperor., Historical context.
The goal of national unification and a return to the comparative political stability of the earlier Muromachi period was widely shared by the multitude of autonomous "daimys" during the Sengoku period. Oda Nobunaga was the first for whom this goal seemed attainable. Nobunaga had gained control over most of Honshu (see map below) before his death during the 1582 Honn-ji incident, a coup attempt executed by Nobunaga's vassal, Akechi Mitsuhide. It is not certain whether Nobunaga was killed in the attack or else committed seppuku. The motivations behind Mitsuhide's betrayal was never revealed to anyone who survived the incident, and has been a subject of debate and conjecture ever since the incident., The refers to the forced suicide on June 21, 1582, of Japanese daimy Oda Nobunaga at the hands of his samurai general Akechi Mitsuhide. This occurred in Honn-ji, a temple in Kyoto, ending Nobunaga's quest to consolidate centralized power in Japan under his authority., Subject: honda tadatoki, Relation: occupation, Options: (A) emperor (B) father (C) founder (D) major (E) military (F) official (G) poet (H) radio (I) samurai (J) sovereign (K) taiwan
Example Output: samurai

Example Input: Context: An anode is an electrode through which conventional current flows into a polarized electrical device. A common mnemonic is ACID for "anode current into device". The direction of (positive) electric current is opposite to the direction of electron flow: (negatively charged) electrons flow out the anode to the outside circuit., An electrode is an electrical conductor used to make contact with a nonmetallic part of a circuit (e.g. a semiconductor, an electrolyte, a vacuum or air). The word was coined by William Whewell at the request of the scientist Michael Faraday from the Greek words "elektron", meaning amber (from which the word electricity is derived), and "hodos", a way., Semiconductors are crystalline or amorphous solids with distinct electrical characteristics. They are of high electrical resistance higher than typical resistance materials, but still of much lower resistance than insulators. Their resistance decreases as their temperature increases, which is behavior opposite to that of a metal. Finally, their conducting properties may be altered in useful ways by the deliberate, controlled introduction of impurities ("doping") into the crystal structure, which lowers its resistance but also permits the creation of semiconductor junctions between differently-doped regions of the extrinsic semiconductor crystal. The behavior of charge carriers which include electrons, ions and electron holes at these junctions is the basis of diodes, transistors and all modern electronics., Silicon is a chemical element with symbol Si and atomic number 14. A hard and brittle crystalline solid with a blue-gray metallic luster, it is a tetravalent metalloid. It is a member of group 14 in the periodic table, along with carbon above it and germanium, tin, lead, and flerovium below. It is rather unreactive, though less so than germanium, and has great chemical affinity for oxygen; as such, it was first prepared and characterized in pure form only in 1823 by Jons Jakob Berzelius., Electronics is the science of controlling electrical energy electrically, in which the electrons have a fundamental role. Electronics deals with electrical circuits that involve active electrical components such as vacuum tubes, transistors, diodes, integrated circuits, associated passive electrical components, and interconnection technologies. Commonly, electronic devices contain circuitry consisting primarily or exclusively of active semiconductors supplemented with passive elements; such a circuit is described as an electronic circuit., Selenium is a chemical element with symbol Se and atomic number34. It is a nonmetal with properties that are intermediate between the elements above and below in the periodic table, sulfur and tellurium. It rarely occurs in its elemental state or as pure ore compounds in the Earth's crust. Selenium (Greek "selene" meaning "Moon") was discovered in 1817 by Jons Jacob Berzelius, who noted the similarity of the new element to the previously discovered tellurium (named for the Earth)., An intrinsic semiconductor, also called an undoped semiconductor or i-type semiconductor, is a pure semiconductor without any significant dopant species present. The number of charge carriers is therefore determined by the properties of the material itself instead of the amount of impurities. In intrinsic semiconductors the number of excited electrons and the number of holes are equal: n=p., Germanium is a chemical element with symbolGe and atomic number32. It is a lustrous, hard, grayish-white metalloid in the carbon group, chemically similar to its group neighbors tin and silicon. Pure germanium is a semiconductor with an appearance similar to elemental silicon. Like silicon, germanium naturally reacts and forms complexes with oxygen in nature. Unlike silicon, it is too reactive to be found naturally on Earth in the free (elemental) state., A crystal or crystalline solid is a solid material whose constituents (such as atoms, molecules, or ions) are arranged in a highly ordered microscopic structure, forming a crystal lattice that extends in all directions. In addition, macroscopic single crystals are usually identifiable by their geometrical shape, consisting of flat faces with specific, characteristic orientations. The scientific study of crystals and crystal formation is known as crystallography. The process of crystal formation via mechanisms of crystal growth is called crystallization or solidification., In electronics, a diode is a two-terminal electronic component that conducts primarily in one direction (asymmetric conductance); it has low (ideally zero) resistance to the flow of current in one direction, and high (ideally infinite) resistance in the other. A semiconductor diode, the most common type today, is a crystalline piece of semiconductor material with a pn junction connected to two electrical terminals. A vacuum tube diode has two electrodes, a plate (anode) and a heated cathode. Semiconductor diodes were the first semiconductor electronic devices. The discovery of crystals' rectifying abilities was made by German physicist Ferdinand Braun in 1874. The first semiconductor diodes, called cat's whisker diodes, developed around 1906, were made of mineral crystals such as galena. Today, most diodes are made of silicon, but other semiconductors such as selenium or germanium are sometimes used., A pn junction is a boundary or interface between two types of semiconductor material, p-type and n-type, inside a single crystal of semiconductor. The "p" (positive) side contains an excess of holes, while the "n" (negative) side contains an excess of electrons. The p-n junction is created by doping, for example by ion implantation, diffusion of dopants, or by epitaxy (growing a layer of crystal doped with one type of dopant on top of a layer of crystal doped with another type of dopant). If two separate pieces of material were used, this would introduce a grain boundary between the semiconductors that would severely inhibit its utility by scattering the electrons and holes., Galena, also called lead glance, is the natural mineral form of lead(II) sulfide. It is the most important ore of lead and an important source of silver., Vacuum is space void of matter. The word stems from the Latin adjective "vacuus" for "vacant" or "void". An approximation to such vacuum is a region with a gaseous pressure much less than atmospheric pressure. Physicists often discuss ideal test results that would occur in a "perfect" vacuum, which they sometimes simply call "vacuum" or free space, and use the term partial vacuum to refer to an actual imperfect vacuum as one might have in a laboratory or in space. In engineering and applied physics on the other hand, vacuum refers to any space in which the pressure is lower than atmospheric pressure. The Latin term in vacuo is used to describe an object that is surrounded by a vacuum., A dopant, also called a doping agent, is a trace impurity element that is inserted into a substance (in very low concentrations) to alter the electrical or optical properties of the substance. In the case of crystalline substances, the atoms of the dopant very commonly take the place of elements that were in the crystal lattice of the base material. The crystalline materials are frequently either crystals of a semiconductor such as silicon and germanium for use in solid-state electronics, or transparent crystals for use in the production of various laser types; however, in some cases of the latter, noncrystalline substances such as glass can also be doped with impurities., An electronic component is any basic discrete device or physical entity in an electronic system used to affect electrons or their associated fields. Electronic components are mostly industrial products, available in a singular form and are not to be confused with electrical elements, which are conceptual abstractions representing idealized electronic components., The electron is a subatomic particle, symbol or , with a negative elementary electric charge. Electrons belong to the first generation of the lepton particle family, and are generally thought to be elementary particles because they have no known components or substructure. The electron has a mass that is approximately 1/1836 that of the proton. Quantum mechanical properties of the electron include an intrinsic angular momentum (spin) of a half-integer value, expressed in units of the reduced Planck constant, "". As it is a fermion, no two electrons can occupy the same quantum state, in accordance with the Pauli exclusion principle. Like all matter, electrons have properties of both particles and waves: they can collide with other particles and can be diffracted like light. The wave properties of electrons are easier to observe with experiments than those of other particles like neutrons and protons because electrons have a lower mass and hence a larger De Broglie wavelength for a given energy., In physics, a charge carrier is a particle free to move, carrying an electric charge, especially the particles that carry electric charges in electrical conductors. Examples are electrons, ions and holes. In a conducting medium, an electric field can exert force on these free particles, causing a net motion of the particles through the medium; this is what constitutes an electric current. In different conducting media, different particles serve to carry charge:, In electronics, a vacuum tube, an electron tube, or just a tube (North America), or valve (Britain and some other regions), is a device that controls electric current between electrodes in an evacuated container.
Vacuum tubes mostly rely on thermionic emission of electrons from a hot filament or a cathode heated by the filament. This type is called a thermionic tube or thermionic valve. A phototube, however, achieves electron emission through the photoelectric effect. Not all electronic circuit valves/electron tubes are vacuum tubes (evacuated); gas-filled tubes are similar devices containing a gas, typically at low pressure, which exploit phenomena related to electric discharge in gases, usually without a heater., A cathode is the electrode from which a conventional current leaves a polarized electrical device. (This definition can be recalled by using the mnemonic "CCD" for "cathode current departs".) A conventional current describes the direction in which positive electronic charges move. Electrons have a negative charge, so the movement of electrons is opposite to the conventional current flow. Consequently, the mnemonic "cathode current departs" also means that electrons flow into the device's cathode., A PIN diode is a diode with a wide , undoped intrinsic semiconductor region between a p - type semiconductor and an n - type semiconductor region . The p - type and n - type regions are typically heavily doped because they are used for ohmic contacts . The wide intrinsic region is in contrast to an ordinary PN diode . The wide intrinsic region makes the PIN diode an inferior rectifier ( one typical function of a diode ) , but it makes the PIN diode suitable for attenuators , fast switches , photodetectors , and high voltage power electronics applications ., Subject: pin diode, Relation: instance_of, Options: (A) approximation (B) base (C) behavior (D) case (E) charge (F) chemical (G) chemical element (H) component (I) conductor (J) constant (K) crystal (L) diode (M) direction (N) electric current (O) electrode (P) electron (Q) electronic circuit (R) electronic component (S) electronics (T) force (U) formation (V) generation (W) group (X) interface (Y) junction (Z) laboratory ([) laser (\) mass (]) material (^) member (_) metal (') mineral (a) mnemonic (b) motion (c) negative (d) ore (e) part (f) particle (g) physics (h) principle (i) process (j) role (k) semiconductor (l) semiconductor diode (m) side (n) single (o) space (p) state (q) structure (r) study (s) symbol (t) system (u) temperature (v) test (w) word
Example Output: semiconductor diode

Example Input: Context: Connecticut is the southernmost state in the New England region of the northeastern United States. Connecticut is also often grouped along with New York and New Jersey as the Tri-State Area. It is bordered by Rhode Island to the east, Massachusetts to the north, New York to the west, and Long Island Sound to the south. Its capital city is Hartford, and its most populous city is Bridgeport. The state is named for the Connecticut River, a major U.S. river that approximately bisects the state. The word "Connecticut" is derived from various anglicized spellings of an Algonquian word for "long tidal river"., 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)., Long Island is an island located just off the northeast coast of the United States and a region within the U.S. state of New York. Stretching east-northeast from New York Harbor into the Atlantic Ocean, the island comprises four counties: Kings and Queens (which comprise the New York City boroughs of Brooklyn and Queens, respectively) to the west; then Nassau and Suffolk to the east. However, many people in the New York metropolitan area (even those living in Brooklyn and Queens) colloquially use the term "Long Island" (or "The Island") exclusively to refer to the NassauSuffolk county area collectively, which is mainly suburban in character. More generally, "Long Island" may also refer collectively both to the main Island as well as its nearby, surrounding outer barrier islands. North of the island is the Long Island Sound, across from which lie the states of Connecticut and a small part of Rhode Island across the Block Island Sound. Across the Sound, to the northwest, lies Westchester County on mainland New York. To the west, Long Island is separated from the Bronx and the island of Manhattan by the East River. To the extreme southwest, it is separated from the New York City borough of Staten Island and the U.S. state of New Jersey by Upper New York Bay, the Narrows, and Lower New York Bay. To the east lie Block Island and numerous smaller islands., Masculinity (also called boyhood, manliness, or manhood) is a set of attributes, behaviors and roles generally associated with boys and men. Masculinity is socially constructed, but made up of both socially-defined and biologically-created factors, distinct from the definition of the male biological sex. Both males and females can exhibit masculine traits and behavior. Those exhibiting both masculine and feminine characteristics are considered androgynous, and feminist philosophers have argued that gender ambiguity may blur gender classification., It Happened One Night is a 1934 American Pre-Code romantic comedy film with elements of screwball comedy directed and co-produced by Frank Capra, in collaboration with Harry Cohn, in which a pampered socialite (Claudette Colbert) tries to get out from under her father's thumb and falls in love with a roguish reporter (Clark Gable). The plot is based on the August 1933 short story "Night Bus" by Samuel Hopkins Adams, which provided the shooting title. One of the last romantic comedies created before the MPAA began enforcing the 1930 production code in 1934, the film was released on February 22, 1934., Queens is the easternmost and largest in area of the five boroughs of New York City. It is geographically adjacent to the borough of Brooklyn at the southwestern end of Long Island, and to Nassau County further east on Long Island; in addition, Queens shares water borders with the boroughs of Manhattan and the Bronx. Coterminous with Queens County since 1899, the borough of Queens is the second-largest in population (after Brooklyn), with a census-estimated 2,339,150 residents in 2015, approximately 48% of them foreign-born. Queens County also is the second-most populous county in the U.S. state of New York, behind the neighboring borough of Brooklyn, which is coterminous with Kings County. Queens is the fourth-most densely populated county among New York City's boroughs, as well as in the United States. If each of New York City's boroughs were an independent city, Queens also would be the nation's fourth most populous city, after Los Angeles, Chicago, and Brooklyn. Queens is the most ethnically diverse urban area in the world., Comedy is a genre of film in which the main emphasis is on humor. These films are designed to make the audience laugh through amusement and most often work by exaggerating characteristics for humorous effect. Films in this style traditionally have a happy ending (black comedy being an exception). One of the oldest genres in film, some of the very first silent movies were comedies, as slapstick comedy often relies on visual depictions, without requiring sound. When sound films became more prevalent during the 1920s, comedy films took another swing, as laughter could result from burlesque situations but also dialogue., Film noir is a cinematic term used primarily to describe stylish Hollywood crime dramas, particularly such that emphasize cynical attitudes and sexual motivations. Hollywood's classical film noir period is generally regarded as extending from the early 1940s to the late 1950s. Film noir of this era is associated with a low-key black-and-white visual style that has roots in German Expressionist cinematography. Many of the prototypical stories and much of the attitude of classic noir derive from the hardboiled school of crime fiction that emerged in the United States during the Great Depression., The Great Depression was a severe worldwide economic depression that took place during the 1930s. The timing of the Great Depression varied across nations; in most countries it started in 1929 and lasted until the late 1930s. It was the longest, deepest, and most widespread depression of the 20th century. In the 21st century, the Great Depression is commonly used as an example of how far the world's economy can decline., Screwball comedy is principally a genre of comedy film that became popular during the Great Depression, originating in the early 1930s and thriving until the early 1940s. Many secondary characteristics of this genre are similar to film noir, but it distinguishes itself for being characterized by a female that dominates the relationship with the male central character, whose masculinity is challenged. The two engage in a humorous battle of the sexes, which was a new theme for Hollywood and audiences at the time. Other elements are fast-paced repartee, farcical situations, escapist themes, and plot lines involving courtship and marriage. Screwball comedies often depict social classes in conflict, as in "It Happened One Night" (1934) and "My Man Godfrey" (1936). Some comic plays are also described as screwball comedies., The East River is a salt water tidal estuary in New York City. The waterway, which is actually not a river despite its name, connects Upper New York Bay on its south end to Long Island Sound on its north end. It separates the borough of Queens on Long Island from the Bronx on the North American mainland, and also divides Manhattan from Queens and Brooklyn, which is also on Long Island. Because of its connection to Long Island Sound, it was once also known as the "Sound River". The tidal strait changes its direction of flow frequently, and is subject to strong fluctuations in its current, which are accentuated by its narrowness and variety of depths. The waterway is navigable for its entire length of , and was historically the center of maritime activities in the city, although that is no longer the case., A suburb is a residential area or a mixed use area, either existing as part of a city or urban area or as a separate residential community within commuting distance of a city. In most English-speaking regions, suburban areas are defined in contrast to central or inner city areas, but in Australian English and South African English, "suburb" has become largely synonymous with what is called a "neighborhood" in other countries and the term extends to inner city areas. In some areas, such as Australia, China, New Zealand, the United Kingdom, and a few U.S. states, new suburbs are routinely annexed by adjacent cities. In others, such as Arabia, Canada, France, and much of the United States, many suburbs remain separate municipalities or are governed as part of a larger local government area such as a county., Staten Island is one of the five boroughs of New York City in the U.S. state of New York. In the southwest of the city, Staten Island is the southernmost part of both the city and state of New York, with Conference House Park at the southern tip of the island and the state. The borough is separated from New Jersey by the Arthur Kill and the Kill Van Kull, and from the rest of New York by New York Bay. With a 2015 Census-estimated population of 474,558, Staten Island is the least populated of the boroughs but is the third-largest in area at .
The borough is coextensive with Richmond County, and until 1975 was the Borough of Richmond. Its flag was later changed to reflect this. Staten Island has been sometimes called "the forgotten borough" by inhabitants who feel neglected by the city government., My Man Godfrey is a 1936 American screwball comedy film directed by Gregory La Cava. The screenplay was written by Morrie Ryskind, with uncredited contributions by La Cava, based on "1101 Park Avenue", a short novel by Eric Hatch. The story concerns a socialite who hires a derelict to be her family's butler, only to fall in love with him, much to his dismay. The film stars William Powell and Carole Lombard. Powell and Lombard had been briefly married years earlier., My Girlfriend 's Boyfriend is an American 1998 screwball comedy film written and directed by Kenneth Schapiro , with singer - songwriter Deborah Gibson as the top - billed star . It was filmed on Long Island ., The City of New York, often called New York City or simply New York, is the most populous city in the United States. With an estimated 2015 population of 8,550,405 distributed over a land area of just , New York City is also the most densely populated major city in the United States. Located at the southern tip of the state of New York, the city is the center of the New York metropolitan area, one of the most populous urban agglomerations in the world. A global power city, New York City exerts a significant impact upon commerce, finance, media, art, fashion, research, technology, education, and entertainment, its fast pace defining the term "New York minute". Home to the headquarters of the United Nations, New York is an important center for international diplomacy and has been described as the cultural and financial capital of the world., Subject: my girlfriend's boyfriend , Relation: genre, Options: (A) burlesque (B) cinematography (C) comedy (D) comedy film (E) crime fiction (F) economy (G) education (H) entertainment (I) family (J) fashion (K) fiction (L) film noir (M) gender (N) government (O) hardboiled (P) love (Q) novel (R) romantic comedy (S) screwball comedy film (T) short story (U) slapstick (V) technology (W) united states of america (X) urban (Y) variety (Z) various
Example Output:
romantic comedy