In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Example Input: Context: The German Labour Front (DAF) was the National Socialist trade union organization which replaced the various independent trade unions of the Weimar Republic after Adolf Hitler's rise to power. After the Nazi-organized 1933 May Day labor celebrations, the Third Reich not only nationalized all trade unions, but decreed union membership as a mandatory duty, forcing every worker to join the state-operated union., Kraft durch Freude (German for Strength through Joy, abbreviated KdF) was a large state-operated leisure organization in Nazi Germany. It was a part of the German Labour Front (Deutsche Arbeitsfront, DAF), the national German labour organization at that time. Set up as a tool to promote the advantages of National Socialism to the people, it soon became the world's largest tourism operator of the 1930s., Weimar Republic is an unofficial, historical designation for the German state between 1919 and 1933. The name derives from the city of Weimar, where its constitutional assembly first took place. The official name of the state was still "Deutsches Reich"; it had remained unchanged since 1871. In English the country was usually known simply as Germany.
A national assembly was convened in Weimar, where a new constitution for the "Deutsches Reich" was written, and adopted on 11 August 1919. In its fourteen years, the Weimar Republic faced numerous problems, including hyperinflation, political extremism (with paramilitaries  both left- and right-wing); and contentious relationships with the victors of the First World War. The people of Germany blamed the Weimar Republic rather than their wartime leaders for the country's defeat and for the humiliating terms of the Treaty of Versailles. However, the Weimar Republic government successfully reformed the currency, unified tax policies, and organized the railway system. Weimar Germany eliminated most of the requirements of the Treaty of Versailles; it never completely met its disarmament requirements, and eventually paid only a small portion of the war reparations (by twice restructuring its debt through the Dawes Plan and the Young Plan). Under the Locarno Treaties, Germany accepted the western borders of the republic, but continued to dispute the Eastern border., The Beauty of Labour ( Schönheit der Arbeit ) was a propaganda organisation of the Nazi government from the period 1934 to its eventual disbandment in 1945 . Initially a propaganda machine , the SdA worked bilaterally with its counterpart organisation Strength Through Joy ( KdF ) to achieve an overall appeasement of the general population . The Beauty of Labour was one of the many areas that made up the Nazi labour union , the Deutsche Arbeitsfront ( DAF or `` German Labour Front '' ) . Campaigns such as the Fight against Noise and Good ventilation in the workplace gave the Hitler - led government the ability to stimulate productivity within the workplace whilst simultaneously installing a sense of community and greater cordiality between the totalitarian dictatorship and the German population . The concept was initially a response to the appeasement needs of Adolf Hitler , after successive restrictions on personal freedoms within the Third Reich , including the formation of the DAF ., Nazi Germany is the common English name for the period in German history from 1933 to 1945, when Germany was governed by a dictatorship under the control of Adolf Hitler and the Nazi Party (NSDAP). Under Hitler's rule, Germany was transformed into a fascist state in which the Nazi Party took totalitarian control over nearly all aspects of life. The official name of the state was "Deutsches Reich" from 1933 to 1943 and "Großdeutsches Reich" ("Greater German Reich") from 1943 to 1945. The period is also known under the names the Third Reich and the National Socialist Period (abbreviated as "NS-Zeit"). The Nazi regime came to an end after the Allied Powers defeated Germany in May 1945, ending World War II in Europe., Subject: beauty of labour, Relation: inception, Options: (A) 1871 (B) 1919 (C) 1933 (D) 1945
Example Output: 1933

