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: Karen Traviss is a science fiction author from Wiltshire, England. She is the author of the Wess'Har series, and is also known for writing tie-in material based on "Star Wars", "Gears of War", "Halo", and "G.I. Joe". Her work crosses various forms of media including novels, short stories, comics, and video games., The Legacy of the Force is a series of nine science fiction novels set in the "Star Wars" expanded universe, taking place approximately 40 years after the events of "" (in Star Wars chronology, from 40 ABY to 41 ABY). The series was written by Troy Denning, Aaron Allston and Karen Traviss in an alternating cycle., The Empire Strikes Back (also known as Star Wars: Episode V  The Empire Strikes Back) is a 1980 American epic space opera film directed by Irvin Kershner. Leigh Brackett and Lawrence Kasdan wrote the screenplay, with George Lucas writing the film's story and serving as executive producer. The second installment in the original "Star Wars" trilogy, it was produced by Gary Kurtz for Lucasfilm Ltd. and stars Mark Hamill, Harrison Ford, Carrie Fisher, Billy Dee Williams, Anthony Daniels, David Prowse, Kenny Baker, Peter Mayhew and Frank Oz., The Death Star refers to any of several fictional mobile space stations and galactic superweapons appearing in the "Star Wars" science-fiction franchise created by George Lucas. The DS-1 Platform was stated to be 160 km in diameter with a volume of 7,240,000 square kilometers, or approximately 1/25 the size of Earth's Moon. It was crewed by an estimated 1.7 million military personnel and 400,000 droids. The second Death Star was significantly larger160km in diameterand more advanced than its predecessor. Both versions of these dwarf planet-sized fortresses were designed for massive power projection capabilities, capable of destroying an entire planet with one blast from their superlasers., Mark Richard Hamill (born September 25, 1951) is an American actor, voice actor, and writer. He is known for playing Luke Skywalker in the "Star Wars" film series. His other works include "Corvette Summer" (1978) and "The Big Red One" (1980), among other television shows and movies. Hamill has also appeared on stage in several theater productions, primarily during the 1980s., David Prowse, MBE (born 1 July 1935) is an English bodybuilder, weightlifter and character actor in British film and television. Worldwide, he is best known for playing Darth Vader in the original "Star Wars" trilogy, though the character's voice was provided by James Earl Jones. In the United Kingdom, he is also remembered as the Green Cross Code man, a character used in British road safety advertising., Troy Denning (born 1958) is a fantasy and science fiction author and game designer who has written more than two dozen novels., Howard G. Kazanjian (born 1942) is an American film producer known for "Raiders of the Lost Ark" and "Return of the Jedi". Kazanjian is also a former 8-year Vice President of Lucasfilm, Ltd., and a published non-fiction author., Aaron Dale Allston (December 8, 1960  February 27, 2014) was an American game designer and author of many science fiction books, notably "Star Wars" novels. His works as a game designer include game supplements for role-playing games, several of which served to establish the basis for products and subsequent development of TSR's "Dungeons & Dragons" game setting Mystara. His later works as a novelist include those of the "" series: "Wraith Squadron", "Iron Fist", "Solo Command", "Starfighters of Adumar", and "Mercy Kill". He wrote two entries in the "New Jedi Order" series: "" and "". Allston wrote three of the nine Legacy of the Force novels: "Betrayal", "Exile", and "Fury", and three of the nine Fate of the Jedi novels: "Outcast", "Backlash", and "Conviction"., Return of the Jedi (also known as Star Wars: Episode VI  Return of the Jedi) is a 1983 American epic space opera film directed by Richard Marquand. The screenplay by Lawrence Kasdan and George Lucas was from a story by Lucas, who was also the executive producer. It was the third and final installment in the original "Star Wars" trilogy and the first film to use THX technology. The film is set one year after "The Empire Strikes Back" and was produced by Howard Kazanjian for Lucasfilm Ltd. The film stars Mark Hamill, Harrison Ford, Carrie Fisher, Billy Dee Williams, Anthony Daniels, David Prowse, Kenny Baker, Peter Mayhew and Frank Oz., Starfighters of Adumar (1999) is the ninth book in the "" series. It was written by Aaron Allston., "The Wess'har Wars" series is a six book science fiction novel series written by author Karen Traviss and is set several hundred years in the future. It involves humanity's contact with a number of alien species with conflicting interests and beliefs, while her central character, Shan Frankland, is caught in the middle of a coming conflict.
All six novels have been published by Eos, an imprint of HarperCollins: "City of Pearl", "Crossing the Line", "The World Before", "Matriarch" and "Ally" (formerly "Task Force"). The last book of the series, "Judge" was released on March 25, 2008., Solo Command (1999) is the seventh novel in the "" series, and the final book to detail the adventures of Wraith Squadron. It was written by Aaron Allston., Harrison Ford (born July 13, 1942) is an American actor and film producer. He gained worldwide fame for his starring roles as Han Solo in the "Star Wars" film series and as the title character of the "Indiana Jones" film series. Ford is also known for his roles as Rick Deckard in the neo-noir dystopian science fiction film "Blade Runner" (1982), John Book in the thriller "Witness" (1985), for which he was nominated for the Academy Award for Best Actor, and Jack Ryan in the action films "Patriot Games" (1992) and "Clear and Present Danger" (1994)., Mystara is a campaign setting for the "Dungeons & Dragons" fantasy role playing game. It was the default setting for the "Basic" version of the game popular through the 1980s., Betrayal is the first of nine books in the Legacy of the Force series , which is set in the fictional Star Wars expanded universe . The book is written by Aaron Allston and was released in hardcover on May 30 , 2006 . The cover artist is Jason Felix . The paperback edition was released in May 2007 and also contained a small excerpt from Bloodlines by Karen Traviss , and reprints of two short stories , In His Image and A Two - Edged Sword by Karen Traviss . The book takes place 35 years after Return of the Jedi . Starwars.com has posted the text from the book 's dust jacket . Betrayal is followed by the second book in the series , Bloodlines ., The Jedi are the main protagonists in the "Star Wars" universe. They are depicted as an ancient monastic and academic meritocratic organization whose origin dates back to "25,000 BBY" ("Before Battle of Yavin"; the destruction of the first Death Star)., Lawrence Edward Kasdan (born January 14, 1949) is an American screenwriter, director and producer. He is best known as co-writer of the films "The Empire Strikes Back", "Raiders of the Lost Ark", and "Return of the Jedi". Kasdan co-wrote the "Star Wars" sequel trilogy film "", and will co-write the series' Han Solo spin-off film., Richard Marquand (22 September 1937  4 September 1987) was a Welsh film director, best known for directing "Return of the Jedi". He also directed the critically acclaimed 1981 drama film "Eye of the Needle" and the 1985 thriller "Jagged Edge"., William December "Billy Dee" Williams Jr. (born April 6, 1937) is an American actor, artist, singer, and writer. He is best known for his role as Lando Calrissian in the "Star Wars" film franchise, as well as acting in the movies "Brian's Song", "Nighthawks," "The Last Angry Man," "Carter's Army," and for playing Harvey Dent in Tim Burton's "Batman" (1989)., 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"., Science fiction (often shortened to SF, sci-fi or scifi) is a genre of speculative fiction, typically dealing with imaginative concepts such as futuristic science and technology, space travel, time travel, faster than light travel, parallel universes, and extraterrestrial life. Science fiction often explores the potential consequences of scientific and other innovations, and has been called a "literature of ideas." It usually avoids the supernatural, and unlike the related genre of fantasy, historically science fiction stories were intended to have a grounding in science-based fact or theory at the time the story was created, but this connection is now limited to hard science fiction., THX is an American company headquartered in San Francisco, California, and founded in 1983 by George Lucas. It develops the "THX" high fidelity audio/visual reproduction standards for movie theaters, screening rooms, home theaters, computer speakers, gaming consoles, car audio systems, and video games., Carrie Frances Fisher (October 21, 1956  December 27, 2016) was an American actress, writer and humorist. She first became known for playing Princess Leia in the "Star Wars" film series. Her other film roles included "Shampoo" (1975), "The Blues Brothers" (1980), "Hannah and Her Sisters" (1986), "The 'Burbs" (1989), and "When Harry Met Sally..." (1989)., 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., Subject: betrayal , Relation: genre, Options: (A) action (B) advertising (C) blues (D) book (E) drama (F) dungeons & dragons (G) epic (H) fantasy (I) fiction (J) game (K) hard science fiction (L) literature (M) novel (N) opera (O) science (P) science fiction film (Q) science fiction novel (R) screenplay (S) sequel (T) song (U) space (V) speculative fiction (W) supernatural (X) technology (Y) television (Z) theater ([) travel (\) universe (]) video (^) war (_) welsh

