Question: What country sent the most legal immigrants to Gotham's filming location from the middle leg of the journey from England to the continent of Sobat River to the Americas?

full_context: Document 1: Sobat River: The Sobat River is a river of the Greater Upper Nile region in northeastern South Sudan, Africa. It is the most southerly of the great eastern tributaries of the White Nile, before the confluence with the Blue Nile.
Document 2: New York City: Ecuador, Colombia, Guyana, Peru, and Brazil were the top source countries from South America for legal immigrants to the New York City region in 2013; the Dominican Republic, Jamaica, Haiti, and Trinidad and Tobago in the Caribbean; Egypt, Ghana, and Nigeria from Africa; and El Salvador, Honduras, and Guatemala in Central America. Amidst a resurgence of Puerto Rican migration to New York City, this population had increased to approximately 1.3 million in the metropolitan area as of 2013.
Document 3: New York City: New York is a prominent location for the American entertainment industry, with many films, television series, books, and other media being set there. As of 2012, New York City was the second largest center for filmmaking and television production in the United States, producing about 200 feature films annually, employing 130,000 individuals, and generating an estimated $7.1 billion in direct expenditures, and by volume, New York is the world leader in independent film production; one-third of all American independent films are produced in New York City. The Association of Independent Commercial Producers is also based in New York. In the first five months of 2014 alone, location filming for television pilots in New York City exceeded the record production levels for all of 2013, with New York surpassing Los Angeles as the top North American city for the same distinction during the 2013/2014 cycle.
Document 4: New York City: Approximately 37% of the city's population is foreign born. In New York, no single country or region of origin dominates. The ten largest sources of foreign-born individuals in the city as of 2011 were the Dominican Republic, China, Mexico, Guyana, Jamaica, Ecuador, Haiti, India, Russia, and Trinidad and Tobago, while the Bangladeshi immigrant population has since become one of the fastest growing in the city, counting over 74,000 by 2013.
Document 5: Triangular trade: Historically the particular routes were also shaped by the powerful influence of winds and currents during the age of sail. For example, from the main trading nations of Western Europe it was much easier to sail westwards after first going south of 30 N latitude and reaching the so - called ``trade winds ''; thus arriving in the Caribbean rather than going straight west to the North American mainland. Returning from North America, it is easiest to follow the Gulf Stream in a northeasterly direction using the westerlies. A similar triangle to this, called the volta do mar was already being used by the Portuguese, before Christopher Columbus' voyage, to sail to the Canary Islands and the Azores. Columbus simply expanded the triangle outwards, and his route became the main way for Europeans to reach, and return from, the Americas.
Document 6: Achwa River: The Achwa River is a river of Uganda in eastern Africa. It flows through the northern central part of the country, draining much of Uganda's northern plateau and northeastern highlands, before crossing the border into South Sudan where it joins the White Nile. In South Sudan it is known as the Aswa River.
Document 7: Nile: The Nile (Arabic: النيل‎, written as al-Nīl; pronounced as an-Nīl) is a major north-flowing river in northeastern Africa, and is the longest river in Africa and the disputed longest river in the world (Brazilian government claims that the Amazon River is longer than the Nile). The Nile, which is about 6,650 km (4,130 mi) long, is an "international" river as its drainage basin covers eleven countries, namely, Tanzania, Uganda, Rwanda, Burundi, the Democratic Republic of the Congo, Kenya, Ethiopia, Eritrea, South Sudan, Republic of the Sudan and Egypt. In particular, the Nile is the primary water source of Egypt and Sudan.The river Nile has two major tributaries, the White Nile and Blue Nile. The White Nile is considered to be the headwaters and primary stream of the Nile itself. The Blue Nile, however, is the source of most of the water and silt. The White Nile is longer and rises in the Great Lakes region of central Africa, with the most distant source still undetermined but located in either Rwanda or Burundi. It flows north through Tanzania, Lake Victoria, Uganda and South Sudan.  The Blue Nile begins at Lake Tana in Ethiopia and flows into Sudan from the southeast. The two rivers meet just north of the Sudanese capital of Khartoum.The northern section of the river flows north almost entirely through the Sudanese desert to Egypt, then ends in a large delta and flows into the Mediterranean Sea. Egyptian civilization and Sudanese kingdoms have depended on the river since ancient times. Most of the population and cities of Egypt lie along those parts of the Nile valley north of Aswan, and nearly all the cultural and historical sites of Ancient Egypt are found along river banks.
Document 8: Muslim world: Advances were made in irrigation and farming, using new technology such as the windmill. Crops such as almonds and citrus fruit were brought to Europe through al-Andalus, and sugar cultivation was gradually adopted by the Europeans. Arab merchants dominated trade in the Indian Ocean until the arrival of the Portuguese in the 16th century. Hormuz was an important center for this trade. There was also a dense network of trade routes in the Mediterranean, along which Muslim countries traded with each other and with European powers such as Venice, Genoa and Catalonia. The Silk Road crossing Central Asia passed through Muslim states between China and Europe.
Document 9: European colonisation of Southeast Asia: The spice trade was made possible by the maritime trade route. In 1498, the Portuguese navigator, Vasco da Gama, sailed round the Cape of Good Hope and opened up a sea route from Europe to India. Bringing home samples of exotic oriental products, da Gama greatly increased European interest in the new trade route and the new trade route quickly facilitated the expansion of trade. Eventually, the Dutch wrestled control of it from the Portuguese in the 17th century, and in the 18th century, the British gained control of it from the Dutch. Nevertheless, the spice route greatly increased trading activities, deepened the economic relations between Europe and Southeast Asia and as a result, more European merchants found their way to Southeast Asia.
Document 10: Gotham (TV series): In February 2014, it was reported that production would begin in New York City in March. Filming for the first season finished on March 24, 2015.
Document 11: Degrassi: Next Class (season 4): This season along with season three were renewed in April 2016. Production on the season officially began a month prior when casting calls for two new leads were released. Filming commenced in May 2016 and finished in August of the same year. The season premiered on July 3, 2017 on Family Channel's' F2N 'teen block, and streamed internationally on Netflix on July 7, 2017. On F2N, it will run for two weeks and use the telenovela format. Ahead of the premiere on F2N, Family Channel released all 10 episodes on June 30, 2017, on the Family Channel App at midnight.
Document 12: Atbarah River: The Atbarah River (; transliterated: Nahr 'Atbarah) in northeast Africa rises in northwest Ethiopia, approximately 50 km north of Lake Tana and 30 km west of Gondar. It flows about 805 km (500 mi) to the Nile in north-central Sudan, joining it at the city of Atbarah (). The river's tributary, the Tekezé (Setit) River, is perhaps the true upper course of the Atbarah, as the Tekezé follows the longer course prior to the confluence of the two rivers (at 14° 10' N, 36° E) in northeastern Sudan. The Atbarah is the last tributary of the Nile before it reaches the Mediterranean.
Document 13: Atlantic slave trade: The Atlantic slave trade or transatlantic slave trade involved the transportation by slave traders of enslaved African people, mainly from Africa to the Americas, and then their sale there. The slave trade used mainly the triangular trade route and its Middle Passage, and existed from the 16th to the 19th centuries. The vast majority of those who were enslaved and transported in the transatlantic slave trade were Africans from central and western Africa, who had been sold by other West Africans to Western European slave traders (with a small number being captured directly by the slave traders in coastal raids), who brought them to the Americas. The South Atlantic and Caribbean economies especially were dependent on the supply of secure labour for the production of commodity crops, making goods and clothing to sell in Europe. This was crucial to those western European countries which, in the late 17th and 18th centuries, were vying with each other to create overseas empires.
Document 14: Dark (TV series): In February 2016, Netflix greenlit the series for a first season consisting of 10 episodes. It was revealed that each episode would be an hour long. Principal photography started on October 18, 2016, in and around Berlin and ended in March 2017. The series was filmed in 4K (Ultra HD) resolution.
Document 15: Mexico City: On the other hand, Mexico City is also home to large communities of expatriates and immigrants, most notably from the rest of North America (U.S. and Canada), from South America (mainly from Argentina and Colombia, but also from Brazil, Chile, Uruguay and Venezuela), from Central America and the Caribbean (mainly from Cuba, Guatemala, El Salvador, Haiti and Honduras); from Europe (mainly from Spain, Germany and Switzerland, but also from Czech Republic, Hungary, France, Italy, Ireland, the Netherlands, Poland and Romania), from the Middle East (mainly from Egypt, Lebanon and Syria); and recently from Asia-Pacific (mainly from China and South Korea). Historically since the era of New Spain, many Filipinos settled in the city and have become integrated in Mexican society. While no official figures have been reported, population estimates of each of these communities are quite significant.
ground_truth: the Dominican Republic
sub_queries: In what continent is Sobat River in? Answer: Africa
the middle leg of the journey from england to Africa to the americas Answer: the Caribbean
where is the tv show gotham filmed at Answer: in New York City
What nation provided the most legal immigrants to in New York City in the #2 ? Answer: the Dominican Republic