Example Input: Context: The (Spanish and Portuguese for the "reconquest") is the period of history of the Iberian Peninsula spanning approximately 770 years between the Islamic conquest of Hispania in 710 and the fall of the last Islamic state in Iberia at Granada to the expanding Christian kingdoms in 1492. The " ended just before the European discovery of the Americasthe "New World"which ushered in the era of the Portuguese and Spanish colonial empires., Al-Andalus (trans.   Berber: "Andalus"), also known as Muslim Spain or Islamic Iberia, was a medieval Muslim territory and cultural domain occupying at its peak most of what are today Spain and Portugal. At its greatest geographical extent in the eighth century, southern FranceSeptimaniawas briefly under its control. The name more generally describes parts of the Iberian Peninsula governed by Muslims (given the generic name of Moors) at various times between 711 and 1492, though the boundaries changed constantly as the Christian Reconquista progressed., Spain, officially the Kingdom of Spain, is a sovereign state largely located on the Iberian Peninsula in southwestern Europe, with two large archipelagos, the Balearic Islands in the Mediterranean Sea and the Canary Islands off the North African Atlantic coast, two cities Ceuta and Melilla in the North African mainland and several small islands in the Alboran Sea near the Moroccan coast. Its mainland is bordered to the south and east by the Mediterranean Sea except for a small land boundary with Gibraltar; to the north and northeast by France, Andorra, and the Bay of Biscay; and to the west and northwest by Portugal and the Atlantic Ocean. It is the only European country to have a border with an African country (Morocco) and its African territory accounts for nearly 5% of its population, mostly in the Canary Islands but also in Ceuta and Melilla., A Muslim is someone who follows or practises Islam, a monotheistic Abrahamic religion. Muslims consider the Quran (Koran), their holy book, to be the verbatim word of God as revealed to the Islamic prophet and messenger Muhammad. They also follow the teachings and practices of Muhammad ("sunnah ") as recorded in traditional accounts ("hadith"). "Muslim" is an Arabic word meaning "one who submits (to God)"., Ibn al - Abbar , in full Abu Abd Allah Muhammad Ibn al - Abbar ( 1199 -- 1260 ) was a well - known poet , diplomat , theologian and scholar from al - Andalus and perhaps the most famous man of letters produced by the city of Valencia during the Middle Ages . Ibn al - Abbar was born in Valencia , and began his official career as a secretary to the Muslim governor of the Emirate of Balansiya . Well - known is the qasida which he wrote as ambassador of the Hafsid governor of Valencia to the Tunisian sultan asking for help against the forces of king James and the elegy he wrote after the fall of the city ( September 1238 ) . He then settled in Tunisia . Later he fell in disgrace and was burnt at the stake because of his writings . He died in Béjaïa . His works that remain ( La Tunica recamada and Complemento al libro del regalo ) are of great importance for the understanding of the history and the culture of his period ., Portugal (Portuguese: ), officially the Portuguese Republic (Portuguese: ), is a country on the Iberian Peninsula in Southwestern Europe. It is the westernmost country of mainland Europe. To the west and south it is bordered by the Atlantic Ocean and to the east and north by Spain. The PortugalSpain border is long and considered the longest uninterrupted border within the European Union. The republic also includes the Atlantic archipelagos of the Azores and Madeira, both autonomous regions with their own regional governments., The Iberian Peninsula , also known as Iberia , is located in the southwest corner of Europe. The peninsula is principally divided between Portugal and Spain, comprising most of their territory. It also includes Andorra and a small part of France along the peninsula's northeastern edge, as well as Gibraltar on its south coast, a small peninsula which forms an overseas territory of the United Kingdom. With an area of approximately , it is the second largest European peninsula, after the Scandinavian., Septimania (  ) was the western region of the Roman province of Gallia Narbonensis that passed under the control of the Visigoths in 462, when Septimania was ceded to their king, Theodoric II. Under the Visigoths it was known as simply Gallia or Narbonensis. It corresponded roughly with the modern French region of Languedoc-Roussillon. It passed briefly to the Emirate of Córdoba in the eighth century before its conquest by the Franks, who by the end of the ninth century termed it Gothia or the Gothic March ("Marca Gothica")., Subject: ibn al-abbar, Relation: languages_spoken_or_written, Options: (A) arabic (B) french (C) portugal (D) portuguese (E) spain (F) spanish
Example Output: arabic

