nc33/multispan_quoref huggingface dataset:
Amos reflects back on his early childhood in then British Mandate of Palestine (now Israel) with his mother Fania and father Arieh. His parents are Eastern European Jews living in Jerusalem, which his mother finds difficult as her sisters and family live in Tel Aviv and communication between them is difficult. Amos, an only child, is particularly close with his mother, who frequently tells him stories based on her childhood that often have unhappy or violent endings.
Amos' parents regularly lend him out to a childless couple they are friends with. On one occasion this couple take him to visit a friend of theirs, a Palestinian Arab. They warn Amos to be quiet and not make much fuss lest he offend their hosts, but while playing with a swing he accidentally injures a child.
On November 29, 1947, Amos' family and others from the neighbourhood gather around a radio in the street to hear the passing of United Nations General Assembly Resolution 181, which adopted a plan to partition Mandatory Palestine into independent Arab and Jewish states. Amos' parents are overwhelmed with joy. Soon afterwards, civil war erupts in Palestine. Amos' father enlists to fight in the 1948 Arab–Israeli War, while Amos and other children are recruited to the war effort. One of his mother's friends is killed while hanging up laundry during the war.
Fania falls into a depression and becomes unable to sleep or eat. Amos and Arieh try their best to hide her depression from their friends and family. After a change in pills Fania abruptly becomes her old more lively self and tries to act normally for her husband and child. A short time later she relapses once more and goes to visit her sisters in Tel Aviv, where she kills herself by overdose.
Amos goes to live on a kibbutz. Reuniting with his father as a teenager, he shows him his new life but admits that despite his attempts at being a strong and healthy farmer he is still a pale and weak intellectual.

Question: What are the names of the people that the childless couple are friends with?
Answer: Fania, Arieh
Amos reflects back on his early childhood in then British Mandate of Palestine (now Israel) with his mother Fania and father Arieh. His parents are Eastern European Jews living in Jerusalem, which his mother finds difficult as her sisters and family live in Tel Aviv and communication between them is difficult. Amos, an only child, is particularly close with his mother, who frequently tells him stories based on her childhood that often have unhappy or violent endings.
Amos' parents regularly lend him out to a childless couple they are friends with. On one occasion this couple take him to visit a friend of theirs, a Palestinian Arab. They warn Amos to be quiet and not make much fuss lest he offend their hosts, but while playing with a swing he accidentally injures a child.
On November 29, 1947, Amos' family and others from the neighbourhood gather around a radio in the street to hear the passing of United Nations General Assembly Resolution 181, which adopted a plan to partition Mandatory Palestine into independent Arab and Jewish states. Amos' parents are overwhelmed with joy. Soon afterwards, civil war erupts in Palestine. Amos' father enlists to fight in the 1948 Arab–Israeli War, while Amos and other children are recruited to the war effort. One of his mother's friends is killed while hanging up laundry during the war.
Fania falls into a depression and becomes unable to sleep or eat. Amos and Arieh try their best to hide her depression from their friends and family. After a change in pills Fania abruptly becomes her old more lively self and tries to act normally for her husband and child. A short time later she relapses once more and goes to visit her sisters in Tel Aviv, where she kills herself by overdose.
Amos goes to live on a kibbutz. Reuniting with his father as a teenager, he shows him his new life but admits that despite his attempts at being a strong and healthy farmer he is still a pale and weak intellectual.

