Question: How long is the border with the country where Korolyov lives?

full_context: Document 1: Geography of Russia: Truly alpine terrain appears in the southern mountain ranges. Between the Black and Caspian seas, the Caucasus Mountains rise to impressive heights, forming a boundary between Europe and Asia. One of the peaks, Mount Elbrus, is the highest point in Europe, at 5,642 meters. The geological structure of the Caucasus extends to the northwest as the Crimean and Carpathian Mountains and southeastward into Central Asia as the Tian Shan and Pamirs. The Caucasus Mountains create an imposing natural barrier between Russia and its neighbors to the southwest, Georgia and Azerbaijan.
Document 2: Space Race: In 1953, Korolev was given the go-ahead to develop the R-7 Semyorka rocket, which represented a major advance from the German design. Although some of its components (notably boosters) still resembled the German G-4, the new rocket incorporated staged design, a completely new control system, and a new fuel. It was successfully tested on August 21, 1957 and became the world's first fully operational ICBM the following month. It would later be used to launch the first satellite into space, and derivatives would launch all piloted Soviet spacecraft.
Document 3: Space Race: The Soviet Union duplicated its dual-launch feat with Vostok 5 and Vostok 6 (June 16, 1963). This time they launched the first woman (also the first civilian), Valentina Tereshkova, into space on Vostok 6. Launching a woman was reportedly Korolev's idea, and it was accomplished purely for propaganda value. Tereshkova was one of a small corps of female cosmonauts who were amateur parachutists, but Tereshkova was the only one to fly. The USSR didn't again open its cosmonaut corps to women until 1980, two years after the United States opened its astronaut corps to women.
Document 4: Korolyov, Moscow Oblast: In July 1996, the city was renamed in commemoration of Sergei Korolev, the father of the Soviet/Russian space program, who died in 1966. Since 1997, Korolyov has hosted the International Space Olympics, an annual competition for young people, to promote space related research.
Document 5: Laika (comics): Based on a true story, the graphic novel tells the story of Laika from multiple points of view: from that of the ambitious Sergey Korolyov, Chief Engineer responsible for the launching and construction of Sputnik 2; to that of Yelena Dubrovsky, official trainer of the space-bound dogs; to that of Oleg Gazenko, scientist; and finally from the viewpoint of Laika herself, who had lived as a stray on the streets of Moscow.
Document 6: Moscow: Moscow (/ ˈmɒskoʊ / or / ˈmɒskaʊ /; Russian: Москва́, tr. Moskva, IPA: (mɐˈskva) (listen)) is the capital and most populous city of Russia, with 12.2 million residents within the city limits and 17.1 million within the urban area. Moscow has the status of a Russian federal city.
Document 7: Russia: Russia (/ ˈrʌʃə / (listen); Russian: Росси́я, tr. Rossiya; IPA: (rɐˈsjijə)), also officially known as the Russian Federation (Russian: Российская Федерация, tr. Rossiyskaya Federatsiya; IPA: (rɐˈsijskəjə fjɪdjɪˈratsɨjə)), is a country in Eurasia. At 17,125,200 square kilometres (6,612,100 sq mi), Russia is the largest country in the world by surface area, covering more than one - eighth of the Earth's inhabited land area, and the ninth most populous, with over 144 million people at the end of March 2016. The European western part of the country is much more populated and urbanised than the eastern; about 77% of the population live in European Russia. Russia's capital Moscow is one of the largest cities in the world; other major urban centers include Saint Petersburg, Novosibirsk, Yekaterinburg, Chelyabinsk, Nizhny Novgorod, Ufa, and Kazan.
Document 8: Kazakhstan: It shares borders of 6,846 kilometres (4,254 mi) with Russia, 2,203 kilometres (1,369 mi) with Uzbekistan, 1,533 kilometres (953 mi) with China, 1,051 kilometres (653 mi) with Kyrgyzstan, and 379 kilometres (235 mi) with Turkmenistan. Major cities include Nur-Sultan, Almaty, Karagandy, Shymkent, Atyrau, and Oskemen. It lies between latitudes 40° and 56° N, and longitudes 46° and 88° E. While located primarily in Asia, a small portion of Kazakhstan is also located west of the Urals in Eastern Europe.Kazakhstan's terrain extends west to east from the Caspian Sea to the Altay Mountains and north to south from the plains of Western Siberia to the oases and deserts of Central Asia. The Kazakh Steppe (plain), with an area of around 804,500 square kilometres (310,600 sq mi), occupies one-third of the country and is the world's largest dry steppe region. The steppe is characterised by large areas of grasslands and sandy regions. Major seas, lakes and rivers include the Aral Sea, Lake Balkhash and Lake Zaysan, the Charyn River and gorge and the Ili, Irtysh, Ishim, Ural and Syr Darya rivers.
Document 9: Space Race: Gagarin became a national hero of the Soviet Union and the Eastern Bloc, and a worldwide celebrity. Moscow and other cities in the USSR held mass demonstrations, the scale of which was second only to the World War II Victory Parade of 1945. April 12 was declared Cosmonautics Day in the USSR, and is celebrated today in Russia as one of the official "Commemorative Dates of Russia." In 2011, it was declared the International Day of Human Space Flight by the United Nations.
Document 10: European Russia: European Russia is the western part of Russia that is a part of Eastern Europe. With a population of 110 million people, European Russia has about 77% of Russia's population, but covers less than 25% of Russia's territory. European Russia includes Moscow and Saint Petersburg, the two largest cities in Russia.
Document 11: Moscow: Moscow is situated on the Moskva River in the Central Federal District of European Russia, making it Europe's most populated inland city. The city is well known for its architecture, particularly its historic buildings such as Saint Basil's Cathedral with its brightly coloured domes. With over 40 percent of its territory covered by greenery, it is one of the greenest capitals and major cities in Europe and the world, having the largest forest in an urban area within its borders -- more than any other major city -- even before its expansion in 2012. The city has served as the capital of a progression of states, from the medieval Grand Duchy of Moscow and the subsequent Tsardom of Russia to the Russian Empire to the Soviet Union and the contemporary Russian Federation.
Document 12: Sputnik 2: Sputnik 2 (, , "Satellite 2"), or Prosteyshiy Sputnik 2 (PS-2, , "Elementary Satellite 2") was the second spacecraft launched into Earth orbit, on 3 November 1957, and the first to carry a living animal, a Soviet space dog named Laika. Laika survived for several orbits but died a few hours after the launch.
Document 13: Central Asia: Mentioned five countries of so called ``Central Asia ''region are situated far from the geographical midpoint of Asia in Russian Southern Siberia, the largest country of the`` Central Asia'' region - Kazakhstan - is partially out of Asia in Europe. Central Asia has a population of about 70 million, consisting of five republics: Kazakhstan (pop. 18 million), Kyrgyzstan (6 million), Tajikistan (9 million), Turkmenistan (6 million), and Uzbekistan (31 million). Afghanistan (pop. 35 million), which is a part of South Asia, is also sometimes included in Central Asia, as is Mongolia (pop. 3 million), which is part of East Asia.
Document 14: Kazakhstan: With an area of 2,700,000 square kilometres (1,000,000 sq mi) – equivalent in size to Western Europe – Kazakhstan is the ninth-largest country and largest landlocked country in the world. While it was part of the Soviet Union, Kazakhstan lost some of its territory to China's Xinjiang autonomous region and some to Uzbekistan's Karakalpakstan autonomous republic.
Document 15: Laika: Laika In November 1957, Laika became the first animal launched into Earth orbit, paving the way for human spaceflight during the upcoming years. This photograph shows her in a flight harness. Other name (s) Kudryavka Species Canis lupus familiaris Breed Mongrel, possibly part - husky (or part - Samoyed) and part - terrier Sex Female Laika Лайка c. 1954 Moscow, Soviet Union 3 November 1957 (aged 3) Sputnik 2, in Low Earth orbit Years active 1957 Known for First animal to orbit the Earth Owner Soviet space program Weight 5 kg (11 lb)
ground_truth: 6,846 kilometres
sub_queries: Korolyov >> named after Answer: Sergei Korolev
Sergei Korolev >> residence Answer: Moscow
Moscow is the capital city of which country Answer: Russia
How long is the border with Russia ? Answer: 6,846 kilometres