{
  "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\": \"C0006\"}, \"mention_count\": 2, \"aliases\": [\"妖女\", \"褒拟\", \"褒擬\"], \"descriptions\": [\"被收养女婴\", \"倾国倾城之貌\"], \"matched_terms\": [\"褒姒\", \"褒擬\"], \"relations\": [\"男子|拥有|褒姒\", \"幽王|拥有|褒姒\"]}, {\"entity_id\": \"E000038\", \"name\": \"申后\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0006\", \"last\": \"C0006\"}, \"mention_count\": 1, \"aliases\": [\"王后\"], \"descriptions\": [\"幽王王后\", \"愤恨褒姒\"], \"matched_terms\": [\"申后\", \"王后\"], \"relations\": [\"幽王|隶属|申后\"]}, {\"entity_id\": \"E000028\", \"name\": \"幽王\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0005\", \"last\": \"C0006\"}, \"mention_count\": 2, \"aliases\": [\"太子宫涅\", \"天子\", \"吾王\"], \"descriptions\": [\"周朝君主\", \"不理朝政\"], \"matched_terms\": [\"幽王\"], \"relations\": [\"幽王|位于|鎬京\", \"幽王|拥有|褒姒\"]}, {\"entity_id\": \"E000035\", \"name\": \"姒大\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0006\", \"last\": \"C0006\"}, \"mention_count\": 1, \"aliases\": [\"擬大\"], \"descriptions\": [\"收养褒姒\", \"住居鄉僻\"], \"matched_terms\": [\"姒大\"]}, {\"entity_id\": \"E000030\", \"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\": \"C0006\"}, \"mention_count\": 2, \"aliases\": [\"賣桑木弓的男子\", \"賣桑木弓箕草袋的男子\"], \"descriptions\": [\"背桑弓逃脱\", \"拾女婴\"], \"relations\": [\"男子|拥有|褒姒\", \"男子|前往|清水河边\"]}, {\"entity_id\": \"E000037\", \"name\": \"褒晌\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0006\", \"last\": \"C0006\"}, \"mention_count\": 1, \"descriptions\": [\"洪德之父\", \"囚于鎬京狱中\"], \"relations\": [\"褒洪德|隶属|褒晌\"]}, {\"entity_id\": \"E000036\", \"name\": \"褒洪德\", \"type\": \"人物\", \"seen_range\": {\"first\": \"C0006\", \"last\": \"C0006\"}, \"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: C0007 | PARA_RANGE: 34-36\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卻說褒姒怀孕十月滿足，生下一千。幽王愛如珍寶，名曰伯服。遂有廢嫡立庶之意。奈事無其因，難于啟齒。虢石父揣知王意，遂与尹球商議，暗通褒姒說：“太子既逐去外家，合當伯服為嗣。內有娘娘枕邊之言，外有我二人協力相扶，何愁事不成就？”褒姒大喜，答言：“全仗二卿用心維持。若得怕服嗣位，天下當与二卿共之。”褒姒自此密遣心腹左右，日夜伺申后之短。宮門內外，俱置耳目，風吹草動，無不悉知。"
    }
  ]
}