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: Pharaoh is the common title of the monarchs of ancient Egypt from the First Dynasty (c. 3150) until the Macedonian conquest in 305 BC, although the actual term "Pharaoh" was not used contemporaneously for a ruler until circa 1200 BCE., Ramesses II (variously transliterated as "Rameses" or "Ramses" (or ); born ; died July or August 1213 BC; reigned 12791213 BC), also known as Ramesses the Great, was the third pharaoh of the Nineteenth Dynasty of Egypt. He is often regarded as the greatest, most celebrated, and most powerful pharaoh of the Egyptian Empire. His successors and later Egyptians called him the "Great Ancestor". Ramesses II led several military expeditions into the Levant, reasserting Egyptian control over Canaan. He also led expeditions to the south, into Nubia, commemorated in inscriptions at Beit el-Wali and Gerf Hussein., Khepermaatre Ramesses X (also written Ramses and Rameses) (ruled c. 1111 BC  1107 BC) was the ninth ruler of the 20th dynasty of Ancient Egypt. His birth name was Amonhirkhepeshef. His "prenomen" or throne name, Khepermaatre, means "The Justice of Re Abides." , Heqamaatre Ramesses IV (also written Ramses or Rameses) was the third pharaoh of the Twentieth Dynasty of the New Kingdom of Ancient Egypt. His name prior to assuming the crown was Amonhirkhopshef. He was the fifth son of Ramesses III and was appointed to the position of crown prince by the twenty-second year of his father's reign when all four of his elder brothers predeceased him. His promotion to crown prince:, Ramesses XI (also written Ramses and Rameses) reigned from 1107 BC to 1078 BC or 1077 BC and was the tenth and final pharaoh of the Twentieth dynasty of Egypt. He ruled Egypt for at least 29 years although some Egyptologists think he could have ruled for as long as 30. The latter figure would be up to 2 years beyond this king's highest known date of Year 10 of the "Whm Mswt" era or Year 28 of his reign. One scholar, Ad Thijs, has even suggested that Ramesses XI reigned as long as 33 yearssuch is the degree of uncertainty surrounding the end of his long reign., Jürgen von Beckerath (19 February 1920  26 June 2016) was a German Egyptologist. He was a prolific writer who has published countless articles in journals such as "Orientalia", "Göttinger Miszellen" (GM), "Journal of the American Research Center in Egypt" (JARCE), "Archiv für Orientforschung" (AfO), and "Studien zur Altägyptischen Kultur" (SAK) among others. Together with Kenneth Kitchen, he is viewed as one of the foremost scholars on the New Kingdom and the Third Intermediate Period of Egypt., Ramesses IX (also written Ramses) (originally named Amon-her-khepshef Khaemwaset) (ruled 1129  1111 BC) was the eighth king of the Twentieth dynasty of Egypt. He was the third longest serving king of this Dynasty after Ramesses III and Ramesses XI. He is now believed to have assumed the throne on I Akhet day 21 based on evidence presented by Jürgen von Beckerath in a 1984 GM article. According to Papyrus Turin 1932+1939, Ramesses IX enjoyed a reign of 18 Years and 4 months and died in his 19th Year in the first month of Peret between day 17 and 27. His throne name, Neferkare Setepenre, means "Beautiful Is The Soul of Re, Chosen of Re." Ramesses IX is believed to be the son of Mentuherkhepeshef, a son of Ramesses III since Montuherkhopshef's wife, the lady Takhat bears the prominent title of King's Mother on the walls of tomb KV10 which she usurped and reused in the late 20th dynasty; no other 20th dynasty king is known to have had a mother with this name. Ramesses IX was, therefore, probably a grandson of Ramesses III., Ramessesnakht was High Priest of Amun during many years in the 20th Dynasty . He was appointed as the High Priest at Thebes under Ramesses IV. He served in office until the reign of Ramesses IX. It was during Ramessesnakht 's tenure that the power and importance of the Amun priesthood grew over Egypt while the Pharaoh 's power began to noticeably decline ., Subject: ramessesnakht, Relation: date_of_birth, Options: (A) 1077 (B) 1078 (C) 1107 (D) 1111 (E) 1129 (F) 1200 bce (G) 1213 (H) 1279 (I) 17 (J) 19 (K) 1932 (L) 1984 (M) 28 (N) 30 (O) 305 (P) 4 (Q) february 1920