Question: Where does Fania die?
Answer: Tel Aviv
Amos reflects back on his early childhood in then British Mandate of Palestine (now Israel) with his mother Fania and father Arieh. His parents are Eastern European Jews living in Jerusalem, which his mother finds difficult as her sisters and family live in Tel Aviv and communication between them is difficult. Amos, an only child, is particularly close with his mother, who frequently tells him stories based on her childhood that often have unhappy or violent endings.
Amos' parents regularly lend him out to a childless couple they are friends with. On one occasion this couple take him to visit a friend of theirs, a Palestinian Arab. They warn Amos to be quiet and not make much fuss lest he offend their hosts, but while playing with a swing he accidentally injures a child.
On November 29, 1947, Amos' family and others from the neighbourhood gather around a radio in the street to hear the passing of United Nations General Assembly Resolution 181, which adopted a plan to partition Mandatory Palestine into independent Arab and Jewish states. Amos' parents are overwhelmed with joy. Soon afterwards, civil war erupts in Palestine. Amos' father enlists to fight in the 1948 Arab–Israeli War, while Amos and other children are recruited to the war effort. One of his mother's friends is killed while hanging up laundry during the war.
Fania falls into a depression and becomes unable to sleep or eat. Amos and Arieh try their best to hide her depression from their friends and family. After a change in pills Fania abruptly becomes her old more lively self and tries to act normally for her husband and child. A short time later she relapses once more and goes to visit her sisters in Tel Aviv, where she kills herself by overdose.
Amos goes to live on a kibbutz. Reuniting with his father as a teenager, he shows him his new life but admits that despite his attempts at being a strong and healthy farmer he is still a pale and weak intellectual.

Question: How does Arieh's wife die?
Answer: kills herself by overdose
Amos reflects back on his early childhood in then British Mandate of Palestine (now Israel) with his mother Fania and father Arieh. His parents are Eastern European Jews living in Jerusalem, which his mother finds difficult as her sisters and family live in Tel Aviv and communication between them is difficult. Amos, an only child, is particularly close with his mother, who frequently tells him stories based on her childhood that often have unhappy or violent endings.
Amos' parents regularly lend him out to a childless couple they are friends with. On one occasion this couple take him to visit a friend of theirs, a Palestinian Arab. They warn Amos to be quiet and not make much fuss lest he offend their hosts, but while playing with a swing he accidentally injures a child.
On November 29, 1947, Amos' family and others from the neighbourhood gather around a radio in the street to hear the passing of United Nations General Assembly Resolution 181, which adopted a plan to partition Mandatory Palestine into independent Arab and Jewish states. Amos' parents are overwhelmed with joy. Soon afterwards, civil war erupts in Palestine. Amos' father enlists to fight in the 1948 Arab–Israeli War, while Amos and other children are recruited to the war effort. One of his mother's friends is killed while hanging up laundry during the war.
Fania falls into a depression and becomes unable to sleep or eat. Amos and Arieh try their best to hide her depression from their friends and family. After a change in pills Fania abruptly becomes her old more lively self and tries to act normally for her husband and child. A short time later she relapses once more and goes to visit her sisters in Tel Aviv, where she kills herself by overdose.
Amos goes to live on a kibbutz. Reuniting with his father as a teenager, he shows him his new life but admits that despite his attempts at being a strong and healthy farmer he is still a pale and weak intellectual.

Question: What is the name of the conflict that the United Nations General Assembly Resolution 181 leads to?
Answer: the 1948 Arab–Israeli War
Amos reflects back on his early childhood in then British Mandate of Palestine (now Israel) with his mother Fania and father Arieh. His parents are Eastern European Jews living in Jerusalem, which his mother finds difficult as her sisters and family live in Tel Aviv and communication between them is difficult. Amos, an only child, is particularly close with his mother, who frequently tells him stories based on her childhood that often have unhappy or violent endings.
Amos' parents regularly lend him out to a childless couple they are friends with. On one occasion this couple take him to visit a friend of theirs, a Palestinian Arab. They warn Amos to be quiet and not make much fuss lest he offend their hosts, but while playing with a swing he accidentally injures a child.
On November 29, 1947, Amos' family and others from the neighbourhood gather around a radio in the street to hear the passing of United Nations General Assembly Resolution 181, which adopted a plan to partition Mandatory Palestine into independent Arab and Jewish states. Amos' parents are overwhelmed with joy. Soon afterwards, civil war erupts in Palestine. Amos' father enlists to fight in the 1948 Arab–Israeli War, while Amos and other children are recruited to the war effort. One of his mother's friends is killed while hanging up laundry during the war.
Fania falls into a depression and becomes unable to sleep or eat. Amos and Arieh try their best to hide her depression from their friends and family. After a change in pills Fania abruptly becomes her old more lively self and tries to act normally for her husband and child. A short time later she relapses once more and goes to visit her sisters in Tel Aviv, where she kills herself by overdose.
Amos goes to live on a kibbutz. Reuniting with his father as a teenager, he shows him his new life but admits that despite his attempts at being a strong and healthy farmer he is still a pale and weak intellectual.

