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).

Context: The Poltva River ( Ukrainian :  ; Polish : Petew ) is a river in the western Ukrainian Oblast of Lviv and a tributary of the Bug River . The capital of the Lviv Oblast , Lviv , is located on the river . In the 19th century the river was included into the underground sewer system of Lviv ., The Second Polish Republic, also known as the Second Commonwealth of Poland or interwar Poland, refers to the country of Poland between the First and Second World Wars (19181939). Officially known as the Republic of Poland or the Commonwealth of Poland, the Polish state was recreated in 1918, in the aftermath of World War I. When, after several regional conflicts, the borders of the state were fixed in 1922, Poland's neighbours were Czechoslovakia, Germany, the Free City of Danzig, Lithuania, Latvia, Romania and the Soviet Union. It had access to the Baltic Sea via a short strip of coastline either side of the city of Gdynia. Between March and August 1939, Poland also shared a border with the then-Hungarian governorate of Subcarpathia. Despite internal and external pressures, it continued to exist until 1939, when Poland was invaded by Nazi Germany, the Soviet Union and the Slovak Republic, marking the beginning of World War II in Europe. The Second Republic was significantly different in territory to the current Polish state. It included substantially more territory in the east and less in the west., The Bug River (or Western Bug "Zakhidnyy Buh, ") is a major European river which flows through three countries with a total length of ., Lviv (',   ', ; Yiddish: ; Latin: "Leopolis"), the largest city in western Ukraine and the seventh largest city in the country overall, is one of the main cultural centres of Ukraine. Named in honor of the Leo, the eldest son of Rus' King Daniel of Galicia. It was the capital of the Kingdom of GaliciaVolhynia (also called Kingdom of Rus') from 1272 to 1349, when it was conquered by King Casimir III the Great who then became known as the King of Poland and Rus'. From 1434, it was the regional capital of the Ruthenian Voivodeship in the Kingdom of Poland and was known as Lwów. In 1772, after the First partition of Poland, the city became the capital of the Habsburg Kingdom of Galicia and Lodomeria and was renamed to Lemberg. In 1918 in a short time was the capital of the West Ukrainian People's Republic. Between the wars, the city was known again as Lwów and was the centre of the Lwów Voivodeship in the Second Polish Republic. After World War II, it became part of the Soviet Union (Ukrainian SSR) and in 1991 of independent Ukraine. 
Administratively, Lviv serves as the administrative center of Lviv Oblast and has the status of city of oblast significance. Its population is ., Ukraine (tr. ) is a sovereign state in Eastern Europe, bordered by Russia to the east and northeast, Belarus to the northwest, Poland and Slovakia to the west, Hungary, Romania, and Moldova to the southwest, and the Black Sea and Sea of Azov to the south and southeast, respectively. Ukraine is currently in territorial dispute with Russia over the Crimean Peninsula which Russia annexed in 2014 but which Ukraine and most of the international community recognise as Ukrainian. Including Crimea, Ukraine has an area of , making it the largest country entirely within Europe and the 46th largest country in the world. It has a population of about 44.5 million, making it the 32nd most populous country in the world., Subject: poltva river, Relation: mouth_of_the_watercourse, Options: (A) main (B) sea (C) sea of azov (D) western bug
western bug

Context: In the Holy Roman Empire, the collective term free and imperial cities, briefly worded free imperial city ('), was used from the fifteenth century to denote a self-ruling city that enjoyed a certain amount of autonomy and was represented in the Imperial Diet. An imperial city held the status of Imperial immediacy, and as such, was subordinate only to the Holy Roman Emperor, as opposed to a territorial city or town (') which was subordinate to a territorial prince  be it an ecclesiastical lord (prince-bishop, prince-abbot) or a secular prince (duke ('), margrave, count ('), etc.)., Strasbourg (; Alsatian: "Strossburi" ) is the capital and largest city of the Grand Est region of France and is the official seat of the European Parliament. Located close to the border with Germany in the historic region of Alsace, it is the capital of the Bas-Rhin département. In 2013, the city proper had 275,718 inhabitants, the Eurométropole de Strasbourg (Greater Strasbourg) had 475,934 inhabitants, the Arrondissement of Strasbourg had 482,384 inhabitants and Strasbourg's metropolitan area had a population of 773,347 (not counting the section across the border in Germany), making it the ninth largest metro area in France and home to 13% of the Grand Est region's inhabitants. The transnational Eurodistrict Strasbourg-Ortenau had a population of 915,000 inhabitants in 2014., Tobias Stimmer ( 7 April 1539 -- 4 January 1584 ) was a Swiss painter and illustrator . His most famous work is the paintings on the Strasbourg astronomical clock . He died in Strasbourg . He was born in Schaffhausen , and was active in Schaffhausen , Strasbourg and Baden - Baden as a wall and portrait painter . He made a great number of drawings for woodcuts ( Bible scenes , allegories , etc. ) which were published by the printer Sigmund Feyerabend in Frankfurt am Main , and Bernhart Jobin in Strasbourg . Stimmer followed Hans Holbein the Younger , but developed his own mannerism . Among his wall paintings remain the `` House zum Ritter '' in Schaffhausen , although this was actually much restored and changed ., 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., Alsace (; Alsatian: "s Elsass" ; German: "Elsass" ) is a cultural and historical region in eastern France, now located in the administrative region of Grand Est. Alsace is located on France's eastern border and on the west bank of the upper Rhine adjacent to Germany and Switzerland., The Holy Roman Empire was a multi-ethnic complex of territories in central Europe that developed during the Early Middle Ages and continued until its dissolution in 1806. The largest territory of the empire after 962 was the Kingdom of Germany, though it also came to include the Kingdom of Bohemia, the Kingdom of Burgundy, the Kingdom of Italy, and numerous other territories., The Strasbourg astronomical clock is located in the Cathédrale Notre-Dame of Strasbourg, Alsace, France. It is the third clock on that spot and dates from the time of the first French possession of the city (16811870). The first clock had been built in the 14th century, the second in the 16th century, when Strasbourg was a Free imperial city of the Holy Roman Empire. , The European Parliament (EP) is the directly elected parliamentary institution of the European Union (EU). Together with the Council of the European Union (the Council) and the European Commission, it exercises the legislative function of the EU. The Parliament is composed of 751 (previously 766) members, who represent the second largest democratic electorate in the world (after the Parliament of India) and the largest trans-national democratic electorate in the world (375 million eligible voters in 2009)., France, officially the French Republic, is a country with territory in western Europe and several overseas regions and territories. The European, or metropolitan, area of France extends from the Mediterranean Sea to the English Channel and the North Sea, and from the Rhine to the Atlantic Ocean. Overseas France include French Guiana on the South American continent and several island territories in the Atlantic, Pacific and Indian oceans. France spans and had a total population of almost 67 million people as of January 2017. It is a unitary semi-presidential republic with the capital in Paris, the country's largest city and main cultural and commercial centre. Other major urban centres include Marseille, Lyon, Lille, Nice, Toulouse and Bordeaux., Bas-Rhin (Alsatian: "Unterelsàss") is a department in the Grand Est region of France. The name means "Lower Rhine", however, geographically speaking it belongs to the Upper Rhine region. It is the more populous and densely populated of the two departments of the traditional Alsace region, with 1,109,460 inhabitants in 2013. The prefecture and the General Council are based in Strasbourg. The INSEE and Post Code is 67., Subject: tobias stimmer, Relation: country_of_citizenship, Options: (A) american (B) bohemia (C) france (D) french republic (E) germany (F) holy roman empire (G) india (H) italy (I) strasbourg (J) switzerland
switzerland

Context: General information.
Largely a residential area itself, Naniwa-ku is adjacent to and has in recent years blurred into the Namba district, which is south Osaka's transport hub and centre of commerce, entertainment, shopping, and culture., Name.
In Japanese, the city has been called Ky, Miyako, or Ky no Miyako. In the 11th century, the city was renamed Kyoto ("capital city"), after the Chinese word for capital city, '. After the city of Edo was renamed Tokyo (meaning "Eastern Capital") in 1868, and the seat of the Emperor was transferred there, Kyoto was known for a short time as Saiky (meaning "Western Capital")., Some of the most famous images of Osaka, including the Glico Man and the Kani Doraku Crab, are located around the Dtonbori canal in Namba. Namba is also known as an entertainment district, and hosts many of the city's most popular bars, restaurants, nightclubs, arcades, and pachinko parlors. The area is also known for shopping, with the Takashimaya department store (for older styles) and the sprawling underground Namba City shopping mall (for newer styles)., Historically a merchant city, Osaka has also been known as the and served as a center for the rice trade during the Edo period., The station is adjacent to Meitetsu Nagoya Station, the terminal of the Nagoya Railroad, and Kintetsu Nagoya Station, the terminal of the Kintetsu Nagoya Line., As of November 2012, the city has an estimated population of 50,230 and a population density of 263 persons per km². The total area is ., The Yamatoji Line (  Yamatoji - sen ) is the common name of the western portion of the Kansai Main Line . The line is owned and operated by West Japan Railway Company ( JR West ) , and starts at Kamo Station in Kyoto Prefecture and ends at JR Namba Station in Naniwa - ku , Osaka ., The is a railway line in Japan, which connects Nagoya Station with JR Namba Station in Osaka. It is jointly run by the Central Japan Railway Company (JR Central) and West Japan Railway Company (JR West), with the boundary between both companies being located at Kameyama Station in Kameyama, Mie., Honshu had a population of 103 million , mostly concentrated in the coastal lowlands, notably in the Kant plain where 25% of the total population resides in the Greater Tokyo Area. As the historical center of Japanese culture and political power, the island includes several past Japanese capitals, including Kyoto, Nara, and Kamakura. Much of the island's southern shore forms part of the Taiheiy Belt, a megalopolis that spans several of the Japanese islands., The Japan Railways Group, more commonly known as , consists of seven for-profit companies that took over most of the assets and operations of the government-owned Japanese National Railways on April 1, 1987. Most of the liability of the JNR was assumed by the JNR Settlement Corporation., The is the main railway company operating in the Chbu (Nagoya) region of central Japan. It is officially abbreviated in English as JR Central and in Japanese as . Its headquarters are located in the JR Central Towers in Nakamura-ku, Nagoya, Aichi Prefecture., Economy.
Kita-ku, particularly the Umeda area surrounding Osaka Station, is one of the main commercial centers of Osaka. Kita-ku is also a financial administration center, housing the headquarters of the Japan Mint and the Osaka branch of the Bank of Japan., JR Namba is the western terminus of the Kansai Main Line (Yamatoji Line)., History.
Until the Meiji Restoration, the area of Kyoto Prefecture was known as Yamashiro., , also referred to as , is one of the Japan Railways Group (JR Group) companies and operates in western Honshu. It has its headquarters in Kita-ku, Osaka., Subject: yamatoji line, Relation: instance_of, Options: (A) 1 (B) 25 (C) administration (D) april (E) area (F) bars (G) canal (H) capital (I) chinese (J) city (K) company (L) corporation (M) department store (N) district (O) economy (P) emperor (Q) government (R) group (S) headquarters (T) history (U) information (V) line (W) merchant (X) mint (Y) name (Z) november ([) part (\) plain (]) population (^) profit (_) railway company (`) railway line (a) seven (b) shopping mall (c) station (d) store (e) trade
railway line