{
  "contentStorage": "postgres",
  "title": "Barnstable County · Relations",
  "description": "Barnstable County is a county of Massachusetts, United States.",
  "url": "/en/places/ma-barnstable-county/relation-2.html",
  "entity": {
    "id": "place_us_ma_barnstable_county",
    "type": "place",
    "title": "Barnstable County",
    "slug": "ma-barnstable-county",
    "summary": "Barnstable County is a county of Massachusetts, United States.",
    "status": "published",
    "categories": [
      "category-geography"
    ],
    "tags": [],
    "sources": [
      {
        "id": "geonames",
        "title": "GeoNames US dataset (US.txt / admin2Codes.txt)",
        "url": "https://download.geonames.org/export/dump/US.zip"
      }
    ],
    "createdAt": "2026-10-29T10:32:35+08:00",
    "updatedAt": "2026-10-29T10:32:35+08:00",
    "updatedBy": "user:admin",
    "revision": 2,
    "body": "## Overview\n\nBarnstable County is a county of [[place_us_ma|Massachusetts]], United States (FIPS ma001), with a population of about 215,888[^geonames].\n\n## Geography\n\n- Coordinates: 41.6842, -70.2741\n- Time zone: America/New_York",
    "url": "/places/ma-barnstable-county.html",
    "lang": "en",
    "availableLangs": [
      "zh",
      "en"
    ],
    "placeKind": "county",
    "coordinates": {
      "latitude": 41.68419,
      "longitude": -70.27405
    },
    "adminArea": "United States · Massachusetts · Barnstable County"
  },
  "entities": null,
  "relations": [
    {
      "id": "rel_us_city_4956338",
      "fromId": "place_us_ma_yarmouth_port",
      "relationType": "located_in",
      "toId": "place_us_ma_barnstable_county",
      "sourceRefs": [
        {
          "entityId": "place_us_ma_yarmouth_port",
          "sourceId": "geonames"
        }
      ],
      "label": "Contains places",
      "targetId": "place_us_ma_yarmouth_port",
      "targetTitle": "Yarmouth Port",
      "targetUrl": "/en/places/ma-yarmouth-port.html",
      "incoming": true
    },
    {
      "id": "rel_us_city_7257575",
      "fromId": "place_us_ma_harwich_center",
      "relationType": "located_in",
      "toId": "place_us_ma_barnstable_county",
      "sourceRefs": [
        {
          "entityId": "place_us_ma_harwich_center",
          "sourceId": "geonames"
        }
      ],
      "label": "Contains places",
      "targetId": "place_us_ma_harwich_center",
      "targetTitle": "Harwich Center",
      "targetUrl": "/en/places/ma-harwich-center.html",
      "incoming": true
    },
    {
      "id": "rel_us_city_7257737",
      "fromId": "place_us_ma_northwest_harwich",
      "relationType": "located_in",
      "toId": "place_us_ma_barnstable_county",
      "sourceRefs": [
        {
          "entityId": "place_us_ma_northwest_harwich",
          "sourceId": "geonames"
        }
      ],
      "label": "Contains places",
      "targetId": "place_us_ma_northwest_harwich",
      "targetTitle": "Northwest Harwich",
      "targetUrl": "/en/places/ma-northwest-harwich.html",
      "incoming": true
    }
  ],
  "mentions": [
    {
      "fromId": "place_us_ma_barnstable",
      "fromTitle": "Barnstable",
      "fromUrl": "/en/places/ma-barnstable.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_bourne",
      "fromTitle": "Bourne",
      "fromUrl": "/en/places/ma-bourne.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_brewster",
      "fromTitle": "Brewster",
      "fromUrl": "/en/places/ma-brewster.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_buzzards_bay",
      "fromTitle": "Buzzards Bay",
      "fromUrl": "/en/places/ma-buzzards-bay.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_centerville",
      "fromTitle": "Centerville",
      "fromUrl": "/en/places/ma-centerville.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_chatham",
      "fromTitle": "Chatham",
      "fromUrl": "/en/places/ma-chatham.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_cotuit",
      "fromTitle": "Cotuit",
      "fromUrl": "/en/places/ma-cotuit.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_dennis",
      "fromTitle": "Dennis",
      "fromUrl": "/en/places/ma-dennis.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_dennis_port",
      "fromTitle": "Dennis Port",
      "fromUrl": "/en/places/ma-dennis-port.html",
      "fromType": "place"
    },
    {
      "fromId": "place_us_ma_east_dennis",
      "fromTitle": "East Dennis",
      "fromUrl": "/en/places/ma-east-dennis.html",
      "fromType": "place"
    }
  ],
  "lang": "en",
  "availableLangs": [
    "zh",
    "en"
  ],
  "infoFields": [
    {
      "key": "place_kind",
      "label": "Place kind",
      "value": "County"
    },
    {
      "key": "admin_area",
      "label": "Admin area",
      "value": "United States · Massachusetts · Barnstable County"
    },
    {
      "key": "coordinates",
      "label": "Coordinates",
      "value": "41.68419, -70.27405"
    }
  ],
  "pagination": {
    "page": 2,
    "pageSize": 50,
    "total": 53,
    "pageCount": 2,
    "prevUrl": "/en/places/ma-barnstable-county/relation.json"
  },
  "relationsTotal": 53,
  "mentionsTotal": 52,
  "mentionsUrl": "/en/places/ma-barnstable-county/relation/mentions.html"
}