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: A chain gun is a type of machine gun or autocannon that uses an external source of power to cycle the weapon rather than diverting energy from the cartridge , and does so via a continuous loop of chain similar to that used on a motorcycle or bicycle . '' Chain gun '' is a registered trademark of Alliant Techsystems Inc. for a chain - powered weapon ., The word bullet is a firearm term. A bullet is a projectile expelled from the barrel of a firearm. The term is from Middle French and originated as the diminutive of the word boulle (boullet) which means "small ball." Bullets are made of a variety of materials. They are available singly as they would be used in muzzle loading and cap and ball firearms, as part of a paper cartridge, and much more commonly as a component of metallic cartridges. Bullets are made in a large numbers of styles and constructions depending on how they will be used. Many bullets have specialized functions, such as hunting, target shooting, training, defense, and warfare. , An autocannon or automatic cannon is a large, fully automatic, rapid-fire projectile weapon that fires armour-piercing or explosive shells, as opposed to the bullet fired by a machine gun. Autocannons often have a larger calibre than a machine gun (e.g., 20mm or greater), but are usually smaller than a field gun or other artillery. When used on its own, the word "autocannon" indicates a single-barrel weapon. When multiple rotating barrels are involved, the word "rotary" is added, and such a weapon is referred to as a "rotary autocannon." Modern autocannons are typically not single soldier-portable or stand-alone units, rather they are usually vehicle-mounted, aircraft-mounted, or boat-mounted, or even remote-operated as in some naval applications. As such, ammunition is typically fed from a belt to reduce reloading or for a faster rate of fire, but a magazine remains an option. They can use a variety of ammunition: common shells include high-explosive dual-purpose types (HEDP), any variety of armour-piercing (AP) types, such as composite rigid (APCR) or discarding sabot types (APDS)., A battle rifle is a military service rifle that fires a full-power rifle cartridge, such as 7.6251mm NATO, 7.6254mmR, 7.92x57mm Mauser, .303 British, or .30-06 Springfield. Compared to assault rifles and their intermediate cartridges, the higher-caliber rounds provide greater power and range, though they have greater weight and produce stronger recoil, making them less than ideal for fully automatic fire., A field gun is an artillery piece. Originally the term referred to smaller guns that could accompany a field army on the march and when in combat could be moved about the battlefield in response to changing circumstances (field artillery), as opposed to guns installed in a fort (garrison artillery/coastal artillery), or to siege cannon or mortars which were too large to be moved quickly, and would be used only in a prolonged siege., A submachine gun (SMG) is an air-cooled, magazine-fed, automatic carbine designed to fire pistol cartridges. The term "submachine gun" was coined by John T. Thompson, the inventor of the Thompson submachine gun., Rate of fire is the frequency at which a specific weapon can fire or launch its projectiles. It is usually measured in rounds per minute (RPM or round/min), or rounds per second (RPS or round/s)., A machine gun is a fully automatic mounted or portable firearm, designed to fire bullets in quick succession from an ammunition belt or magazine, typically at a rate of 300 to 1800 rounds per minute. Fully automatic firearms are generally categorized as submachine guns, assault rifles, battle rifles, automatic shotguns, machine guns, or autocannons. Machine guns with multiple rotating barrels are referred to as "rotary machine guns"., An automatic shotgun is an automatic firearm that fires shotgun shells and uses some of the energy of each shot to automatically cycle the action and load a new round. It will fire repeatedly until the trigger is released or ammunition runs out. Automatic shotguns have a very limited range, but provide tremendous firepower at close range., A shotgun (also known as a scattergun, or historically as a fowling piece) is a firearm that is usually designed to be fired from the shoulder, which uses the energy of a fixed shell to fire a number of small spherical pellets called shot, or a solid projectile called a slug. Shotguns come in a wide variety of sizes, ranging from 5.5mm (.22inch) bore up to bore, and in a range of firearm operating mechanisms, including breech loading, single-barreled, double or combination gun, pump-action, bolt-, and lever-action, semi-automatic, and even fully automatic variants., Artillery is a class of large military weapons built to fire munitions far beyond the range and power of infantry's small arms. Early artillery development focused on the ability to breach fortifications, and led to heavy, fairly immobile siege engines. As technology improved, lighter, more mobile field artillery developed for battlefield use. This development continues today; modern self-propelled artillery vehicles are highly mobile weapons of great versatility providing the largest share of an army's total firepower., An assault rifle is a selective-fire rifle that uses an intermediate cartridge and a detachable magazine. Assault rifles were first used during World War II. Though Western nations were slow to accept the assault rifle concept after World War II, by the end of the 20th century they had become the standard weapon in most of the world's armies, replacing semi-automatic rifles, battle rifles and sub-machine guns in most roles. Examples include the StG 44, AK-47 and the M16 rifle., Subject: chain gun, Relation: subclass_of, Options: (A) ability (B) action (C) ammunition (D) army (E) artillery (F) assault rifle (G) autocannon (H) battle (I) battle rifle (J) belt (K) bullet (L) cannon (M) class (N) energy (O) field gun (P) fire (Q) firearm (R) fort (S) gun (T) hunting (U) infantry (V) lighter (W) machine (X) magazine (Y) march (Z) military ([) option (\) part (]) power (^) projectile (_) rate (') rifle (a) service (b) shooting (c) shot (d) shotgun (e) single (f) solid (g) submachine gun (h) technology (i) term (j) variety (k) vehicle (l) weapon (m) word

