{
  "messages": [
    {
      "role": "system",
      "content": "You are a knowledge graph extraction agent for long-form novels. Extract entities and relations from the given text chunk. Return JSON only."
    },
    {
      "role": "user",
      "content": "Retrieved existing entity cards for this chunk. Reuse these canonical names/types when the same entity reappears; do not create near-duplicate entities if a card already matches the mention:\n[{\"entity_id\": \"E000031\", \"name\": \"褒姒\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0005\"}, \"mention_count\": 1, \"aliases\": [\"妖女\", \"褒拟\"], \"descriptions\": [\"被收养女婴\", \"倾国倾城之貌\"], \"matched_terms\": [\"褒姒\", \"妖女\"], \"relations\": [\"男子|拥有|褒姒\"]}, {\"entity_id\": \"E000001\", \"name\": \"周宣王\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0001\", \"last\": \"C0005\"}, \"mention_count\": 6, \"aliases\": [\"宣王\", \"太子靖\", \"朕\"], \"descriptions\": [\"周朝君主\", \"御驾亲征\"], \"matched_terms\": [\"吾王\"], \"relations\": [\"周宣王|隶属|左儒\", \"周宣王|隶属|杜伯\"]}, {\"entity_id\": \"E000028\", \"name\": \"幽王\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0005\"}, \"mention_count\": 1, \"aliases\": [\"太子宫涅\"], \"descriptions\": [\"周朝君主\", \"不理朝政\"], \"matched_terms\": [\"幽王\"], \"relations\": [\"幽王|隶属|虢石父\", \"虢石父|隶属|幽王\"]}, {\"entity_id\": \"E000017\", \"name\": \"男子\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0003\", \"last\": \"C0003\"}, \"mention_count\": 1, \"aliases\": [\"賣桑木弓的男子\"], \"descriptions\": [\"背桑弓逃脱\", \"拾女婴\"], \"matched_terms\": [\"男子\"], \"relations\": [\"男子|拥有|褒姒\", \"男子|前往|清水河边\"]}, {\"entity_id\": \"E000007\", \"name\": \"伯阳父\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0001\", \"last\": \"C0005\"}, \"mention_count\": 5, \"aliases\": [\"太史伯陽父\", \"伯陽父\", \"太史伯阳父\"], \"descriptions\": [\"解释童谣天象\", \"占卜龙漦\"], \"relations\": [\"伯阳父|隶属|周宣王\", \"伯阳父|位于|紫微之垣\"]}, {\"entity_id\": \"E000009\", \"name\": \"大宗伯召虎\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0002\", \"last\": \"C0005\"}, \"mention_count\": 3, \"aliases\": [\"召虎\"], \"descriptions\": [\"解释童谣弓矢\", \"随宣王狩猎\"], \"relations\": [\"周宣王|隶属|大宗伯召虎\", \"大宗伯召虎|隶属|周宣王\"]}, {\"entity_id\": \"E000027\", \"name\": \"尹吉甫\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0005\"}, \"mention_count\": 1, \"descriptions\": [\"受命托孤\", \"后去世\"], \"relations\": [\"周宣王|隶属|尹吉甫\"]}, {\"entity_id\": \"E000030\", \"name\": \"虢石父\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0005\"}, \"mention_count\": 1, \"aliases\": [\"虢公石父\"], \"descriptions\": [\"三公之一\", \"排挤忠臣\"], \"relations\": [\"幽王|隶属|虢石父\", \"虢石父|隶属|幽王\"]}]\n\nOntology constraints (prefer these core types and normalized relations):\nAllowed core entity types:\n- 人物: 角色姓名, 主角/关键人物, 配角\n- 地点: 山岳/洞天, 洞府/殿阁, 城镇/疆域, 秘境\n- 组织: 宗门, 门派, 势力, 机构\n- 物品: 兵器, 法器, 经卷典籍, 其他道具\n- 生物种族: 妖兽, 异种, 神魔, 灵体\n- 事件仪式: 拜师, 祭祀, 闭关, 试炼\n- 概念法则: 大道/天道, 世界规则, 禁忌概念\n- 其他\nNormalized relations:\n- 位于: aliases=在, 身处, 位于, 处于, 坐落于\n- 前往: aliases=前往, 来到, 进入, 回到, 抵达\n- 拥有: aliases=拥有, 持有, 携带, 手持, 背着\n- 隶属: aliases=加入, 隶属, 拜入, 奉命, 外门\nKey rules:\n- 实体 type 必须落在核心类型集合中；subtype 仅作细分，不得替代 type。\n- 若实体更像角色身份标签而非完整人物名，优先使用职位称号。\n- 若实体强调修炼路径与长期体系，优先使用功法体系；强调施展动作时优先使用术法神通。\n- 无法安全判断时允许使用其他，但应在后续 Type Consolidation 中优先收缩。\n\nCHUNK_ID: C0006 | PARA_RANGE: 31-34\n\nFrom the text chunk below, extract entities and relations. Output STRICT JSON with keys: entities (list) and relations (list). Entity schema: {name,type,aliases,attributes,descriptions,evidence,mentions}. mentions is a list of {chunk_id,summary,attributes,evidence}. Relation schema: {subject,relation,object,evidence,mentions}. mentions is a list of {chunk_id,summary,evidence}. Use ontology core types when possible. Do not invent new top-level entity type labels outside the ontology if an existing type fits. Prefer normalized relation names from the ontology alias list. If an existing entity card clearly matches a mention in this chunk, reuse that card's canonical name. If the chunk uses a title, alias, or shortened reference that matches a card, keep it under the same entity instead of splitting it. Keep outputs compact: at most 8 entities and 8 relations for this pass. Each description/evidence/summary should be short (<=30 characters) and avoid full sentences. Limit each entity to <=2 descriptions and <=2 mentions; each relation to <=1 mention. For mentions in this chunk, set chunk_id to the provided CHUNK_ID. Only include information supported by the chunk. Return a single JSON object and nothing else (no markdown, no code fences). If unsure, return {\"entities\":[],\"relations\":[]}.\n\nTEXT CHUNK:\n話分兩頭。卻說賣桑木弓箕草袋的男子，怀抱妖女，逃奔褒地，欲行撫養，因乏乳食，恰好有個蟻大的妻子，生女不育，就送些布匹之類，轉乞此女過門。撫養成人，取名褒擬。論年紀雖剛一十四歲，身材長成，倒象十六七歲及鋅的模樣。更兼目秀眉清，唇紅齒白，發挽烏云，指排削玉，有如花如月之容，傾國傾城之貌。一來姒大住居鄉僻，二來褒姒年紀幼小，所以雖有絕色，無人聘定。\n\n卻說褒響之子洪德，偶因收斂，來到鄉問。湊巧褒似門外汲水，雖然村妝野束，不掩國色天姿。洪德大惊：“如此窮鄉，乃有此等麗色！”因私汁：“父親囚于鎬京獄中，三年尚未釋放。若得此女貢獻天子，可以贖父罪矣。”遂于鄰舍訪問姓名的實，歸家告母曰：“吾父以直諫忤主，非犯不赦之辟。今天子荒淫無道，購四方美色，以充后之宮。有擬大之女，非常絕色。若多將金帛買來獻上，求寬父獄，此散宜生救文王出獄之計也。”其母曰：“此汁如果可行，何惜財帛。汝當速往。”洪德遂親至擬家，与似大講就布帛三百匹，買得褒擬回家。香湯沐浴，食以膏粱之味，飾以文繡之衣，教以禮數，攜至鎬京。先用金銀打通貌公關節，求其轉奏，言：“臣晌自知罪當万死。晌子洪德，痛父死者不可复生，特訪求美人，名曰褒姒，進上以贖父罪。万望吾王赦宥！”幽王聞奏，即宣褒擬上殿，拜舞已畢。幽王抬頭觀看；姿容態度，目所未睹，流盼之際，光艷照人。龍顏大喜。——四方雖貢獻有人，不及褒姒万分之一。——遂不通申后得知，留褒擬于別宮，降旨赦褒晌出獄，复其官爵。是夜幽王与褒姒同寢，魚水之樂，所不必言。自此坐則疊股，立則井肩，飲則交杯，食則同器。一連十日不朝。群臣伺候朝門者，皆不得望見顏色，莫不歎息而去。此乃幽王四年之事。有詩為證：\n\n折得名花字國香，布荊一旦荐匡床。風流天子渾閒事，不過龍禾已伏殃。\n\n幽王自從得了褒擬，迷戀其色，居之瓊台，約有三月，更不進申后之宮，早有人報知申后，如此如此。申后不胜其憤，忽一日引著宮娥，徑到瓊台。正遇幽工与褒姒聯膝而坐，并不起身迎接。申后忍气不過，便罵：“何方賤婢，到此濁亂宮闌！”幽王恐申后動手，將身蔽于褒擬之前，代答曰：“此朕新取美人，未定位次，所以未曾朝見。不必發怒。”申后罵了一場，恨恨而去。褒姒問曰：适來者何人？”幽工曰：“此王后也。汝明白可往謁之。”褒擬嘿然無言。至明日，仍不往朝正宮。"
    }
  ]
}