Ex Output:
1200 bce


Ex Input:
Context: Wigtown Burghs , also known as Wigton Burghs , . was a constituency of the House of Commons of the Parliament of Great Britain from 1708 to 1800 and of the House of Commons of the Parliament of the United Kingdom from 1801 to 1885 . It was represented by one Member of Parliament ( MP ) . The first election in Wigtown Burghs was in 1708 . In 1707 -- 08 , members of the 1702 -- 1707 Parliament of Scotland were co-opted to serve in the 1st Parliament of Great Britain . See Scottish representatives to the 1st Parliament of Great Britain , for further details ., In modern politics and history, a parliament is a legislative, elected body of government. Generally a modern parliament has three functions: representing the electorate, making laws, and overseeing the government ("i.e.", hearings, inquiries)., A burgh was an autonomous corporate entity in Scotland and Northern England, usually a town, or toun in Scots. This type of administrative division existed from the 12th century, when King David I created the first royal burghs. Burgh status was broadly analogous to borough status, found in the rest of the United Kingdom. Following local government reorganization in 1975 the title of "royal burgh" remains in use in many towns, but now has little more than ceremonial value., Wigtownshire or the County of Wigtown is a registration county and lieutenancy area in south-west Scotland. Until 1975, Wigtownshire was one of the administrative counties used for local government purposes, and is now administered as part of the council area of Dumfries and Galloway. As a lieutenancy area, Wigtownshire has its own Lord Lieutenant, currently John Alexander Ross., Newton Stewart (Gd: "Baile Ùr nan Stiùbhartach") is a former burgh town in Dumfries and Galloway, southwest Scotland.
The town is on the River Cree with most of the town to the west of the river, and is sometimes referred to as the "Gateway to the Galloway Hills". Newton Stewart has also recently been twinned with the French town of Marcoussis., The Kingdom of Great Britain, officially Great Britain , was a sovereign state in western Europe from 1 May 1707 to 31 December 1800. The state came into being following the Treaty of Union in 1706, ratified by the Acts of Union 1707, which united the kingdoms of England and Scotland to form a single kingdom encompassing the whole island of Great Britain and its outlying islands. It did not include Ireland, which remained a separate realm. The unitary state was governed by a single parliament and government that was based in Westminster. The former kingdoms had been in personal union since James VI, King of Scots, became King of England and King of Ireland in 1603 following the death of Queen Elizabeth I, bringing about a "Union of the Crowns". Also after the accession of George I to the throne of Great Britain in 1714, the kingdom was in a personal union with the Electorate of Hanover., The Parliament of England was the legislature of the Kingdom of England. In 1066, William of Normandy introduced what, in later centuries, became referred to as a feudal system, by which he sought the advice of a council of tenants-in-chief (a person who held land) and ecclesiastics before making laws. In 1215, the tenants-in-chief secured Magna Carta from King John, which established that the king may not levy or collect any taxes (except the feudal taxes to which they were hitherto accustomed), save with the consent of his royal council, which gradually developed into a parliament., The Parliament of Great Britain was formed in 1707 following the ratification of the Acts of Union by both the Parliament of England and the Parliament of Scotland. The Acts created a new unified Kingdom of Great Britain and dissolved the separate English and Scottish parliaments in favour of a single parliament, located in the former home of the English parliament in the Palace of Westminster, near the City of London. This lasted nearly a century, until the Acts of Union 1800 merged the separate British and Irish Parliaments into a single Parliament of the United Kingdom with effect from 1 January 1801., Stranraer is a town in Inch, Wigtownshire, in the west of Dumfries and Galloway, southwest Scotland. It lies on the shores of Loch Ryan, on the northern side of the isthmus joining the Rhins of Galloway to the mainland. Stranraer is Dumfries and Galloway's second-largest town, with a population including the surrounding area of nearly 13,000., The Parliament of the United Kingdom, commonly known as the UK Parliament or British Parliament, is the supreme legislative body in the United Kingdom, British Crown dependencies and British overseas territories. It alone possesses legislative supremacy and thereby ultimate power over all other political bodies in the UK and its territories. Its head is the Sovereign of the United Kingdom (currently Queen Elizabeth II) and its seat is the Palace of Westminster in the City of Westminster, London., Dumfries (; possibly from ) is a market town and former royal burgh within the Dumfries and Galloway council area of Scotland. It is near the mouth of the River Nith into the Solway Firth. Dumfries was a civil parish and became the county town of the former county of Dumfriesshire. Dumfries is nicknamed "Queen of the South". People from Dumfries are known colloquially as "Doonhamers"., The Palace of Westminster is the meeting place of the House of Commons and the House of Lords, the two houses of the Parliament of the United Kingdom. Commonly known as the Houses of Parliament after its occupants, it is also known as the 'heart of British politics'. The Palace lies on the north bank of the River Thames in the City of Westminster, in central London., A Member of Parliament (MP) is the 
representative of the voters to a parliament. In many countries with bicameral parliaments, this category includes specifically members of the lower house, as upper houses often have a different title., Dumfries and Galloway is one of 32 unitary council areas of Scotland and is located in the western Southern Uplands. It comprises the historic counties of Dumfriesshire, Stewartry of Kirkcudbright and Wigtownshire, the latter two of which are collectively known as Galloway. The administrative centre is the town of Dumfries., Wigtown is a town and former royal burgh in Wigtownshire, of which it is the county town, within the Dumfries and Galloway region in Scotland. It lies east of Stranraer and south of Newton Stewart. It is well known today as "Scotland's National Book Town" with a high concentration of second-hand book shops. It has a population of about 1,000., The Acts of Union 1800 (sometimes erroneously referred to as a single Act of Union 1801) united the Kingdom of Great Britain and the Kingdom of Ireland (previously in personal union) to create the United Kingdom of Great Britain and Ireland with effect from 1 January 1801. Both Acts, though since amended, still remain in force in the United Kingdom, but have been repealed in the Republic of Ireland., The City of Westminster is an Inner London borough which also holds city status. It occupies much of the central area of Greater London including most of the West End. It is to the west of and adjoining the ancient City of London, directly to the east of the Royal Borough of Kensington and Chelsea, and its southern boundary is the River Thames. It was created with the 1965 establishment of Greater London. Upon creation, Westminster was awarded city status, which had been previously held by the smaller Metropolitan Borough of Westminster., Scotland (Scots: ) is a country that is part of the United Kingdom and covers the northern third of the island of Great Britain. It shares a border with England to the south, and is otherwise surrounded by the Atlantic Ocean, with the North Sea to the east and the North Channel and Irish Sea to the south-west. In addition to the mainland, the country is made up of more than 790 islands, including the Northern Isles and the Hebrides., The City of London is a city and county within London. It constituted most of London from its settlement by the Romans in the 1st century AD to the Middle Ages, but the agglomeration has since grown far beyond the City's borders. The City is now only a tiny part of the metropolis of London, though it remains a notable part of central London. Administratively, it forms one of the 33 local authority districts of Greater London; however, the City of London is not a London borough, a status reserved for the other 32 districts (including London's only other city, the City of Westminster). , A royal burgh was a type of Scottish burgh which had been founded by, or subsequently granted, a royal charter. Although abolished in law in 1975, the term is still used by many former royal burghs., The 14 British Overseas Territories (BOT) are territories under the jurisdiction and sovereignty of the United Kingdom. They are those parts of the former British Empire that have not chosen independence or have voted to remain British territories. Most of the inhabited territories are internally self-governing, with the UK retaining responsibility for defence and foreign relations. The rest are either uninhabited or have a transitory population of military or scientific personnel. They share the British monarch (Elizabeth II) as head of state., The Parliament of Scotland, officially the Estates of Parliament, was the legislature of the Kingdom of Scotland. The parliament, like other such institutions, evolved during the Middle Ages from the king's council of bishops and earls. It is first identifiable as a parliament in 1235, during the reign of Alexander II, when it was described as a "colloquium" and already possessed a political and judicial role. By the early fourteenth century, the attendance of knights and freeholders had become important, and from 1326 commissioners from the burghs attended. Consisting of the "three estates" of clergy, nobility and the burghs sitting in a single chamber, the parliament gave consent for the raising of taxation and played an important role in the administration of justice, foreign policy, war, and all manner of other legislation. Parliamentary business was also carried out by "sister" institutions, such as General Councils or Convention of Estates. These could carry out much business also dealt with by parliament  taxation, legislation and policy-making  but lacked the ultimate authority of a full parliament., Subject: wigtown burghs , Relation: located_in_the_administrative_territorial_entity, Options: (A) atlantic ocean (B) centre (C) city of westminster (D) dumfries (E) dumfries and galloway (F) elizabeth (G) england (H) europe (I) galloway (J) greater london (K) hanover (L) ireland (M) kensington (N) king (O) kingdom of great britain (P) london (Q) most (R) nan (S) newton (T) northern (U) of (V) river (W) royal borough of kensington and chelsea (X) scotland (Y) south (Z) stranraer ([) united kingdom (\) united kingdom of great britain and ireland (]) west (^) westminster

