Question: How long is the US border with the country that borders the state where Finding Dory takes place?

full_context: Document 1: History of Texas (1845–1860): When Texas was annexed, Mexico broke diplomatic relations with the United States. The annexation bill did not specifically define the boundaries of Texas. The former republic claimed the Rio Grande as its southern border, while Mexican authorities had always considered the Nueces River, situated further north, to be the boundary of Mexican Texas. The United States sent John Slidell to negotiate with the Mexican government, offering $25 million ($707,115,385 today) to set the Texas border at the Rio Grande and to purchase Mexico's provinces of Alta California and Santa Fe de Nuevo México. Popular sentiment in Mexico was against any sale, and the army deposed President José Joaquín de Herrera when he appeared inclined to negotiate with Slidell.
Document 2: Canada–United States border: The Canada -- United States border (French: Frontière entre le Canada et les États - Unis), officially known as the International Boundary, is the longest international border in the world between two countries. It is shared between Canada and the United States, the second - and fourth - largest countries by area, respectively. The terrestrial boundary (including portions of maritime boundaries in the Great Lakes, and on the Atlantic, Pacific, and Arctic coasts) is 8,891 kilometres (5,525 mi) long, of which 2,475 kilometres (1,538 mi) is Canada's border with Alaska. Eight Canadian provinces and territories (Yukon, British Columbia, Alberta, Saskatchewan, Manitoba, Ontario, Quebec, and New Brunswick), and thirteen U.S. states (Alaska, Washington, Idaho, Montana, North Dakota, Minnesota, Michigan, Ohio, Pennsylvania, New York, Vermont, New Hampshire, and Maine) are located along the border.
Document 3: Mexico–United States border: The total length of the continental border is 1,954 miles (3,145 km). From the Gulf of Mexico, it follows the course of the Rio Grande (Río Bravo del Norte) to the border crossing at Ciudad Juárez, Chihuahua, and El Paso, Texas. Westward from El Paso -- Juárez, it crosses vast tracts of the Chihuahuan and Sonoran deserts to the Colorado River Delta and San Diego -- Tijuana, before reaching the Pacific Ocean.
Document 4: Texas: Texas (/ ˈtɛksəs /, locally / ˈtɛksəz /; Spanish: Texas or Tejas, pronounced (ˈtexas)) is the second largest state in the United States by both area and population. Geographically located in the South Central region of the country, Texas shares borders with the U.S. states of Louisiana to the east, Arkansas to the northeast, Oklahoma to the north, New Mexico to the west, and the Mexican states of Chihuahua, Coahuila, Nuevo León, and Tamaulipas to the southwest, while the Gulf of Mexico is to the southeast.
Document 5: Finding Dory: Ellen DeGeneres as Dory, a regal blue tang, who suffers from short - term memory loss. Sloane Murray as young Dory. Murray is the seven - year - old daughter of producer Lindsey Collins. Lucia Geddes as teen Dory.
Document 6: Mexico: Mexico (Spanish: México [ˈmexiko] (listen); Nahuatl languages: Mēxihco), officially the United Mexican States (Spanish: Estados Unidos Mexicanos [esˈtaðos uˈniðoz mexiˈkanos] (listen)), is a country in the southern portion of North America. It is bordered to the north by the United States; to the south and west by the Pacific Ocean; to the southeast by Guatemala, Belize, and the Caribbean Sea; and to the east by the Gulf of Mexico. Covering almost 2,000,000 square kilometers (770,000 sq mi), the nation is the fifth largest country in the Americas by total area and the 13th largest independent state in the world. With an estimated population of over 120 million people, the country is the tenth most populous state and the most populous Spanish-speaking state in the world, while being the second most populous nation in Latin America after Brazil. Mexico is a federation comprising 31 states and Mexico City, a special federal entity that is also the capital city and its most populous city. Other metropolises in the state include Guadalajara, Monterrey, Puebla, Toluca, Tijuana and León.
Document 7: Canada–United States border: The Canada -- United States border (French: Frontière entre le Canada et les États - Unis), officially known as the International Boundary (French: Frontière internationale), is the longest international border in the world between two countries. It is shared between Canada and the United States, the second - and fourth - largest countries by area, respectively. The terrestrial boundary (including portions of maritime boundaries in the Great Lakes, and on the Atlantic, Pacific, and Arctic coasts) is 8,891 kilometres (5,525 mi) long, of which 2,475 kilometres (1,538 mi) is Canada's border with Alaska. Eight Canadian provinces and territories (Yukon, British Columbia, Alberta, Saskatchewan, Manitoba, Ontario, Quebec, and New Brunswick), and thirteen U.S. states (Alaska, Washington, Idaho, Montana, North Dakota, Minnesota, Michigan, Ohio, Pennsylvania, New York, Vermont, New Hampshire, and Maine) are located along the border.
Document 8: Finding Dory: Marlin and Nemo attempt to rescue Dory. With the help of two California sea lions named Fluke and Rudder and a disfigured common loon named Becky, they manage to get into the institute and find her in the pipe system. Other blue tangs tell them that Dory's parents escaped from the institute a long time ago to search for her and never came back, leaving Dory believing that they have died. Hank retrieves Dory from the tank, accidentally leaving Marlin and Nemo behind. He is then apprehended by one of the employees and unintentionally drops Dory into the drain, flushing her out to the ocean. While wandering aimlessly, she comes across a trail of shells; remembering that when she was young, her parents had set out a similar trail to help her find her way back home, she follows it. At the end of the trail, Dory finds an empty brain coral with multiple shell trails leading to it. As she turns to leave, she sees her parents Jenny and Charlie in the distance. They tell her they spent years laying down the trails for her to follow in the hopes that she would eventually find them.
Document 9: Finding Nemo: Finding Nemo is a 2003 American computer - animated family film family comedy produced by Pixar Animation Studios and released by Walt Disney Pictures. Written and directed by Andrew Stanton with co-direction by Lee Unkrich, the film stars the voices of Albert Brooks, Ellen DeGeneres, Alexander Gould, and Willem Dafoe. It tells the story of the overprotective ocellaris clownfish named Marlin who, along with a regal blue tang named Dory, searches for his abducted son Nemo all the way to Sydney Harbour. Along the way, Marlin learns to take risks and comes to terms with Nemo taking care of himself.
Document 10: San Diego: The city shares a 15-mile (24 km) border with Mexico that includes two border crossings. San Diego hosts the busiest international border crossing in the world, in the San Ysidro neighborhood at the San Ysidro Port of Entry. A second, primarily commercial border crossing operates in the Otay Mesa area; it is the largest commercial crossing on the California-Baja California border and handles the third-highest volume of trucks and dollar value of trade among all United States-Mexico land crossings.
Document 11: Finding Dory: Ellen DeGeneres as Dory, a regal blue tang who suffers from short - term memory loss. Sloane Murray as Young Dory. Murray is the seven - year - old daughter of producer Lindsey Collins. Lucia Geddes as Teen Dory.
Document 12: Southern California: To the east is the Colorado Desert and the Colorado River at the border with Arizona, and the Mojave Desert at the border with the state of Nevada. To the south is the Mexico–United States border.
Document 13: Mexico–United States border: The total length of the continental border is 3,201 kilometers (1,989 mi). From the Gulf of Mexico, it follows the course of the Rio Grande (Río Bravo del Norte) to the border crossing at Ciudad Juárez, Chihuahua and El Paso, Texas. Westward from El Paso -- Juárez, it crosses vast tracts of the Chihuahuan and Sonoran deserts to the Colorado River Delta and San Diego -- Tijuana, before reaching the Pacific Ocean.
Document 14: Finding Dory: One year later, Dory is living with Marlin and Nemo on their reef. One day, Dory has a flashback and remembers that she has parents. She decides to look for them, but her memory problem is an obstacle. She eventually remembers that they lived at the Jewel of Morro Bay across the ocean in California, thanks to Nemo mentioning its name.
Document 15: Mexico–United States border: Among the U.S. states, Texas has the longest stretch of the border with Mexico, while California has the shortest. Among the states in Mexico, Chihuahua has the longest border with the United States, while Nuevo León has the shortest.
ground_truth: 1,989 mi
sub_queries: where is finding dory supposed to take place Answer: in California
the country of shares a border with in California Answer: Mexico
how long is the us border with Mexico Answer: 1,989 mi