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: Screenwriting, also called scriptwriting, is the art and craft of writing scripts for mass media such as feature films, television productions or video games. It is frequently a freelance profession., Nithiwat Tharathorn is a Thai film director. He made his directorial debut alongside five other directors on the 2003 childhood romantic comedy "Fan Chan" (2003) and his solo debut with the romantic comedy "Seasons Change" in 2006. and now, he have romantic drama film "Teacher's Diary" in 2014, The mass media is a diversified collection of media technologies that reach a large audience via mass communication. The technologies through which this communication takes place include a variety of outlets., A writer is a person who uses written words in various styles and techniques to communicate their ideas. Writers produce various forms of literary art and creative writing such as novels, short stories, poetry, plays, screenplays, and essays as well as various reports and news articles that may be of interest to the public. Writers' texts are published across a range of media. Skilled writers who are able to use language to express ideas well often contribute significantly to the cultural content of a society. The word is also used elsewhere in the arts  such as songwriter  but as a standalone term, "writer" normally refers to the creation of written language. Some writers work from an oral tradition., A screenplay writer, screenwriter for short, scriptwriter or scenarist is a writer who practices the craft of screenwriting, writing screenplays on which mass media such as films, television programs, comics or video games are based., Thailand (or  ), officially the Kingdom of Thailand, formerly known as Siam, is a country at the centre of the Indochinese peninsula in Southeast Asia. With a total area of approximately , Thailand is the world's 51st-largest country. It is the 20th-most-populous country in the world, with around 66 million people. The capital and largest city is Bangkok., A screenplay or script is a written work by screenwriters for a film, video game, or television program. These screenplays can be original works or adaptations from existing pieces of writing. In them, the movement, actions, expression, and dialogues of the characters are also narrated. A screenplay written for television is also known as a teleplay., Southeast Asia or Southeastern Asia is a subregion of Asia, consisting of the countries that are geographically south of China, east of India, west of New Guinea and north of Australia. The region lies near the intersection of geological plates, with heavy seismic and volcanic activity. Southeast Asia consists of two geographic regions:, A film, also called a movie, motion picture, theatrical film or photoplay, is a series of still images which, when shown on a screen, creates the illusion of moving images due to the phi phenomenon. This optical illusion causes the audience to perceive continuous motion between separate objects viewed rapidly in succession. The process of filmmaking is both an art and an industry. A film is created by photographing actual scenes with a motion picture camera; by photographing drawings or miniature models using traditional animation techniques; by means of CGI and computer animation; or by a combination of some or all of these techniques and other visual effects., Bangkok is the capital and most populous city of Thailand. It is known in Thai as "Krung Thep Maha Nakhon" (pronounced ) or simply . The city occupies in the Chao Phraya River delta in Central Thailand, and has a population of over 8 million, or 12.6 percent of the country's population. Over 14 million people (22.2 percent) live within the surrounding Bangkok Metropolitan Region, making Bangkok an extreme primate city, significantly dwarfing Thailand's other urban centres in terms of importance. There are 581 high-rise buildings in the city, ranking number 5 in the world., Fan Chan ( Thai :  , English : My Girl ) is a 2003 Thai romantic film offering a nostalgic look back at the childhood friendship of a boy and girl growing up in a small town in Thailand in the 1980s . It was the debut film by six young screenwriter - directors , Vitcha Gojiew , Songyos Sugmakanan , Nithiwat Tharathorn , Witthaya Thongyooyong , Anusorn Trisirikasem and Komgrit Triwimol . With a soundtrack that featured Thai pop music of the era , Fan Chan was the top domestic film at the Thailand box office in 2003 , earning 140 million baht ., A film director is a person who directs the making of a film. Generally, a film director controls a film's artistic and dramatic aspects, and visualizes the script while guiding the technical crew and actors in the fulfillment of that vision. The director has a key role in choosing the cast members, production design, and the creative aspects of filmmaking. Under European Union law, the director is viewed as the author of the film., The history of comics has followed different paths in different cultures. Scholars have posited a pre-history as far back as the Lascaux cave paintings. By the mid-20th century, comics flourished particularly in the United States, western Europe (especially in France and Belgium), and Japan. The history of European comics is often traced to Rodolphe Töpffer's cartoon strips of the 1830s, and became popular following the success in the 1930s of strips and books such as "The Adventures of Tintin". American comics emerged as a mass medium in the early 20th century with the advent of newspaper comic strips; magazine-style comic books followed in the 1930s, in which the superhero genre became prominent after Superman appeared in 1938. Histories of Japanese comics and cartooning ("") propose origins as early as the 12th century. Modern comic strips emerged in Japan in the early 20th century, and the output of comics magazines and books rapidly expanded in the post-World War II era with the popularity of cartoonists such as Osamu Tezuka. had a lowbrow reputation for much of its history, but towards the end of the 20th century began to find greater acceptance with the public and in academia., A television program is a segment of content intended for broadcast on over-the-air, cable television, or Internet television, other than a commercial, trailer, or any other segment of content not serving as attraction for viewership. It may be a single production, or more commonly, a series of related productions (also called a television series or a television show)., Subject: fan chan, Relation: genre, Options: (A) academia (B) art (C) cartoon (D) comedy (E) comic (F) computer animation (G) country (H) design (I) dramatic (J) genre (K) history (L) india (M) japanese (N) mass (O) miniature (P) music (Q) news (R) optical illusion (S) poetry (T) pop (U) romantic (V) romantic comedy (W) screenplay (X) society (Y) superhero (Z) television ([) thai pop music (\) urban (]) variety (^) various (_) video (`) western

Ex Output:
romantic comedy


Ex 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 Jöns 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 number 34. 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 Jöns 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 symbol Ge and atomic number 32. 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

Ex Output:
semiconductor diode


Ex Input:
Context: International relations (IR) or international affairs, depending on academic institution, is either a field of political science, an interdisciplinary academic field similar to global studies, or an entirely independent academic discipline in which students take a variety of internationally focused courses in social science and humanities disciplines. In both cases, the field studies relationships between "political entities" (polities) such as states, sovereign states, empires, inter-governmental organizations (IGOs), international non-governmental organizations (INs), non-governmental organizations (NGOs), and multinational corporations (MNCs), and the wider world-systems produced by this interaction. International relations is an academic and a public policy field, and so can be positive and normative, because it analyzes and formulates the foreign policy of a given State., Social science is a major category of academic disciplines, concerned with society and the relationships among individuals within a society. It in turn has many branches, each of which is considered a "social science". The main social sciences include economics, political science, human geography, demography, and sociology. In a wider sense, social science also includes some fields in the humanities such as anthropology, archaeology, jurisprudence, history, and linguistics. The term is also sometimes used to refer specifically to the field of sociology, the original 'science of society', established in the 19th century. A more detailed list of sub-disciplines within the social sciences can be found at Outline of social science., Syria, officially known as the Syrian Arab Republic (""), is a country in Western Asia, bordering Lebanon and the Mediterranean Sea to the west, Turkey to the north, Iraq to the east, Jordan to the south, and Israel to the southwest. Syria's capital and largest city is Damascus., The Eastern Mediterranean University (EMU), located in Northern Cyprus, was established in 1979 under the leadership of Onay Fadl Demirciler (then Undersecretary of the Ministry of Education) as a higher-education institution of technology for Turkish Cypriots. In 1986, it was converted to a state university. The campus is located within the city of Famagusta., Famagusta ([] or ), is a city on the east coast of Cyprus. It is located east of Nicosia, and possesses the deepest harbour of the island. During the medieval period (especially under the maritime republics of Genoa and Venice), Famagusta was the island's most important port city, and a gateway to trade with the ports of the Levant, from where the Silk Road merchants carried their goods to Western Europe. The old walled city and parts of the modern town presently fall within the "de facto" Turkish Republic of Northern Cyprus in Gazimausa District of which it is the capital., Humanities are academic disciplines that study aspects of human culture. In the Middle Ages, the term contrasted with divinity and referred to what is now called classics, the main area of secular study in universities at the time. Today, the humanities are more frequently contrasted with natural and sometimes social sciences as well as professional training., Greece (' ), officially the Hellenic Republic (Greek: ' ), historically also known as Hellas ("" ), is a country in southeastern Europe. 
Greece's population is approximately 10.955 million as of 2015. Athens is the nation's capital and largest city, followed by Thessaloniki., Lebanon , officially known as the Lebanese Republic, is a sovereign state in Western Asia. It is bordered by Syria to the north and east and Israel to the south, while Cyprus is west across the Mediterranean Sea. Lebanon's location at the crossroads of the Mediterranean Basin and the Arabian hinterland facilitated its rich history and shaped a cultural identity of religious and ethnic diversity. At just 10,452 km (4,036 sq. mi.), it is the smallest recognized country on the entire mainland Asian continent., Turkey, officially the Republic of Turkey (Turkish: ), is a transcontinental country in Eurasia, mainly in Anatolia in Western Asia, with a smaller portion on the Balkan peninsula in Southeast Europe. Turkey is a democratic, secular, unitary, parliamentary republic with a diverse cultural heritage. Turkey is bordered by eight countries: Greece to the west; Bulgaria to the northwest; Georgia to the northeast; Armenia, the Azerbaijani exclave of Nakhchivan and Iran to the east; and Iraq and Syria to the south. The Aegean Sea is to the west, the Black Sea to the north, and the Mediterranean Sea to the south. The Bosphorus, the Sea of Marmara, and the Dardanelles, which together form the Turkish Straits, divide Thrace and Anatolia; they also separate Europe and Asia. Turkey's location has given it geopolitical and strategic importance throughout history., Israel , officially known as the State of Israel, is a country in the Middle East, on the southeastern shore of the Mediterranean Sea and the northern shore of the Red Sea. It has land borders with Lebanon to the north, Syria to the northeast, Jordan on the east, the Palestinian territories of the West Bank and Gaza Strip to the east and west, respectively, and Egypt to the southwest. The country contains geographically diverse features within its relatively small area. Israel's financial and technology center is Tel Aviv, while its seat of government and proclaimed capital is Jerusalem, although the state's sovereignty over the city of Jerusalem is internationally unrecognized., An empire is defined as "an aggregate of nations or people ruled over by an emperor or other powerful sovereign or government, usually a territory of greater extent than a kingdom, as the former British Empire, French Empire, Brazilian Empire, Russian Empire, Ottoman Empire, Byzantine Empire or Roman Empire." An empire can be made solely of contiguous territories such as the Austro-Hungarian Empire, or of territories far remote from the homeland, such as a colonial empire., Cyprus , officially the Republic of Cyprus, is an island country in the Eastern Mediterranean and the third largest and third most populous island in the Mediterranean. It is located south of Turkey, west of Syria and Lebanon, northwest of Israel and Palestine, north of Egypt, and southeast of Greece., Foreign Policy is an American news publication, founded in 1970 and focused on global affairs, current events, and domestic and international policy. It produces content daily on its website, and in six print issues annually., Northern Cyprus, officially the Turkish Republic of Northern Cyprus (TRNC), is a self-declared state that comprises the northeastern portion of the island of Cyprus. Recognised only by Turkey, Northern Cyprus is considered by the international community to be part of the Republic of Cyprus., Dr Erol Kaymak is a Turkish Cypriot academic who in 2004 from 2007 was the Chair of the Department of International Relations at Eastern Mediterranean University in north Cyprus ., Egypt (; ', , "Kimi"), officially the Arab Republic of Egypt, is a transcontinental country spanning the northeast corner of Africa and southwest corner of Asia by a land bridge formed by the Sinai Peninsula. Egypt is a Mediterranean country bordered by the Gaza Strip and Israel to the northeast, the Gulf of Aqaba to the east, the Red Sea to the east and south, Sudan to the south, and Libya to the west. Across the Gulf of Aqaba lies Jordan, and across from the Sinai Peninsula lies Saudi Arabia, although Jordan and Saudi Arabia do not share a land border with Egypt. It is the world's only contiguous Afrasian nation., Subject: erol kaymak, Relation: country_of_citizenship, Options: (A) academic (B) american (C) arab (D) athens (E) british (F) byzantine empire (G) cyprus (H) egypt (I) georgia (J) greece (K) iran (L) israel (M) jordan (N) lebanon (O) libya (P) russian empire (Q) syria (R) turkey (S) turkish republic of northern cyprus (T) venice

Ex Output:

turkish republic of northern cyprus