Output: firearm

Input: Consider Input: Context: John III (20 December 1537 17 November 1592) was King of Sweden from 1568 until his death. He was the son of King Gustav I of Sweden and his second wife Margaret Leijonhufvud. He was also, quite autonomously, the ruler of Finland, as "Duke John" from 1556 to 1563. In 1581 he assumed also the title Grand Prince of Finland. He attained the Swedish throne after a rebellion against his brother Eric XIV. He is mainly remembered for his attempts to close the gap between the newly established Lutheran Church of Sweden and the Catholic church., The Spanish Empire was one of the largest empires in history. It reached the peak of its military, political and economic power under the Spanish Habsburgs, through most of the 16th and 17th centuries, and its greatest territorial extent under the House of Bourbon in the 18th century, when it was the largest empire in the world. The Spanish Empire became the foremost global power of its time and was the first to be called "the empire on which the sun never sets"., A composite monarchy (or composite state) is a historical category, introduced by J. H. Elliott, that describes early modern states consisting of several countries under one ruler, who governs his territories as if they were separate kingdoms, in accordance with local traditions and legal structures. The composite state was the typical kind in the early modern period. H. G. Koenigsberger divides composite states into two classes: those, like the Spanish Empire, that consisted of countries separated by either other states or by the sea, and those, like PolandLithuania, that were contiguous., Sigismund III Vasa ( also known as Sigismund III of Poland , Polish : Zygmunt III Waza , Lithuanian : Zygimantas Vaza , English exonym : Sigmund ; 20 June 1566 -- 30 April 1632 N.S. ) was King of Poland and Grand Duke of Lithuania , monarch of the united Polish -- Lithuanian Commonwealth from 1587 to 1632 , and King of Sweden ( where he is known simply as Sigismund ) from 1592 as a composite monarchy until he was deposed in 1599 . He was the son of King John III of Sweden and his first wife , Catherine Jagellonica of Poland . Elected to the throne of the Polish -- Lithuanian Commonwealth , Sigismund sought to create a personal union between the Commonwealth and Sweden ( Polish -- Swedish union ) , and succeeded for a time in 1592 . After he had been deposed in 1599 from the Swedish throne by his uncle , Charles IX of Sweden , and a meeting of the Riksens stander ( Swedish Riksdag ) , he spent much of the rest of his life attempting to reclaim it . Shortly after his victory over his internal enemies , Sigismund took advantage of a period of civil unrest in Muscovy ( known as the Time of Troubles ) and invaded Russia , holding Moscow for two years ( 1610 -- 12 ) and Smolensk thereafter . In 1617 the Polish -- Swedish conflict , which had been interrupted by an armistice in 1611 , broke out again . While Sigismund 's army was also fighting Ottoman forces in Moldavia ( 1617 -- 21 ) , King Gustavus II Adolphus of Sweden ( Charles IX 's son ) invaded Sigismund 's lands , capturing Riga ( 1621 ) and seizing almost all of Polish Livonia . Sigismund , who concluded the Truce of Altmark with Sweden in 1629 , never regained the Swedish crown . His Swedish wars resulted , moreover , in Poland 's loss of Livonia and in a diminution of the kingdom 's international prestige . Sigismund remains a highly controversial figure in Poland . His long reign coincided with the apex of the Polish -- Lithuanian Commonwealth 's prestige , power and economic influence . On the other hand , it was during his reign that the symptoms of decline leading to the Commonwealth 's eventual demise surfaced . Popular histories , such as the books of Pawe Jasienica , tend to present Sigismund as the principal source of these destructive processes ; whereas academic histories are usually not as damning of him . However , the question of whether the Commonwealth 's decline was caused by Sigismund 's decisions or had its roots in historical processes beyond his personal control , remains a highly debated topic . He was commemorated in Warsaw with Sigismund 's Column , commissioned by his son and successor , Wadysaw IV., Gustav I, born Gustav Eriksson of the Vasa noble family and later known as Gustav Vasa (12 May 1496 29 September 1560), was King of Sweden from 1523 until his death in 1560, previously self-recognised Protector of the Realm ("Riksforestandare") from 1521, during the ongoing Swedish War of Liberation against King Christian II of Denmark, Norway and Sweden. Initially of low standing, Gustav rose to lead the rebel movement following the Stockholm Bloodbath, in which his father perished. Gustav's election as King on 6 June 1523 and his triumphant entry into Stockholm eleven days later meant the end of Medieval Sweden's elective monarchy and the Kalmar Union, and the birth of a hereditary monarchy under the House of Vasa and its successors, including the current House of Bernadotte., Subject: sigismund iii vasa, Relation: noble_family, Options: (A) house of bourbon (B) house of vasa

