{
  "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\": \"C0011\"}, \"mention_count\": 7, \"aliases\": [\"妖女\", \"褒拟\", \"褒擬\"], \"descriptions\": [\"倾国倾城之貌\", \"被褒洪德买下献王\"], \"matched_terms\": [\"褒姒\", \"褒擬\"], \"relations\": [\"幽王|拥有|褒姒\", \"褒姒|拥有|伯服\"]}, {\"entity_id\": \"E000046\", \"name\": \"申侯\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0009\", \"last\": \"C0011\"}, \"mention_count\": 3, \"descriptions\": [\"申后之父\", \"上疏谏幽王\"], \"matched_terms\": [\"申侯\"], \"relations\": [\"申侯|前往|镐京\", \"申侯|隶属|犬戎主\"]}, {\"entity_id\": \"E000030\", \"name\": \"虢石父\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0009\"}, \"mention_count\": 5, \"aliases\": [\"虢公石父\", \"貌石父\", \"石父\"], \"descriptions\": [\"三公之一\", \"排挤忠臣\"], \"matched_terms\": [\"虢石父\", \"石父\"], \"relations\": [\"虢石父|隶属|幽王\", \"幽王|隶属|虢石父\"]}, {\"entity_id\": \"E000040\", \"name\": \"太子宜臼\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0007\", \"last\": \"C0007\"}, \"mention_count\": 1, \"aliases\": [\"太子\", \"宜日\", \"吾儿\"], \"descriptions\": [\"申后之子\", \"被貶申國\"], \"matched_terms\": [\"太子宜臼\", \"太子\", \"宜日\"], \"relations\": [\"太子宜臼|前往|申國\", \"太子宜臼|隶属|申后\"]}, {\"entity_id\": \"E000051\", \"name\": \"镐京\", \"type\": \"地点\", \"seen_range\": {\"first\": \"C0010\", \"last\": \"C0011\"}, \"mention_count\": 2, \"aliases\": [\"王城\", \"鎬京\", \"京师\"], \"descriptions\": [\"周朝都城\", \"被戎兵围攻\"], \"matched_terms\": [\"鎬京\"], \"relations\": [\"申侯|前往|镐京\", \"卫武公|前往|镐京\"]}, {\"entity_id\": \"E000055\", \"name\": \"掘突\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0011\", \"last\": \"C0011\"}, \"mention_count\": 1, \"aliases\": [\"郑世子\"], \"descriptions\": [\"郑伯世子\", \"率兵复仇\"], \"matched_terms\": [\"掘突\"], \"relations\": [\"掘突|前往|镐京\"]}, {\"entity_id\": \"E000057\", \"name\": \"秦襄公\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0011\", \"last\": \"C0011\"}, \"mention_count\": 1, \"aliases\": [\"秦君\", \"赢开\"], \"descriptions\": [\"秦国君主\", \"勇悍善战\"], \"matched_terms\": [\"秦君\"], \"relations\": [\"秦襄公|前往|镐京\"]}, {\"entity_id\": \"E000028\", \"name\": \"幽王\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0009\"}, \"mention_count\": 6, \"aliases\": [\"太子宫涅\", \"天子\", \"吾王\"], \"descriptions\": [\"周朝君主\", \"不理朝政\"], \"matched_terms\": [\"幽王\"], \"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: C0012 | PARA_RANGE: 56-60\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百官此日逢恩主，万姓今朝喜太平。自是累朝功德厚，山河再整望中興。\n\n次日，諸侯謝恩，平王再封衛侯為司徒，鄭伯掘突為卿士，留朝与太宰陋一同輔政，惟申晉二君，以本國迫近戎狄，拜辭而歸。申侯見鄭世子掘突英毅非常，以女妻之，是為武姜。此話擱過不提。"
    }
  ]
}