Ex Output:
science fiction novel


Ex Input:
Context: The Hecatomnid dynasty or Hecatomnids were the rulers of Caria and surrounding areas from about 395334 BCE.
They were nominally satraps (governors) under the Persian Achaeminid Empire, but ruled with considerable autonomy, and established a hereditary dynasty. The dynasty was founded by Hecatomnus and originally had its seat in Mylasa; Mausolus moved it to Halicarnassus., Mausolus was a ruler of Caria (377353 BC), nominally the Persian Satrap, who enjoyed the status of king or dynast by virtue of the powerful position created by his father Hecatomnus who had succeeded the assassinated Persian Satrap Tissaphernes in the Carian satrapy and founded the hereditary dynasty of the Hecatomnids., The Sasanian Empire (or ), also known as Sassanian, Sasanid, Sassanid or Neo-Persian Empire), known to its inhabitants as rnshahr in Middle Persian, was the last imperial dynasty in Persia (Iran) before the rise of Islam, ruled by and named after the Sasanian dynasty from 224 to 651 AD. The Sasanian Empire, which succeeded the Parthian Empire, was recognized as one of the leading world powers alongside its neighboring arch-rival the Roman-Byzantine Empire, for a period of more than 400 years., Caria (from Luwian: "Karuwa", "steep country"; Ancient Greek: , "Karia") was a region of western Anatolia extending along the coast from mid-Ionia (Mycale) south to Lycia and east to Phrygia. The Ionian and Dorian Greeks colonized the west of it and joined the Carian population in forming Greek-dominated states there. The inhabitants of Caria, known as Carians, had arrived there before the Greeks. They were described by Herodotos as being of Minoan descent, while the Carians themselves maintained that they were Anatolian mainlanders intensely engaged in seafaring and were akin to the Mysians and the Lydians. The Carians did speak an Anatolian language, known as Carian, which does not necessarily reflect their geographic origin, as Anatolian once may have been widespread. Also closely associated with the Carians were the Leleges, which could be an earlier name for Carians or for a people who had preceded them in the region and continued to exist as part of their society in a reputedly second-class status., Hecatomnus of Mylasa or Hekatomnos ( Greek :  ) was an early 4th - century BC ruler of Caria . He was the satrap ( governor ) of Caria for the Persian Achaemenid king Artaxerxes II ( 404 -- 358 BC ) . However , the basis for Hecatomnus ' political power was twofold : he was both a high appointed Persian official and a powerful local dynast , who founded the hereditary dynasty of the Hecatomnids ., A governor is, in most cases, a public official with the power to govern the executive branch of a non-sovereign or sub-national level of government, ranking under the head of state. In federations, "governor" may be the title of a politician who governs a constituent state and may be either appointed or elected. The power of the individual governor can vary dramatically between political systems, with some governors having only nominal and largely ceremonial power, while others having a complete control over the entire government., Mycale. also Mykale and Mykali, called Samsun Da and Dilek Da (Dilek Peninsula) in modern Turkey, is a mountain on the west coast of central Anatolia in Turkey, north of the mouth of the Maeander and divided from the Greek island of Samos by the 1.6 km wide Mycale Strait. The mountain forms a ridge, terminating in what was known anciently as the Trogilium promontory (Ancient Greek  or ). There are several beaches on the north shore ranging from sand to pebbles. The south flank is mainly escarpment., 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., The Old Persian language is one of the two directly attested Old Iranian languages (the other being Avestan). Old Persian appears primarily in the inscriptions, clay tablets, and seals of the Achaemenid era (c. 600 BCE to 300 BCE). Examples of Old Persian have been found in what is now present-day Iran, Romania (Gherla), Armenia, Bahrain, Iraq, Turkey and Egypt, the most important attestation by far being the contents of the Behistun Inscription (dated to 525 BCE). Recent research into the vast Persepolis Fortification Archive at the Oriental Institute at the University of Chicago have unearthed Old Persian tablets (2007). This new text shows that the Old Persian language was a written language in use for practical recording and not only for royal display., Satraps (Old Persian: xšarapwn) were the governors of the provinces of the ancient Median and Achaemenid (Persian) Empires and in several of their successors, such as the Sasanian Empire and the Hellenistic empires., The Leleges were one of the aboriginal peoples of the Aegean littoral, distinct from the Pelasgians, the Bronze Age Greeks, the Cretan Minoans, the Cycladic Telkhines, and the Tyrrhenians. The classical Hellenes emerged as an amalgam of these six peoples. The distinction between the Leleges and the Carians (a nation living in south west Anatolia) is unclear. According to Homer, the Leleges were a distinct Anatolian tribe; However, Herodotus states that "Leleges" had been an early name for the Carians. The fourth-century BCE historian Philippus of Theangela, suggested that the Leleges maintained connections to Messenia, Laconia, Locris and other regions in mainland Greece, after they were overcome by the Carians in Asia Minor., Subject: hecatomnus, Relation: occupation, Options: (A) canada (B) governor (C) head of state (D) historian (E) islam (F) major (G) mountain (H) official (I) research (J) ruler (K) sovereign

