Question: How far from the city with the highest cost of living in the nation is Stanford?

full_context: Document 1: San Jose, California: The cost of living in San Jose and the surrounding areas is among the highest in California and the nation, according to 2004 data. Housing costs are the primary reason for the high cost of living, although the costs in all areas tracked by the ACCRA Cost of Living Index are above the national average. Households in the city limits have the highest disposable income of any city in the U.S. with over 500,000 residents.San Jose holds the distinction of being a United States Foreign-Trade Zone. The City received its Foreign Trade Zone grant from the U.S. Federal Government in 1974, making it the 18th foreign-trade zone established in the United States. Under its grant, the City of San Jose is granted jurisdiction to oversee and administer foreign trade in Santa Clara County, Monterey County, San Benito County, Santa Cruz County, and in the southern parts of San Mateo County and Alameda County.San Jose lists many companies with 1,000 employees or more, including the headquarters of Adobe, Altera, Brocade Communications Systems, Cadence Design Systems, Cisco Systems, eBay, Lee's Sandwiches, Lumileds, PayPal, Rosendin Electric, Sanmina-SCI, and Xilinx, as well as major facilities for Becton Dickinson, Ericsson, Hewlett-Packard, Hitachi, IBM, Kaiser Permanente, KLA Tencor, Lockheed Martin, Nippon Sheet Glass, Qualcomm, and AF Media Group. The North American headquarters of Samsung Semiconductor are located in San Jose. Approximately 2000 employees will work at the new Samsung campus which opened in 2015.
Document 2: Stanford University: Most of Stanford University is on an 8,180-acre (12.8 sq mi; 33.1 km2) campus, one of the largest in the United States. It is located on the San Francisco Peninsula, in the northwest part of the Santa Clara Valley (Silicon Valley) approximately 37 miles (60 km) southeast of San Francisco and approximately 20 miles (30 km) northwest of San Jose. In 2008, 60% of this land remained undeveloped.Stanford's main campus includes a census-designated place within unincorporated Santa Clara County, although some of the university land (such as the Stanford Shopping Center and the Stanford Research Park) is within the city limits of Palo Alto. The campus also includes much land in unincorporated San Mateo County (including the SLAC National Accelerator Laboratory and the Jasper Ridge Biological Preserve), as well as in the city limits of Menlo Park (Stanford Hills neighborhood), Woodside, and Portola Valley.
Document 3: San Francisco Bay Area: Home to approximately 7.68 million people, Northern California's nine - county Bay Area contains many cities, towns, airports, and associated regional, state, and national parks, connected by a complex multimodal transportation network. The larger combined statistical area of the region, which includes twelve counties, is the second - largest in California (after the Greater Los Angeles area), the fifth - largest in the United States, and the 41st - largest urban area in the world with 8.75 million people. The Bay Area's population is ethnically diverse: for example, roughly half of the region's residents are Hispanic, Asian, African American, or Pacific Islander, all of whom have a significant presence throughout the region.
Document 4: San Francisco: San Francisco (initials SF) (/ ˌsæn frənˈsɪskoʊ /, Spanish for Saint Francis; Spanish: (san franˈsisko)), officially the City and County of San Francisco, is the cultural, commercial, and financial center of Northern California. The consolidated city - county covers an area of about 47.9 square miles (124 km), mostly at the north end of the San Francisco Peninsula in the San Francisco Bay Area. It is the fourth-most populous city in California, and the 13th-most populous in the United States, with a 2016 census - estimated population of 870,887. The population is projected to reach 1 million by 2033. As of 2016, San Francisco County was the 7th highest - income county in the United States, with a per capita personal income of $110,418.
Document 5: Stanford University: Jasper Ridge Biological Preserve is a 1,200-acre (490 ha) natural reserve south of the central campus owned by the university and used by wildlife biologists for research.
Document 6: Boston: Boston is an intellectual, technological, and political center but has lost some important regional institutions, including the acquisition of The Boston Globe by The New York Times, and the loss to mergers and acquisitions of local financial institutions such as FleetBoston Financial, which was acquired by Charlotte-based Bank of America in 2004. Boston-based department stores Jordan Marsh and Filene's have both been merged into the Cincinnati–based Macy's. Boston has experienced gentrification in the latter half of the 20th century, with housing prices increasing sharply since the 1990s. Living expenses have risen, and Boston has one of the highest costs of living in the United States, and was ranked the 129th most expensive major city in the world in a 2011 survey of 214 cities. Despite cost of living issues, Boston ranks high on livability ratings, ranking 36th worldwide in quality of living in 2011 in a survey of 221 major cities.
Document 7: Yosemite National Park: Yosemite National Park (/ joʊˈsɛmɪtɪ /, yoh - SEM - i - tee) is an American national park located in the western Sierra Nevada of Central California, bounded on the southeast by Sierra National Forest and on the northwest by Stanislaus National Forest. The park, which is managed by the U.S. National Park Service, covers an area of 747,956 acres (1,168.681 sq mi; 302,687 ha; 3,026.87 km) and sits in four counties: centered in Tuolumne and Mariposa, extending north and east to Mono and south to Madera County. Designated a World Heritage Site in 1984, Yosemite is internationally recognized for its granite cliffs, waterfalls, clear streams, giant sequoia groves, lakes, mountains, meadows, glaciers, and biological diversity. Almost 95% of the park is designated wilderness.
Document 8: San Diego: San Diego hosts several major producers of wireless cellular technology. Qualcomm was founded and is headquartered in San Diego, and is one of the largest private-sector employers in San Diego. Other wireless industry manufacturers headquartered here include Nokia, LG Electronics, Kyocera International., Cricket Communications and Novatel Wireless. The largest software company in San Diego is security software company Websense Inc. San Diego also has the U.S. headquarters for the Slovakian security company ESET. San Diego has been designated as an iHub Innovation Center for collaboration potentially between wireless and life sciences.
Document 9: Southern California: Southern California's economy is diverse and one of the largest in the United States. It is dominated and heavily dependent upon abundance of petroleum, as opposed to other regions where automobiles not nearly as dominant, the vast majority of transport runs on this fuel. Southern California is famous for tourism and Hollywood (film, television, and music). Other industries include software, automotive, ports, finance, tourism, biomedical, and regional logistics. The region was a leader in the housing bubble 2001–2007, and has been heavily impacted by the housing crash.
Document 10: San Jose, California: San Jose is home to several colleges and universities. The largest is San Jose State University, which was founded by the California legislature in 1862 as the California State Normal School, and is the founding campus of the California State University (CSU) system. Located in downtown San Jose since 1870, the university enrolls approximately 30,000 students in over 130 different bachelor's and master's degree programs. The school enjoys a good academic reputation, especially in the fields of engineering, business, art and design, and journalism, and consistently ranks among the top public universities in the western region of the United States. San Jose State is one of only three Bay Area schools that fields a Football Bowl Subdivision (FBS) Division I college football team; Stanford University and U.C. Berkeley are the other two.
Document 11: Houston: In 2006, the Houston metropolitan area ranked first in Texas and third in the U.S. within the Category of "Best Places for Business and Careers" by Forbes magazine. Foreign governments have established 92 consular offices in Houston's metropolitan area, the third highest in the nation. Forty foreign governments maintain trade and commercial offices here and 23 active foreign chambers of commerce and trade associations. Twenty-five foreign banks representing 13 nations operate in Houston, providing financial assistance to the international community.
Document 12: Washington University in St. Louis: Over 50% of undergraduate students live on campus. Most of the residence halls on campus are located on the South 40, named because of its adjacent location on the south side of the Danforth Campus and its size of 40 acres (160,000 m2). It is the location of all the freshman buildings as well as several upperclassman buildings, which are set up in the traditional residential college system. All of the residential halls are co-ed. The South 40 is organized as a pedestrian-friendly environment wherein residences surround a central recreational lawn known as the Swamp. Bear's Den (the largest dining hall on campus), the Habif Health and Wellness Center (Student Health Services), the Residential Life Office, University Police Headquarters, various student-owned businesses (e.g. the laundry service, Wash U Wash), and the baseball, softball, and intramural fields are also located on the South 40.
Document 13: Golden Gate Park: Golden Gate Park, located in San Francisco, California, United States, is a large urban park consisting of 1,017 acres (412 ha) of public grounds. It is administered by the San Francisco Recreation & Parks Department, which began in 1871 to oversee the development of Golden Gate Park. Configured as a rectangle, it is similar in shape but 20 percent larger than Central Park in New York, to which it is often compared. It is over three miles (4.8 km) long east to west, and about half a mile (0.8 km) north to south. With 13 million visitors annually, Golden Gate is the fifth most - visited city park in the United States after Central Park in New York City, Lincoln Park in Chicago, and Balboa and Mission Bay Parks in San Diego.
Document 14: San Francisco: San Francisco is located on the West Coast of the United States at the north end of the San Francisco Peninsula and includes significant stretches of the Pacific Ocean and San Francisco Bay within its boundaries. Several picturesque islands—Alcatraz, Treasure Island and the adjacent Yerba Buena Island, and small portions of Alameda Island, Red Rock Island, and Angel Island—are part of the city. Also included are the uninhabited Farallon Islands, offshore in the Pacific Ocean. The mainland within the city limits roughly forms a "seven-by-seven-mile square", a common local colloquialism referring to the city's shape, though its total area, including water, is nearly .
Document 15: Geography of California: California is a U.S. state on the western coast of North America. Covering an area of , California is geographically diverse. The Sierra Nevada, the fertile farmlands of the Central Valley, and the arid Mojave Desert of the south are some of the major geographic features of this U.S. state. It is home to some of the world's most exceptional trees: the tallest (coast redwood), most massive (Giant Sequoia), and oldest (bristlecone pine). It is also home to both the highest (Mount Whitney) and lowest (Death Valley) points in the 48 contiguous states.
ground_truth: 20 miles
sub_queries: According to 2004 data, what city is among the highest cost of living in the nation? Answer: San Jose
How many miles northwest of San Jose is it located? Answer: 20 miles