Ex Output:
dumfries and galloway


Ex Input:
Context: Blood is a body fluid in humans and other animals that delivers necessary substances such as nutrients and oxygen to the cells and transports metabolic waste products away from those same cells., Oxygen is a chemical element with symbol O and atomic number 8. It is a member of the chalcogen group on the periodic table and is a highly reactive nonmetal and oxidizing agent that readily forms oxides with most elements as well as other compounds. By mass, oxygen is the third-most abundant element in the universe, after hydrogen and helium. At standard temperature and pressure, two atoms of the element bind to form dioxygen, a colorless and odorless diatomic gas with the formula . This is an important part of the atmosphere and diatomic oxygen gas constitutes 20.8% of the Earth's atmosphere. Additionally, as oxides the element makes up almost half of the Earth's crust., Body fluid, bodily fluids or biofluids are liquids originating from inside the bodies of living people. They include fluids that are excreted or secreted from the body, and body water that normally is not., The lungs are the primary organs of respiration in humans and many other animals including a few fish and some snails. In mammals and most other vertebrates, two lungs are located near the backbone on either side of the heart. Their function in the respiratory system is to extract oxygen from the atmosphere and transfer it into the bloodstream, and to release carbon dioxide from the bloodstream into the atmosphere, in a process of gas exchange. Respiration is driven by different muscular systems in different species. Mammals, reptiles and birds use their musculoskeletal systems to support and foster breathing. In early tetrapods, air was driven into the lungs by the pharyngeal muscles via buccal pumping, a mechanism still seen in amphibians. In humans, the primary muscle that drives breathing is the diaphragm. The lungs also provide airflow that makes vocal sounds including human speech possible., The liver is a vital organ of vertebrates and some other animals. In the human, it is located in the upper right quadrant of the abdomen, below the diaphragm. The liver has a wide range of functions, including detoxification of various metabolites, protein synthesis, and the production of biochemicals necessary for digestion., The heart is a muscular organ in humans and other animals, which pumps blood through the blood vessels of the circulatory system. Blood provides the body with oxygen and nutrients, as well as assists in the removal of metabolic wastes. The heart is located between the lungs, in the middle compartment of the chest.
In humans, other mammals, and birds, the heart is divided into four chambers: upper left and right atria; and lower left and right ventricles. Commonly the right atrium and ventricle are referred together as the "right heart" and their left counterparts as the "left heart". Fish in contrast have two chambers, an atrium and a ventricle, while reptiles have three chambers. In a healthy heart blood flows one way through the heart due to heart valves, which prevent backflow. The heart is enclosed in a protective sac, the pericardium, which also contains a small amount of fluid. The wall of the heart is made up of three layers: epicardium, myocardium, and endocardium.
The heart pumps blood with a rhythm determined by a group of pacemaking cells in the sinoatrial node. These generate a current that causes contraction of the heart, traveling through the atrioventricular node and along the conduction system of the heart. The heart receives blood low in oxygen from the systemic circulation, which enters the right atrium from the superior and inferior venae cavae and passes to the right ventricle. From here it is pumped into the pulmonary circulation, through the lungs where it receives oxygen and gives off carbon dioxide. Oxygenated blood then returns to the left atrium, passes through the left ventricle and is pumped out through the aorta to the systemic circulationwhere the oxygen is used and metabolized to carbon dioxide. The heart beats at a resting rate close to 72 beats per minute. Exercise temporarily increases the rate, but lowers resting heart rate in the long term, and is good for heart health.
Cardiovascular diseases (CVD) are the most common cause of death globally as of 2008, accounting for 30% of deaths. Of these more than three quarters are a result of coronary artery disease and stroke. Risk factors include: smoking, being overweight, little exercise, high cholesterol, high blood pressure, and poorly controlled diabetes, among others. Cardiovascular diseases frequently have no symptoms or may cause chest pain or shortness of breath. Diagnosis of heart disease is often done by the taking of a medical history, listening to the heart-sounds with a stethoscope, ECG, and ultrasound. Specialists who focus on diseases of the heart are called cardiologists, although many specialties of medicine may be involved in treatment., A nutrient is a component in foods that an organism uses to survive and grow. Macronutrients provide the bulk energy an organism's metabolic system needs to function while micronutrients provide the necessary cofactors for metabolism to be carried out. Both types of nutrients can be acquired from the environment. Micronutrients are used to build and repair tissues and to regulate body processes while macronutrients are converted to, and used for, energy. Methods of nutrient intake are different for plants and animals. Plants take in nutrients directly from the soil through their roots and from the atmosphere through their leaves. Animals and protists have specialized digestive systems that work to break down macronutrients for energy and utilize micronutrients for both metabolism and anabolism (constructive synthesis) in the body., Metabolic wastes or excretes are substances left over from metabolic processes (such as cellular respiration), which cannot be used by the organism (they are surplus or toxic), and must therefore be excreted. This includes nitrogen compounds, water, CO, phosphates, sulfates, etc. Animals treat these compounds as excretes. Plants have chemical "machinery" which transforms some of them (primarily the nitrogen compounds) into useful substances, and it has been shown by Brian J. Ford that abscissa leaves also carry wastes away from the parent plant. In this way, Ford argues that the shed leaf acts as an "excretory" (an organ carrying away excretory products)., Pulmonary circulation is the portion of the cardiovascular system which carries deoxygenated blood away from the heart , to the lungs , and returns oxygenated ( oxygen - rich ) blood back to the heart . The term pulmonary circulation is readily paired and contrasted with the systemic circulation . A separate system known as the bronchial circulation supplies blood to the tissue of the larger airways of the lung ., Subject: pulmonary circulation, Relation: subclass_of, Options: (A) atmosphere (B) body fluid (C) cellular respiration (D) chemical element (E) circulatory system (F) energy (G) formula (H) function (I) human (J) mass (K) member (L) nitrogen (M) nonmetal (N) number (O) nutrient (P) organ (Q) oxygen (R) parent (S) people (T) plant (U) production (V) protein (W) range (X) soil (Y) symbol (Z) system ([) third (\) water (]) work

Ex Output:

circulatory system