Ex Output:
sovereign


Ex Input:
Context: William Jefferson "Bill" Clinton (born August 19, 1946) is an American politician who served as the 42nd President of the United States from 1993 to 2001. Clinton was the 40th Governor of Arkansas from 1979 to 1981 and 42nd Governor from 1983 to 1992, and Arkansas Attorney General from 1977 to 1979. A member of the Democratic Party, ideologically Clinton was a New Democrat, and many of his policies reflected a centrist "Third Way" political philosophy., The Secretary of Defense (SecDef) is the leader and chief executive officer of the Department of Defense, an Executive Department of the Government of the United States of America. The Secretary of Defense's power over the United States military is second only to that of the President. This position corresponds to what is generally known as a Defense Minister in many other countries. The Secretary of Defense is appointed by the President with the advice and consent of the Senate, and is by custom a member of the Cabinet and by law a member of the National Security Council., A restraining order or protective order is an order used by a court to protect a person or entity, and the general public, in a situation involving alleged domestic violence, harassment, stalking, or sexual assault. In the United States, every state has some form of domestic violence restraining order law, and many states also have specific restraining order laws for stalking and sexual assault., Murder is the unlawful killing of another human without justification or valid excuse, especially the unlawful killing of another human being with malice aforethought. This state of mind may, depending upon the jurisdiction, distinguish murder from other forms of unlawful homicide, such as manslaughter. Manslaughter is a killing committed in the absence of "malice", brought about by reasonable provocation, or diminished capacity. "Involuntary" manslaughter, where it is recognized, is a killing that lacks all but the most attenuated guilty intent ("mens rea"), recklessness., The 2010 United States Census, (known as "Census 2010"), is the twenty-third and currently most recent United States national census. National Census Day, the reference day used for the census, was April 1, 2010. As part of a drive to increase the count's accuracy, 635,000 temporary enumerators were hired. The population of the United States was counted as 308,745,538, a 9.7% increase from the 2000 Census., In military operations, reconnaissance is the exploration outside an area occupied by friendly forces to gain information about natural features and enemy presence., A court is a tribunal, often as a government institution, with the authority to adjudicate legal disputes between parties and carry out the administration of justice in civil, criminal, and administrative matters in accordance with the rule of law. In both common law and civil law legal systems, courts are the central means for dispute resolution, and it is generally understood that all persons have an ability to bring their claims before a court. Similarly, the rights of those accused of a crime include the right to present a defense before a court., ESL Incorporated, or Electromagnetic Systems Laboratory, was a subsidiary of TRW, a high technology firm in the United States that was engaged in software design, systems analysis and hardware development for the strategic reconnaissance marketplace. Founded in January, 1964 in Palo Alto, California, the company was initially entirely privately capitalized by its employees. One of the company founders and original chief executive was William J. Perry, who eventually became United States Secretary of Defense under President Bill Clinton. Another company founder was Joe Edwin Armstrong ESL was a leader in developing strategic signal processing systems and a prominent supplier of tactical reconnaissance and direction-finding systems to the U. S. military. These systems provided integrated real-time intelligence., Modern humans ("Homo sapiens", primarily ssp. "Homo sapiens sapiens") are the only extant members of Hominina tribe (or human tribe), a branch of the tribe Hominini belonging to the family of great apes. They are characterized by erect posture and bipedal locomotion; manual dexterity and increased tool use, compared to other animals; and a general trend toward larger, more complex brains and societies., Sunnyvale (or ) is a city located in Santa Clara County, California. As of the 2010 United States Census, the population was 140,095., The military, also called the armed forces, are forces authorized to use deadly force, and weapons, to support the interests of the state and some or all of its citizens. The task of the military is usually defined as defense of the state and its citizens, and the prosecution of war against another state. The military may also have additional sanctioned and non-sanctioned functions within a society, including, the promotion of a political agenda, protecting corporate economic interests, internal population control, construction, emergency services, social ceremonies, and guarding important areas. The military can also function as a discrete subculture within a larger civil society, through the development of separate infrastructures, which may include housing, schools, utilities, food production and banking., Palo Alto ( from "palo", literally "stick", colloquially "tree", and "alto" "tall"; meaning: "tall tree") is a charter city located in the northwest corner of Santa Clara County, California, in the San Francisco Bay Area of the United States. The city shares its borders with East Palo Alto, Mountain View, Los Altos, Los Altos Hills, Stanford, Portola Valley, and Menlo Park. It is named after a coast redwood tree called El Palo Alto., Richard Wade Farley ( born July 25 , 1948 ) is an American convicted mass murderer . A former employee of ESL Incorporated in Sunnyvale , California , he stalked co-worker Laura Black for four years beginning in 1984 . Black obtained a temporary restraining order against him on February 2 , 1988 , with a court date set for February 17 , 1988 to make the order permanent . On February 16 , 1988 , Farley shot and killed seven people at ESL and wounded four others , including Black . He was convicted of seven counts of first degree murder , and is currently on death row at San Quentin ., Stalking is unwanted or obsessive attention by an individual or group towards another person. Stalking behaviors are related to harassment and intimidation and may include following the victim in person or monitoring them. The term "stalking" is used, with some differing definitions, in psychiatry and psychology, and also in some legal jurisdictions as a term for a criminal offense., Subject: richard farley, Relation: occupation, Options: (A) attorney general (B) construction (C) count (D) criminal (E) general (F) justice (G) member (H) military (I) minister (J) mountain (K) officer (L) politician (M) president (N) secretary (O) united states of america

Ex Output:
officer