Output: house of vasa

Input: Consider Input: Context: Taiwan, officially the Republic of China (ROC), is a state in East Asia. Neighbors include China (officially the People's Republic of China, abbreviated as PRC) to the west, Japan to the northeast, and the Philippines to the south.
Taiwan is the most populous state that is not a member of the United Nations, and the one with the largest economy., The Sichuan Basin, or Szechwan Basin, is a lowland region in southwestern China. It comprises the central and eastern portions of Sichuan province, and the neighboring Chongqing Municipality (which itself was part of Sichuan until 1997). Due to its relative flatness and fertile grounds, it is heavily populated with a population of more than 100 million. In addition to being a dominant geographical feature of the region, the Sichuan basin also constitutes a cultural sphere that is distinguished by its own unique customs, cuisine, and dialects. It is also called the "Red Basin." It is famous for rice cultivation. It is also the principal gas-producing region of China., Hong Kong, officially the Hong Kong Special Administrative Region of the People's Republic of China, is an autonomous territory on the Pearl River Delta of East Asia. Macau lies across the delta to the west, and the Chinese province of Guangdong borders the territory to the north. With a total land area of and a population of over 7.3 million of various nationalities, it ranks as the world's fourth most densely populated sovereign state or territory., Sichuan, formerly romanized as Szechwan, is a province in southwest China occupying most of the Sichuan Basin between the Himalayas on the west, the Daba in the north, and the Yungui Plateau to the east. Sichuan's capital is Chengdu., In international relations, a regional power is a state that has power within a geographic region. States which wield unrivalled power and influence within a region of the world possess regional hegemony., A prefectural-level municipality, prefectural-level city or prefectural city is an administrative division of the People's Republic of China (PRC), ranking below a province and above a county in China's administrative structure. Prefectural level cities form the second level of the administrative structure (alongside prefectures, leagues and autonomous prefectures). Administrative chiefs (mayors) of prefectural level cities generally have the same rank as a division chief of a national ministry. Since the 1980s, most former prefectures have been renamed into prefectural level cities., Chongqing, formerly transliterated as Chungking, is a major city in Southwest China and one of the Five national central cities in China. Administratively, it is one of China's four direct-controlled municipalities (the other three are Beijing, Shanghai and Tianjin), and the only such municipality in inland China., Jurisdiction (from the Latin "ius, " meaning "law" and "" meaning "to speak") is the practical authority granted to a legal body to administer justice within a defined area of responsibility, e.g., Michigan tax law. In the federations like USA, areas of jurisdiction apply to local, state, and federal levels; e.g. the court has jurisdiction to apply federal law., Shenzhen is a major city in Guangdong Province, China. The city is located immediately north of Hong Kong Special Administrative Region and holds sub-provincial administrative status, with powers slightly less than a province., Tianjin, formerly romanized as Tientsin, is a metropolis in northern coastal Mainland China, administered by the People's Republic of China and one of the five national central cities of China, with a total municipal population of 15,469,500. It is governed as one of the four direct-controlled municipalities of the PRC and is thus under direct administration of the central government. Tianjin borders Hebei Province and Beijing Municipality, bounded to the east by the Bohai Gulf portion of the Yellow Sea. Part of the Bohai Economic Rim, it is the largest coastal city in northern China., East Asia is the eastern subregion of the Asian continent, which can be defined in either geographical or ethno-cultural terms. Geographically and geopolitically, it includes China, Hong Kong, and Macao; Mongolia and Taiwan; North and South Korea; and Japan; it covers about , or about 28% of the Asian continent, about twice the area of Europe., A great power is a sovereign state that is recognized as having the ability and expertise to exert its influence on a global scale. Great powers characteristically possess military and economic strength, as well as diplomatic and soft power influence, which may cause middle or small powers to consider the great powers' opinions before taking actions of their own. International relations theorists have posited that great power status can be characterized into power capabilities, spatial aspects, and status dimensions., Meishan (Sichuanese Pinyin: Misan; local pronunciation: ), formerly known as Meizhou or Qingzhou, is a prefecture-level city with more than 3,000,000 inhabitants in Sichuan province of China. Meishan is in the southwest of Sichuan Basin., Shanghai (": Zanhae" ), often abbreviated as Hu or Shen, is one of the four direct-controlled municipalities of the People's Republic of China. It is the most populous city proper in the world, with a population of more than 24 million . It is a global financial centre and transport hub, with the world's busiest container port. Located in the Yangtze River Delta in East China, Shanghai sits on the south edge of the mouth of the Yangtze in the middle portion of the Chinese coast. The municipality borders the provinces of Jiangsu and Zhejiang to the north, south and west, and is bounded to the east by the East China Sea., Beijing (formerly romanised as Peking) is the capital of the People's Republic of China and the world's third most populous city proper. It is also one of the world's most populous capital cities. The city, located in northern China, is governed as a direct-controlled municipality under the national government with 16 urban, suburban, and rural districts. Beijing Municipality is surrounded by Hebei Province with the exception of neighbouring Tianjin Municipality to the southeast; together the three divisions form the Jingjinji metropolitan region and the national capital region of China., Guangzhou , traditionally romanised as Canton, is the capital and largest city of the Province of Guangdong in southeastern China. Located on the Pearl River about north-northwest of Hong Kong and north of Macau, Guangzhou was a major terminus of the maritime Silk Road and continues to serve as a major port and transportation hub., Pengshan District ( Chinese : ; pinyin : Pengshn Q ) is a district of the Sichuan Province of China . It is under the administration of Meishan city ., The Communist Party of China (CPC) is the founding and ruling political party of the People's Republic of China (PRC). The CPC is the sole governing party of China, although it coexists alongside eight other legal parties that comprise the United Front; these parties, however, hold no real power or independence from the CPC. It was founded in 1921, chiefly by Chen Duxiu and Li Dazhao. The party grew quickly, and by 1949 the CPC had driven the nationalist Kuomintang (KMT) government from mainland China after the Chinese Civil War, thus leading to the establishment of the People's Republic of China. The CPC is currently the world's second largest political party with a membership of 88.76 million as of 2016 (while the Indian Bharatiya Janata Party appears to have remained the largest with a membership of 110 million as of the previous year, 2015). It also controls the world's largest armed force, the People's Liberation Army. , Macau (literally: "Bay Gate"), (in Portuguese, which is still widely used in the city) also spelled Macao (in English), officially the Regiao Administrativa Especial de Macau da Republica Popular da China, is an autonomous territory on the western side of the Pearl River Delta in East Asia. Macau is bordered by the city of Zhuhai in China to the North and the Pearl River Estuary to the East and South. Hong Kong lies about to its East across the Delta. With a population of 650,900 living in an area of , it is the most densely populated region in the world., China, officially the People's Republic of China (PRC), is a unitary sovereign state in East Asia. With a population of over 1.381billion, it is the world's most populous country. The state is governed by the Communist Party of China, and its capital is Beijing. It exercises jurisdiction over 22 provinces, five autonomous regions, four direct-controlled municipalities (Beijing, Tianjin, Shanghai, and Chongqing), and two mostly self-governing special administrative regions (Hong Kong and Macau), and claims sovereignty over Taiwan. The country's major urban areas include Shanghai, Guangzhou, Beijing, Chongqing, Shenzhen, Tianjin and Hong Kong. China is a great power and a major regional power within Asia, and has been characterized as a potential superpower., A sovereign state is, in international law, a nonphysical juridical entity that is represented by one centralised government that has sovereignty over a geographic area. International law defines sovereign states as having a permanent population, defined territory, one government, and the capacity to enter into relations with other sovereign states. It is also normally understood that a sovereign state is neither dependent on nor subjected to any other power or state., Subject: pengshan district, Relation: instance_of, Options: (A) 1 (B) administration (C) administrative region (D) army (E) bay (F) capital (G) capital region (H) chinese (I) city (J) civil war (K) communist party (L) county (M) court (N) cuisine (O) economy (P) estuary (Q) feature (R) five (S) four (T) gas (U) gate (V) geographic region (W) geographical (X) government (Y) great power (Z) gulf ([) international relations (\) jurisdiction (]) law (^) lowland (_) may (') member (a) metropolis (b) military (c) ministry (d) municipality (e) part (f) party (g) people (h) political party (i) population (j) prefecture (k) province (l) province of china (m) region (n) republic (o) river (p) road (q) scale (r) side (s) special administrative region (t) state (u) status (v) subregion (w) territory (x) the city (y) three (z) transport ({) war
Output: county