Example Input: Context: Hartwig Altenmüller (born 1938, in Saulgau, Württemberg, Germany) is a German Egyptologist. He became professor at the Archaeological Institute of the University of Hamburg in 1971. He worked as an archaeologist in Saqqara from 1969 to 1982, and then the Valley of the Kings (where he worked on KV13, KV14 and KV47) from 1984 to 1998, retiring in 2003., Saqqara, also spelled Sakkara or Saccara in English , is a vast, ancient burial ground in Egypt, serving as the necropolis for the Ancient Egyptian capital, Memphis. Saqqara features numerous pyramids, including the world-famous Step pyramid of Djoser, sometimes referred to as the Step Tomb due to its rectangular base, as well as a number of mastabas (Arabic word meaning 'bench'). Located some south of modern-day Cairo, Saqqara covers an area of around ., Tomb KV13, located in the Valley of the Kings in Egypt, was cut and decorated for the burial of the noble Bay of the Nineteenth Dynasty. An ostraca published in the French Egyptological journal BIFAO in 2000 records that Chancellor Bay was executed by pharaoh Siptah. Consequently, Bay was never buried in his tomb. Moreover, no funerary goods were found in the tomb belonging to Bay. It was later reused by Amenherkhepshef and Mentuherkhepsef of the Twentieth Dynasty., Akhenre Setepenre Siptah or Merenptah Siptah was the penultimate ruler of the Nineteenth Dynasty of Egypt. His father's identity is currently unknown. Both Seti II and Amenmesse have been suggested although the fact that that Siptah later changed his royal name or nomen to Merneptah Siptah after his Year 2 suggests rather than his father was Merneptah. If correct, this would make Siptah and Seti II half-brothers since both of them were sons of Merneptah. , Tomb KV47, located in the Valley of the Kings in Egypt, was used for the burial of Pharaoh Siptah of the Nineteenth Dynasty, though Siptah's mummy was found in KV35. KV47 was discovered on December 18, 1905 by Edward R. Ayrton. Theodore M. Davis, Ayrton's sponsor, published an account of the site's discovery and excavation in 1908., 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., Tomb KV14 is a joint tomb , used originally by Twosret and then reused and extended by Setnakhte . It has been open since antiquity , but was not properly recorded until Hartwig Altenmüller excavated it from 1983 to 1987 . Located in the main body of the Valley of the Kings , it has two burial chambers , the later extensions making the tomb one of the largest of the Royal Tombs , at over 112 metres . The original decoration showing the female Twosret was replaced with those of the male Setnakhte . Even later , the name of Setnakte was replaced by those of Seti II., Usimare Ramesses III (also written Ramses and Rameses) was the second Pharaoh of the Twentieth Dynasty and is considered to be the last New Kingdom king to wield any substantial authority over Egypt. His long reign saw the decline of Egyptian political and economic power, linked to a series of invasions and internal economic problems., The Valley of the Kings, the "Valley of the Gates of the Kings", is a valley in Egypt where, for a period of nearly 500 years from the 16th to 11th century BC, tombs were constructed for the Pharaohs and powerful nobles of the New Kingdom (the Eighteenth to the Twentieth Dynasties of Ancient Egypt)., The University of Hamburg is a comprehensive university in Hamburg, Germany. It was founded on 28 March 1919, having grown out of the previous "General lecture system (Allgemeines Vorlesungswesen)" and the "Colonial Institute of Hamburg (Hamburgisches Kolonialinstitut)" as well as the "Akademic Gymnasium". In spite of its relatively short history, six Nobel Prize Winners and serials of scholars are affiliated to the university. University of Hamburg is the biggest research and education institution in Northern Germany and one of the most extensive universities in Germany. The main campus is located in the central district of Rotherbaum, with affiliated institutes and research centres spread around the city state., Userkhaure-setepenre Setnakhte (or Setnakht, Sethnakht) was the first pharaoh (1189 BC1186 BC) of the Twentieth Dynasty of the New Kingdom of Egypt and the father of Ramesses III., Twosret ("Tawosret, Tausret", d. 1189 BC conventional chronology) was the last known ruler and the final Pharaoh of the Nineteenth Dynasty of Egypt. 
She is recorded in Manetho's Epitome as a certain "Thuoris, who in Homer is called Polybus, husband of Alcandara, and in whose time Troy was taken". She was said to have ruled Egypt for seven years, but this figure included the nearly six-year reign of Siptah, her predecessor. Twosret simply assumed Siptah's regnal years as her own. While her sole independent reign would have lasted for perhaps one to one-and a half full years from 1191 to 1189 BC, this number now appears more likely to be two full years instead, possibly longer. Excavation work by the University of Arizona Egyptian Expedition on her memorial temple ("temple of millions of years") at Gournah strongly suggests that it was completed and functional during her reign and that Twosret started a regnal year 9, which means that she had two and possibly three independent years of rule, once one deducts the nearly six-year reign of Siptah. Her royal name, Sitre Meryamun, means "Daughter of Re, beloved of Amun.", Germany, officially the Federal Republic of Germany, is a federal parliamentary republic in central-western Europe. It includes 16 constituent states, covers an area of , and has a largely temperate seasonal climate. With about 82 million inhabitants, Germany is the most populous member state of the European Union. After the United States, it is the second most popular immigration destination in the world. Germany's capital and largest metropolis is Berlin. Other major cities include Hamburg, Munich, Cologne, Frankfurt, Stuttgart and Düsseldorf., 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., The New Kingdom of Egypt, also referred to as the Egyptian Empire, is the period in ancient Egyptian history between the 16th century BC and the 11th century BC, covering the Eighteenth, Nineteenth, and Twentieth Dynasties of Egypt. Radiocarbon dating places the exact beginning of the New Kingdom between 15701544 BC.
The New Kingdom followed the Second Intermediate Period and was succeeded by the Third Intermediate Period. It was Egypts most prosperous time and marked the peak of its power., Subject: kv14, Relation: country, Options: (A) egypt (B) germany (C) united states (D) world (E) württemberg
Example Output:
egypt