{
  "contentStorage": "postgres",
  "title": "San Francisco · Relations",
  "description": "San Francisco is a city in the U.S. state of California and a consolidated city-county at the northern tip of the San Francisco Peninsula, between the Pacific Ocean and San Francisco Bay. Its population was 873,965 at the 2020 census. Several ride-hailing and autonomous driving companies are headquartered here or operate here.",
  "url": "/en/places/san-francisco/relation.html",
  "entity": {
    "id": "place_san_francisco",
    "type": "place",
    "title": "San Francisco",
    "slug": "san-francisco",
    "aliases": [
      "San Francisco",
      "SF",
      "City and County of San Francisco"
    ],
    "summary": "San Francisco is a city in the U.S. state of California and a consolidated city-county at the northern tip of the San Francisco Peninsula, between the Pacific Ocean and San Francisco Bay. Its population was 873,965 at the 2020 census. Several ride-hailing and autonomous driving companies are headquartered here or operate here.",
    "status": "published",
    "categories": [
      "category-geography"
    ],
    "tags": [],
    "sources": [
      {
        "id": "s1",
        "title": "San Francisco (English Wikipedia)",
        "url": "https://en.wikipedia.org/wiki/San_Francisco",
        "locator": "信息框：坐标、成立日期、人口、面积；English Wikipedia, accessed 2026-10-31"
      },
      {
        "id": "s2",
        "title": "San Francisco (Chinese Wikipedia)",
        "url": "https://zh.wikipedia.org/wiki/%E6%97%A7%E9%87%91%E5%B1%B1",
        "locator": "信息框与沿革"
      }
    ],
    "createdAt": "2026-11-01T00:20:36+08:00",
    "updatedAt": "2026-11-01T00:20:36+08:00",
    "updatedBy": "user:admin",
    "revision": 4,
    "body": "## Overview\n\nSan Francisco (also known in Chinese as 三藩市) is a city in the U.S. state of California, at the northern tip of the San Francisco Peninsula between the Pacific Ocean and San Francisco Bay. It is one of the few consolidated city-counties in the United States, with the city and the county of San Francisco sharing the same territory.\n\n## Administration and population\n\nSpanish colonists established a presidio and a mission (Presidio of San Francisco and Mission San Francisco de Asís) at the northern tip of the peninsula on 29 June 1776, naming it after St Francis of Assisi. After the Mexican–American War the area became part of the United States in 1848, and the city was incorporated on 15 April 1850. The 2020 United States census recorded a population of 873,965, with an estimate of 826,079 for 2025. The city and county cover about 600.65 km², of which about 121.51 km² is land.\n\n## Transport and mobility companies\n\nSan Francisco is one of the birthplaces of the ride-hailing and autonomous driving industry: both Uber and Lyft are headquartered here, and several autonomous driving companies test and operate vehicles in the city.\n\n## Related entries\n\n[[organization_uber|Uber]], [[organization_lyft|Lyft]], [[organization_waymo|Waymo]], [[organization_cruise|Cruise]]",
    "url": "/places/san-francisco.html",
    "lang": "en",
    "availableLangs": [
      "zh",
      "en"
    ],
    "placeKind": "city",
    "coordinates": {
      "latitude": 37.7775,
      "longitude": -122.41639
    },
    "locationNote": "坐标代表旧金山市中心一带（英文维基百科信息框给出的城市代表点），不代表行政边界",
    "adminArea": "美国加利福尼亚州",
    "established": {
      "year": 1776,
      "month": 6,
      "day": 29,
      "precision": "day",
      "display": "1776年6月29日（建立教会与要塞，1850年4月15日设市）"
    }
  },
  "entities": null,
  "relations": [
    {
      "id": "relation_uber_hq_san_francisco",
      "fromId": "organization_uber",
      "relationType": "headquartered_in",
      "toId": "place_san_francisco",
      "sourceRefs": [
        {
          "entityId": "organization_uber",
          "sourceId": "s1"
        }
      ],
      "label": "Organizations here",
      "targetId": "organization_uber",
      "targetTitle": "Uber",
      "targetUrl": "/en/organizations/uber.html",
      "incoming": true
    },
    {
      "id": "relation_lyft_hq_san_francisco",
      "fromId": "organization_lyft",
      "relationType": "headquartered_in",
      "toId": "place_san_francisco",
      "sourceRefs": [
        {
          "entityId": "organization_lyft",
          "sourceId": "s1"
        }
      ],
      "label": "Organizations here",
      "targetId": "organization_lyft",
      "targetTitle": "Lyft",
      "targetUrl": "/en/organizations/lyft.html",
      "incoming": true
    },
    {
      "id": "relation_cruise_hq_san_francisco",
      "fromId": "organization_cruise",
      "relationType": "headquartered_in",
      "toId": "place_san_francisco",
      "sourceRefs": [
        {
          "entityId": "organization_cruise",
          "sourceId": "s3"
        }
      ],
      "label": "Organizations here",
      "targetId": "organization_cruise",
      "targetTitle": "Cruise",
      "targetUrl": "/en/organizations/cruise.html",
      "incoming": true
    }
  ],
  "mentions": [
    {
      "fromId": "organization_lyft",
      "fromTitle": "Lyft",
      "fromUrl": "/en/organizations/lyft.html",
      "fromType": "organization"
    },
    {
      "fromId": "organization_uber",
      "fromTitle": "Uber",
      "fromUrl": "/en/organizations/uber.html",
      "fromType": "organization"
    },
    {
      "fromId": "organization_waymo",
      "fromTitle": "Waymo",
      "fromUrl": "/en/organizations/waymo.html",
      "fromType": "organization"
    }
  ],
  "relationGroups": [
    {
      "type": "headquartered_in",
      "label": "Organizations here",
      "items": [
        {
          "id": "relation_uber_hq_san_francisco",
          "fromId": "organization_uber",
          "relationType": "headquartered_in",
          "toId": "place_san_francisco",
          "sourceRefs": [
            {
              "entityId": "organization_uber",
              "sourceId": "s1"
            }
          ],
          "label": "Organizations here",
          "targetId": "organization_uber",
          "targetTitle": "Uber",
          "targetUrl": "/en/organizations/uber.html",
          "incoming": true
        },
        {
          "id": "relation_lyft_hq_san_francisco",
          "fromId": "organization_lyft",
          "relationType": "headquartered_in",
          "toId": "place_san_francisco",
          "sourceRefs": [
            {
              "entityId": "organization_lyft",
              "sourceId": "s1"
            }
          ],
          "label": "Organizations here",
          "targetId": "organization_lyft",
          "targetTitle": "Lyft",
          "targetUrl": "/en/organizations/lyft.html",
          "incoming": true
        },
        {
          "id": "relation_cruise_hq_san_francisco",
          "fromId": "organization_cruise",
          "relationType": "headquartered_in",
          "toId": "place_san_francisco",
          "sourceRefs": [
            {
              "entityId": "organization_cruise",
              "sourceId": "s3"
            }
          ],
          "label": "Organizations here",
          "targetId": "organization_cruise",
          "targetTitle": "Cruise",
          "targetUrl": "/en/organizations/cruise.html",
          "incoming": true
        }
      ]
    }
  ],
  "lang": "en",
  "availableLangs": [
    "zh",
    "en"
  ],
  "infoFields": [
    {
      "key": "place_kind",
      "label": "Place kind",
      "value": "City"
    },
    {
      "key": "admin_area",
      "label": "Admin area",
      "value": "美国加利福尼亚州"
    },
    {
      "key": "coordinates",
      "label": "Coordinates",
      "value": "37.77750, -122.41639"
    },
    {
      "key": "established",
      "label": "Established",
      "value": "1776年6月29日（建立教会与要塞，1850年4月15日设市）"
    },
    {
      "key": "location_note",
      "label": "Location note",
      "value": "坐标代表旧金山市中心一带（英文维基百科信息框给出的城市代表点），不代表行政边界"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 50,
    "total": 3,
    "pageCount": 1
  },
  "relationsTotal": 3,
  "mentionsTotal": 3
}