Question: What nation provided the most legal immigrants to the city that Gotham is filmed in, in the area containing the island with Philipsburg as its capital?

full_context: Document 1: Saint Martin: Saint Martin Native name: Sint Maarten (Dutch) Saint - Martin (French) Nickname: The Friendly Island Geography Location Caribbean Sea Coordinates 18 ° 04 ′ N 63 ° 03 ′ W ﻿ / ﻿ 18.067 ° N 63.050 ° W ﻿ / 18.067; - 63.050 Coordinates: 18 ° 04 ′ N 63 ° 03 ′ W ﻿ / ﻿ 18.067 ° N 63.050 ° W ﻿ / 18.067; - 63.050 Archipelago Leeward Islands, Lesser Antilles, West Indies islands Area 87 km (34 sq mi) Highest elevation 414 m (1,358 ft) Highest point Pic Paradis Administration French Republic (France) Overseas collectivity Saint Martin Capital and largest settlement Marigot (pop. 5,700) Area covered 53 km (20 sq mi; 7001609000000000000 ♠ 60.9%) Kingdom of the Netherlands Constituent country Sint Maarten Capital Philipsburg Largest settlement Lower Prince's Quarter (pop. 8,123) Area covered 34 km (13 sq mi; 7001391000000000000 ♠ 39.1%) Demographics Demonym St. Martiner (French); St. Maartener (Dutch) Population 77,741 (1 January 2009) Pop. density 892 / km (2,310 / sq mi) Ethnic groups Afro - Caribbean, White, Chinese, East Indian, and mixed
Document 2: 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 3: 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.
Document 4: Marigot, Dominica: Marigot is the largest settlement of Saint Andrew Parish in northeastern Dominica. The village has a population of 2,676 people, and is home to a Fisheries Complex as well as the island's main airport. It is the birthplace of local politician Edison James, and cricket umpire Billy Doctrove.
Document 5: New York City: The wider New York City metropolitan area, with over 20 million people, about 50% greater than the second-place Los Angeles metropolitan area in the United States, is also ethnically diverse. The New York region continues to be by far the leading metropolitan gateway for legal immigrants admitted into the United States, substantially exceeding the combined totals of Los Angeles and Miami, the next most popular gateway regions. It is home to the largest Jewish as well as Israeli communities outside Israel, with the Jewish population in the region numbering over 1.5 million in 2012 and including many diverse Jewish sects from around the Middle East and Eastern Europe. The metropolitan area is also home to 20% of the nation's Indian Americans and at least 20 Little India enclaves, as well as 15% of all Korean Americans and four Koreatowns; the largest Asian Indian population in the Western Hemisphere; the largest Russian American, Italian American, and African American populations; the largest Dominican American, Puerto Rican American, and South American and second-largest overall Hispanic population in the United States, numbering 4.8 million; and includes at least 6 established Chinatowns within New York City alone, with the urban agglomeration comprising a population of 779,269 overseas Chinese as of 2013 Census estimates, the largest outside of Asia.
Document 6: Princess Juliana International Airport: Princess Juliana International Airport is the main airport on the Caribbean island of Saint Martin/Sint Maarten. The airport is located on the Dutch side of the island, in the country of Sint Maarten. In 2015, the airport handled 1,829,543 passengers and around 60,000 aircraft movements. The airport serves as a hub for Windward Islands Airways and is the major gateway for the smaller Leeward Islands, including Anguilla, Saba, St. Barthélemy and St. Eustatius. It is named after Queen Juliana, who landed here while still only heir presumptive in 1944, the year after the airport opened. The airport has very low-altitude flyover landing approaches, owing to one end of its runway being extremely close to the shore and Maho Beach. There is also an airport on the French side of the island, in the French Collectivity of Saint Martin, called Aéroport de Grand Case or L'Espérance Airport.
Document 7: Bodden Town (village): Bodden Town, Grand Cayman, is the former capital of the Cayman Islands and centre of the largest district in the Cayman Islands. It is situated on a natural harbour and a coral reef. The first settlement was named after a government leader, William Bodden. Once ravaged by pirates, this village is known for its remains of a wall and cannon. Bodden Town has a population of 10,341 (2010 census). Its top attractions include the Mission House, which features the lifestyle of early Caymanian settlers. Bodden Town is also considered the fastest growing district in the islands in terms of resident population.
Document 8: 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 9: West End Airport: West End Airport is an airport that serves Grand Bahama. While smaller than the other airport on the island located in Freeport, this airport has a paved runway 6,500 in length. This airport was recently re-opened (June 2014) and serves private planes and charters. The runway is the westernmost runway in the entire Bahamian archipelago.
Document 10: 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 11: Philipsburg, Sint Maarten: Philipsburg is the main town and capital of the country of Sint Maarten. The town is situated on a narrow stretch of land between Great Bay and the Great Salt Pond. It functions as the commercial center of Saint Martin island, whereof Sint Maarten encompasses the southern half. , it has 1,327 inhabitants.
Document 12: Mohammed V International Airport: Mohammed V International Airport (; , ; Berber: ⴰⵣⴰⴳⵯⵣ ⴰⴳⵔⵖⵍⴰⵏ ⵎⵓⵃⵎⵎⴷ ⵡⵙ5; ) is an international airport serving Casablanca, Morocco. Located in Nouaceur Province, it is operated by ONDA (). With just under 8 million passengers passing through the airport in 2014, it was the busiest airport in Morocco and the fourth busiest in Africa. In August 2014, ONDA reported a year-on-year increase of 7.28% passenger traffic, to 918,238. The airport serves as hub for Royal Air Maroc, Jetairfly, Air Arabia Maroc and RAM Express. It is named after King Mohammed V of Morocco.
Document 13: 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 14: 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 15: Lynden Pindling International Airport: Lynden Pindling International Airport (IATA: NAS, ICAO: MYNN), formerly known as Nassau International Airport (1957 - 2006), is the largest airport in the Bahamas and the largest international gateway into the country. It is a major hub for Bahamasair and is located in western New Providence island near the capital city of Nassau.
ground_truth: the Dominican Republic
sub_queries: Philipsburg >> capital of Answer: Saint Martin
Saint Martin (French part) >> located on terrain feature Answer: 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