Question: Who is Fania with before her death?
Answer: her sisters
Enter Nowhere opens with Jody and her boyfriend Kevin robbing a convenience store. Jody holds a gun to the cashier demanding he open the safe.  Cryptically, he tells her that he will do so but doesn't believe she can handle what's inside.  Clearly not amused, she shoots and kills him.
With money in her vest, she jumps in her car and drives only to end up at the cabin which is in the middle of nowhere. She doesn't know how she got there but it is there she meets two other people who arrived in a similar fashion.  Samantha is a quiet reserved woman who is quite unnerved about being lost.
Tom is more vocal and more sarcastic about the situation. Soon, however he like the women becomes frantic over their inability to leave.  They even venture into the woods to escape only to return to the cabin.  Jody makes the observation that it's like Pac-Man. You go out one door only to arrive on the same board. Tom then questions how to get to the next level.
Things become stranger when the three are convinced they are in different states. Odder still they each believe the year is different. When Samantha tells Jody that it is 1962, she has to catch her breath before stating its 1985. Tom comes in and they both run over to ask him what year it is, he answers 2011.

Question: Who drives to a cabin?
Answer: Jody
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: What is the name of the person that supported the scientific innovations while in charge?
Answer: Emperor Taizu
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: Who's forces were able to hold off the forces of the dynasty of Emperor Taizu with aggressive yearly campaigns?
Answer: Liao
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: What ethnic group were reliant on massive amounts of imported goods?
Answer: Khitans
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: What were the two ethnic groups that most impacted the Chinese dynasty's policies?
Answer: Khitans, Tanguts
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: What is the name of the treaty that ended aggressive yearly campaigns in the territory controlled by Emperor Taizu's dynasty?
Answer: Shanyuan Treaty
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: Who did the Song court maintain diplomatic relations with?
Answer: Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, other countries that were also trade partners with Japan
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: Who did the Song Dynasty alternate between warfare and diplomacy with?
Answer: the ethnic Khitans of the Liao dynasty, the Tanguts of the Western Xia
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: What did the Song dynasty use military force to recapture?
Answer: the Sixteen Prefectures
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: What was the name of the treaty that ended northern border clashes between Song forces and Liao forces?
Answer: the Shanyuan Treaty
After usurping the throne of the Later Zhou dynasty, Emperor Taizu of Song (r. 960–976) spent sixteen years conquering the rest of China, reuniting much of the territory that had once belonged to the Han and Tang empires and ending the upheaval of the Five Dynasties and Ten Kingdoms period. In Kaifeng, he established a strong central government over the empire. The establishment of this capital marked the start of the Northern Song period. He ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit (instead of aristocratic or military position) and promoted projects that ensured efficiency in communication throughout the empire. In one such project, cartographers created detailed maps of each province and city that were then collected in a large atlas. Emperor Taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer Zhang Sixun.The Song court maintained diplomatic relations with Chola India, the Fatimid Caliphate of Egypt, Srivijaya, the Kara-Khanid Khanate of Central Asia, the Goryeo kingdom in Korea, and other countries that were also trade partners with Japan. Chinese records even mention an embassy from the ruler of "Fu lin" (拂菻, i.e. the Byzantine Empire), Michael VII Doukas, and its arrival in 1081. However, China's closest neighbouring states had the greatest impact on its domestic and foreign policy. From its inception under Taizu, the Song dynasty alternated between warfare and diplomacy with the ethnic Khitans of the Liao dynasty in the northeast and with the Tanguts of the Western Xia in the northwest. The Song dynasty used military force in an attempt to quell the Liao dynasty and to recapture the Sixteen Prefectures, a territory under Khitan control since 938 that was traditionally considered to be part of China proper (Most parts of today's Beijing and Tianjin). Song forces were repulsed by the Liao forces, who engaged in aggressive yearly campaigns into Northern Song territory until 1005, when the signing of the Shanyuan Treaty ended these northern border clashes. The Song were forced to provide tribute to the Khitans, although this did little damage to the Song economy since the Khitans were economically dependent upon importing massive amounts of goods from the Song. More significantly, the Song state recognized the Liao state as its diplomatic equal. The Song created an extensive defensive forest along the Song-Liao border to thwart potential Khitan cavalry attacks.

