{
  "contentStorage": "postgres",
  "title": "Hagi",
  "description": "Hagi is a city facing the Sea of Japan, located in northern Yamaguchi Prefecture in western Chūgoku region.",
  "url": "/en/places/35-hagi.html",
  "entity": {
    "id": "place_jp_35_hagi",
    "type": "place",
    "title": "Hagi",
    "slug": "35-hagi",
    "aliases": [
      "萩市"
    ],
    "summary": "Hagi is a city facing the Sea of Japan, located in northern Yamaguchi Prefecture in western Chūgoku region.",
    "status": "published",
    "categories": [
      "category-geography"
    ],
    "tags": [],
    "sources": [
      {
        "id": "localgovjp",
        "title": "日本全国地方公共団体一覧 (code4fukui/localgovjp, CC0)",
        "url": "https://code4fukui.github.io/localgovjp/"
      },
      {
        "id": "geonames",
        "title": "GeoNames Japan dataset (JP.txt)",
        "url": "https://download.geonames.org/export/dump/JP.zip"
      },
      {
        "id": "dbpedia-ja",
        "title": "ja.dbpedia（日本語版 DBpedia / Wikidata 映射数据）",
        "url": "https://ja.dbpedia.org/"
      }
    ],
    "createdAt": "2026-11-20T09:55:32+08:00",
    "updatedAt": "2026-11-21T03:18:03+08:00",
    "updatedBy": "user:admin",
    "revision": 9,
    "body": "## Overview\n\nHagi is a city of [[place_japan_country|Japan]] in Chugoku ([[place_japan_pref_yamaguchi|Yamaguchi]]), designated by the local government code 352047[^localgovjp]. The population is about 44,626[^geonames]. It borders [[place_jp_35_abu|Abu]], [[place_jp_35_nagato|Nagato]] and [[place_jp_35_yamaguchi|Yamaguchi]].\n\nHagi is a city facing the Sea of Japan, located in northern Yamaguchi Prefecture in western Chūgoku region.\n\n## Geography\n\nCoordinates: 34.4081°N / 131.3992°E[^geonames]; total area approx. 698.31 km²[^dbpedia-ja].\n\n## Government\n\n- Parent division: [[place_japan_pref_yamaguchi|Yamaguchi]]\n- Local government code: 352047\n- Official website: [www.city.hagi.lg.jp/](https://www.city.hagi.lg.jp/)",
    "url": "/places/35-hagi.html",
    "lang": "en",
    "sourceLang": "zh",
    "availableLangs": [
      "zh",
      "en"
    ],
    "placeKind": "city",
    "coordinates": {
      "latitude": 34.4081,
      "longitude": 131.3992
    },
    "adminArea": "Japan · Yamaguchi"
  },
  "entities": null,
  "relations": [
    {
      "id": "rel_jp_35_hagi_in_japan_pref_yamaguchi",
      "fromId": "place_jp_35_hagi",
      "relationType": "located_in",
      "toId": "place_japan_pref_yamaguchi",
      "sourceRefs": [
        {
          "entityId": "place_jp_35_hagi",
          "sourceId": "localgovjp"
        }
      ],
      "label": "Located in",
      "targetId": "place_japan_pref_yamaguchi",
      "targetTitle": "Yamaguchi",
      "targetUrl": "/en/places/jp-pref-yamaguchi.html",
      "incoming": false
    }
  ],
  "mentions": [
    {
      "fromId": "place_jp_35_abu",
      "fromTitle": "Abu",
      "fromUrl": "/en/places/35-abu.html",
      "fromType": "place"
    },
    {
      "fromId": "place_jp_35_nagato",
      "fromTitle": "Nagato",
      "fromUrl": "/en/places/35-nagato.html",
      "fromType": "place"
    },
    {
      "fromId": "place_jp_35_yamaguchi",
      "fromTitle": "Yamaguchi",
      "fromUrl": "/en/places/35-yamaguchi.html",
      "fromType": "place"
    }
  ],
  "versions": [
    {
      "revision": 9,
      "updatedAt": "2026-11-21T03:18:03+08:00",
      "message": "当前版本",
      "hasSnapshot": true,
      "url": "/en/places/35-hagi/at/9.html"
    }
  ],
  "lang": "en",
  "availableLangs": [
    "zh",
    "en"
  ],
  "infoFields": [
    {
      "key": "place_kind",
      "label": "Place kind",
      "value": "City"
    },
    {
      "key": "admin_area",
      "label": "Admin area",
      "value": "Japan · Yamaguchi"
    },
    {
      "key": "coordinates",
      "label": "Coordinates",
      "value": "34.40810, 131.39920"
    }
  ],
  "relationsTotal": 1,
  "relationCounts": [
    {
      "relationType": "located_in",
      "incoming": false,
      "label": "Located in",
      "total": 1
    }
  ],
  "mentionsTotal": 3
}