Input: Korean War
One facet of the changing attitude toward Korea and whether to get involved was Japan. Especially after the fall of China to the Communists, U.S. East Asian experts saw Japan as the critical counterweight to the Soviet Union and China in the region. While there was no United States policy that dealt with South Korea directly as a national interest, its proximity to Japan increased the importance of South Korea. Said Kim: "The recognition that the security of Japan required a non-hostile Korea led directly to President Truman's decision to intervene... The essential point... is that the American response to the North Korean attack stemmed from considerations of US policy toward Japan."

Why was South Korea important to the US?
Output: US policy toward Japan

Input: Szlachta
After the Union of Horodło the Lithuanian nobility acquired equal status with the Polish szlachta, and over time began to become more and more polonized, although they did preserve their national consciousness, and in most cases recognition of their Lithuanian family roots. In the 16th century some of the Lithuanian nobility claimed that they were of Roman extraction, and the Lithuanian language was just a morphed Latin language. This led to paradox: Polish nobility claimed own ancestry from Sarmatian tribes, but Sarmatians were considered enemies to Romans. Thus new Roman-Sarmatian theory was created. Strong cultural ties with Polish nobility led that in the 16th century the new term to name Lithuanian nobility appeared šlėkta—a direct loanword from Polish szlachta. From the view of historical truth Lithuanians also should use this term, šlėkta (szlachta), to name own nobility, but Lithuanian linguists forbade the usage of this Polish loanword. This refusal to use word szlachta (in Lithuanian text šlėkta) complicates all naming.

What other group had equal status with the lithuanian nobility?
Output: Polish szlachta

Input: Egypt
The permanent headquarters of the Arab League are located in Cairo and the body's secretary general has traditionally been Egyptian. This position is currently held by former foreign minister Nabil el-Araby. The Arab League briefly moved from Egypt to Tunis in 1978 to protest the Egypt-Israel Peace Treaty, but it later returned to Cairo in 1989. Gulf monarchies, including the United Arab Emirates and Saudi Arabia, have pledged billions of dollars to help Egypt overcome its economic difficulties since the July 2013 coup.

Who is the leader of Arab League?
Output: Nabil el-Araby

Input: Dissolution of the Soviet Union
The Baltic Way or Baltic Chain (also Chain of Freedom Estonian: Balti kett, Latvian: Baltijas ceļš, Lithuanian: Baltijos kelias, Russian: Балтийский путь) was a peaceful political demonstration on August 23, 1989. An estimated 2 million people joined hands to form a human chain extending 600 kilometres (370 mi) across Estonia, Latvia and Lithuania, which had been forcibly reincorporated into the Soviet Union in 1944. The colossal demonstration marked the 50th anniversary of the Molotov–Ribbentrop Pact that divided Eastern Europe into spheres of influence and led to the occupation of the Baltic states in 1940.

How long was the chain?
Output:
600 kilometres