Question: Who imported massive amounts of goods from the Song?
Answer: Khitans
Although weakened and pushed south beyond the Huai River, the Southern Song found new ways to bolster its strong economy and defend itself against the Jin dynasty. It had able military officers such as Yue Fei and Han Shizhong. The government sponsored massive shipbuilding and harbor improvement projects, and the construction of beacons and seaport warehouses to support maritime trade abroad, including at the major international seaports, such as Quanzhou, Guangzhou, and Xiamen, that were sustaining China's commerce.To protect and support the multitude of ships sailing for maritime interests into the waters of the East China Sea and Yellow Sea (to Korea and Japan), Southeast Asia, the Indian Ocean, and the Red Sea, it was necessary to establish an official standing navy. The Song dynasty therefore established China's first permanent navy in 1132, with a headquarters at Dinghai. With a permanent navy, the Song were prepared to face the naval forces of the Jin on the Yangtze River in 1161, in the Battle of Tangdao and the Battle of Caishi. During these battles the Song navy employed swift paddle wheel driven naval vessels armed with traction trebuchet catapults aboard the decks that launched gunpowder bombs. Although the Jin forces commanded by Wanyan Liang (the Prince of Hailing) boasted 70,000 men on 600 warships, and the Song forces only 3,000 men on 120 warships, the Song dynasty forces were victorious in both battles due to the destructive power of the bombs and the rapid assaults by paddle wheel ships. The strength of the navy was heavily emphasized after that. A century after the navy was founded it had grown in size to 52,000 fighting marines.
The Song government confiscated portions of land owned by the landed gentry in order to raise revenue for these projects, an act which caused dissension and loss of loyalty amongst leading members of Song society but did not stop the Song's defensive preparations. Financial matters were made worse by the fact that many wealthy, land-owning families—some of which had officials working for the government—used their social connections with those in office in order to obtain tax-exempt status.Although the Song dynasty was able to hold back the Jin, a new foe came to power over the steppe, deserts, and plains north of the Jin dynasty. The Mongols, led by Genghis Khan (r. 1206–1227), initially invaded the Jin dynasty in 1205 and 1209, engaging in large raids across its borders, and in 1211 an enormous Mongol army was assembled to invade the Jin. The Jin dynasty was forced to submit and pay tribute to the Mongols as vassals; when the Jin suddenly moved their capital city from Beijing to Kaifeng, the Mongols saw this as a revolt. Under the leadership of Ögedei Khan (r.1229–1241), both the Jin dynasty and Western Xia dynasty were conquered by Mongol forces. The Mongols also invaded Korea, the Abbasid Caliphate of the Middle East and the Kievan Rus'.

