{
  "contentStorage": "postgres",
  "title": "Fang Xuanling · Relations",
  "description": "Fang Xuanling (578 – 648), Chinese statesman and writer (579-648).",
  "url": "/en/people/fang-xuanling/relation.html",
  "entity": {
    "id": "person_cn_q736647",
    "type": "person",
    "title": "Fang Xuanling",
    "slug": "fang-xuanling",
    "aliases": [
      "房玄龄"
    ],
    "summary": "Fang Xuanling (578 – 648), Chinese statesman and writer (579-648).",
    "status": "published",
    "categories": [
      "category-history",
      "category-people",
      "category-historical-figures"
    ],
    "tags": [
      "tag-ancient-china"
    ],
    "sources": [
      {
        "id": "wikidata",
        "title": "Wikidata Q736647",
        "url": "https://www.wikidata.org/wiki/Q736647"
      },
      {
        "id": "zhwiki",
        "title": "房玄龄（维基百科）",
        "url": "https://zh.wikipedia.org/wiki/%E6%88%BF%E7%8E%84%E9%BE%84"
      },
      {
        "id": "zhengshi",
        "title": "新唐书·卷096（维基文库）",
        "url": "https://zh.wikisource.org/wiki/%E6%96%B0%E5%94%90%E6%9B%B8/%E5%8D%B7096"
      }
    ],
    "createdAt": "2026-10-25T00:00:00+08:00",
    "updatedAt": "2026-10-29T16:32:58+08:00",
    "updatedBy": "user:admin",
    "revision": 5,
    "body": "## Official history\n\n\u003e 房玄齡，字喬，齊州臨淄人。父彥謙，仕隋，曆司隸刺史。玄齡幼警敏，貫綜墳籍，善屬文，書兼草隸。開皇中，天下混壹，皆謂隋祚方永，玄齡密白父曰：「上無功德，徒以周近親，妄誅殺，攘神器有之，不爲子孫立長久計，淆置嫡庶，競侈僭，相傾鬩，終當內相誅夷。視今雖平，其亡，跬可須也。」彥謙驚曰：無妄言！」年十八，舉進士。\n\n— 新唐书·卷096[^zhengshi]\n\n## Basic facts\n\n- Born: 578[^wikidata]\n- Died: 648[^wikidata]\n- Birthplace: [[place_cn_370300|Zibo]][^wikidata]\n\n## Portrayals\n\n- [[person_cn_q137971356|Fang Xuanling]] (character in Journey to the West)",
    "url": "/people/fang-xuanling.html",
    "lang": "en",
    "sourceLang": "zh",
    "availableLangs": [
      "zh",
      "en"
    ],
    "birth": {
      "year": 578,
      "display": "578"
    },
    "death": {
      "year": 648,
      "display": "648"
    },
    "personCategory": "historical figure"
  },
  "entities": null,
  "relations": [
    {
      "id": "relation_cnpeople_born_q736647",
      "fromId": "person_cn_q736647",
      "relationType": "born_in",
      "toId": "place_cn_370300",
      "sourceRefs": [
        {
          "entityId": "person_cn_q736647",
          "sourceId": "wikidata"
        }
      ],
      "label": "Born in",
      "targetId": "place_cn_370300",
      "targetTitle": "Zibo",
      "targetUrl": "/en/places/shandong-zibo.html",
      "incoming": false
    },
    {
      "id": "relation_cnportray_q137971356",
      "fromId": "person_cn_q137971356",
      "relationType": "based_on",
      "toId": "person_cn_q736647",
      "note": "作品中的人物形象，原型为该历史人物。",
      "sourceRefs": [
        {
          "entityId": "person_cn_q137971356",
          "sourceId": "wikidata"
        }
      ],
      "label": "Portrayals",
      "targetId": "person_cn_q137971356",
      "targetTitle": "Fang Xuanling",
      "targetUrl": "/en/people/fang-xuanling-xiyou.html",
      "incoming": true
    }
  ],
  "mentions": [
    {
      "fromId": "person_cn_q137971356",
      "fromTitle": "Fang Xuanling",
      "fromUrl": "/en/people/fang-xuanling-xiyou.html",
      "fromType": "person"
    }
  ],
  "relationGroups": [
    {
      "type": "born_in",
      "label": "Born in",
      "items": [
        {
          "id": "relation_cnpeople_born_q736647",
          "fromId": "person_cn_q736647",
          "relationType": "born_in",
          "toId": "place_cn_370300",
          "sourceRefs": [
            {
              "entityId": "person_cn_q736647",
              "sourceId": "wikidata"
            }
          ],
          "label": "Born in",
          "targetId": "place_cn_370300",
          "targetTitle": "Zibo",
          "targetUrl": "/en/places/shandong-zibo.html",
          "incoming": false
        }
      ]
    },
    {
      "type": "based_on",
      "label": "Portrayals",
      "items": [
        {
          "id": "relation_cnportray_q137971356",
          "fromId": "person_cn_q137971356",
          "relationType": "based_on",
          "toId": "person_cn_q736647",
          "note": "作品中的人物形象，原型为该历史人物。",
          "sourceRefs": [
            {
              "entityId": "person_cn_q137971356",
              "sourceId": "wikidata"
            }
          ],
          "label": "Portrayals",
          "targetId": "person_cn_q137971356",
          "targetTitle": "Fang Xuanling",
          "targetUrl": "/en/people/fang-xuanling-xiyou.html",
          "incoming": true
        }
      ]
    }
  ],
  "lang": "en",
  "availableLangs": [
    "zh",
    "en"
  ],
  "infoFields": [
    {
      "key": "birth_date",
      "label": "Birth",
      "value": "578"
    },
    {
      "key": "death_date",
      "label": "Death",
      "value": "648"
    },
    {
      "key": "person_category",
      "label": "Person category",
      "value": "historical figure"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 50,
    "total": 2,
    "pageCount": 1
  },
  "relationsTotal": 2,
  "mentionsTotal": 1
}