Question: What is the full name of the dynasty that had able military officers such as Yue Fei and Han Shizhong?
Answer: Southern Song
Although weakened and pushed south beyond the Huai River, the Southern Song found new ways to bolster its strong economy and defend itself against the Jin dynasty. It had able military officers such as Yue Fei and Han Shizhong. The government sponsored massive shipbuilding and harbor improvement projects, and the construction of beacons and seaport warehouses to support maritime trade abroad, including at the major international seaports, such as Quanzhou, Guangzhou, and Xiamen, that were sustaining China's commerce.To protect and support the multitude of ships sailing for maritime interests into the waters of the East China Sea and Yellow Sea (to Korea and Japan), Southeast Asia, the Indian Ocean, and the Red Sea, it was necessary to establish an official standing navy. The Song dynasty therefore established China's first permanent navy in 1132, with a headquarters at Dinghai. With a permanent navy, the Song were prepared to face the naval forces of the Jin on the Yangtze River in 1161, in the Battle of Tangdao and the Battle of Caishi. During these battles the Song navy employed swift paddle wheel driven naval vessels armed with traction trebuchet catapults aboard the decks that launched gunpowder bombs. Although the Jin forces commanded by Wanyan Liang (the Prince of Hailing) boasted 70,000 men on 600 warships, and the Song forces only 3,000 men on 120 warships, the Song dynasty forces were victorious in both battles due to the destructive power of the bombs and the rapid assaults by paddle wheel ships. The strength of the navy was heavily emphasized after that. A century after the navy was founded it had grown in size to 52,000 fighting marines.
The Song government confiscated portions of land owned by the landed gentry in order to raise revenue for these projects, an act which caused dissension and loss of loyalty amongst leading members of Song society but did not stop the Song's defensive preparations. Financial matters were made worse by the fact that many wealthy, land-owning families—some of which had officials working for the government—used their social connections with those in office in order to obtain tax-exempt status.Although the Song dynasty was able to hold back the Jin, a new foe came to power over the steppe, deserts, and plains north of the Jin dynasty. The Mongols, led by Genghis Khan (r. 1206–1227), initially invaded the Jin dynasty in 1205 and 1209, engaging in large raids across its borders, and in 1211 an enormous Mongol army was assembled to invade the Jin. The Jin dynasty was forced to submit and pay tribute to the Mongols as vassals; when the Jin suddenly moved their capital city from Beijing to Kaifeng, the Mongols saw this as a revolt. Under the leadership of Ögedei Khan (r.1229–1241), both the Jin dynasty and Western Xia dynasty were conquered by Mongol forces. The Mongols also invaded Korea, the Abbasid Caliphate of the Middle East and the Kievan Rus'.

Question: What is the full name of the dynasty whose government sponsored massive shipbuilding and harbor improvement projects?
Answer: Southern Song
Although weakened and pushed south beyond the Huai River, the Southern Song found new ways to bolster its strong economy and defend itself against the Jin dynasty. It had able military officers such as Yue Fei and Han Shizhong. The government sponsored massive shipbuilding and harbor improvement projects, and the construction of beacons and seaport warehouses to support maritime trade abroad, including at the major international seaports, such as Quanzhou, Guangzhou, and Xiamen, that were sustaining China's commerce.To protect and support the multitude of ships sailing for maritime interests into the waters of the East China Sea and Yellow Sea (to Korea and Japan), Southeast Asia, the Indian Ocean, and the Red Sea, it was necessary to establish an official standing navy. The Song dynasty therefore established China's first permanent navy in 1132, with a headquarters at Dinghai. With a permanent navy, the Song were prepared to face the naval forces of the Jin on the Yangtze River in 1161, in the Battle of Tangdao and the Battle of Caishi. During these battles the Song navy employed swift paddle wheel driven naval vessels armed with traction trebuchet catapults aboard the decks that launched gunpowder bombs. Although the Jin forces commanded by Wanyan Liang (the Prince of Hailing) boasted 70,000 men on 600 warships, and the Song forces only 3,000 men on 120 warships, the Song dynasty forces were victorious in both battles due to the destructive power of the bombs and the rapid assaults by paddle wheel ships. The strength of the navy was heavily emphasized after that. A century after the navy was founded it had grown in size to 52,000 fighting marines.
The Song government confiscated portions of land owned by the landed gentry in order to raise revenue for these projects, an act which caused dissension and loss of loyalty amongst leading members of Song society but did not stop the Song's defensive preparations. Financial matters were made worse by the fact that many wealthy, land-owning families—some of which had officials working for the government—used their social connections with those in office in order to obtain tax-exempt status.Although the Song dynasty was able to hold back the Jin, a new foe came to power over the steppe, deserts, and plains north of the Jin dynasty. The Mongols, led by Genghis Khan (r. 1206–1227), initially invaded the Jin dynasty in 1205 and 1209, engaging in large raids across its borders, and in 1211 an enormous Mongol army was assembled to invade the Jin. The Jin dynasty was forced to submit and pay tribute to the Mongols as vassals; when the Jin suddenly moved their capital city from Beijing to Kaifeng, the Mongols saw this as a revolt. Under the leadership of Ögedei Khan (r.1229–1241), both the Jin dynasty and Western Xia dynasty were conquered by Mongol forces. The Mongols also invaded Korea, the Abbasid Caliphate of the Middle East and the Kievan Rus'.

Question: What is the full name of the dynasty whose government sponsored major international seaports that were sustaining China's commerce?
Answer: Southern Song