<?xml version="1.0" encoding="UTF-8"?>
<page>
  <sourceCitations></sourceCitations>
  <contentStorage>postgres</contentStorage>
  <sameNames></sameNames>
  <basedOn></basedOn>
  <title>Cao Yan · Relations</title>
  <description>Cao Yan (died 249) was a man of Qiao county in the commandery of Qiao, a son of Cao Zhen and younger brother of Cao Shuang in Cao Wei. When Cao Shuang held the regency he made him an attendant at court. In 249 Cao Shuang accompanied Emperor Cao Fang on a visit to the Gaoping tombs and Sima Yi seized power. Cao Yan was dismissed and soon beheaded for treason, with his three clans exterminated.</description>
  <url>/en/people/cao-yan-q11091096/relation.html</url>
  <entity>
    <perspectives></perspectives>
    <customFields></customFields>
    <id>person_cn_q11091096</id>
    <type>person</type>
    <title>Cao Yan</title>
    <slug>cao-yan-q11091096</slug>
    <aliases>
      <alias>曹彦</alias>
    </aliases>
    <previousSlugs></previousSlugs>
    <summary>Cao Yan (died 249) was a man of Qiao county in the commandery of Qiao, a son of Cao Zhen and younger brother of Cao Shuang in Cao Wei. When Cao Shuang held the regency he made him an attendant at court. In 249 Cao Shuang accompanied Emperor Cao Fang on a visit to the Gaoping tombs and Sima Yi seized power. Cao Yan was dismissed and soon beheaded for treason, with his three clans exterminated.</summary>
    <status>published</status>
    <categories>
      <category>category-history</category>
    </categories>
    <tags>
      <tag>tag-ancient-china</tag>
    </tags>
    <sources>
      <source>
        <id>wikidata</id>
        <title>Wikidata Q11091096</title>
        <url>https://www.wikidata.org/wiki/Q11091096</url>
      </source>
      <source>
        <id>zhwiki</id>
        <title>曹彦（维基百科）</title>
        <url>https://zh.wikipedia.org/wiki/%E6%9B%B9%E5%BD%A5</url>
      </source>
    </sources>
    <createdAt>2026-10-25T00:00:00+08:00</createdAt>
    <updatedAt>2026-10-25T00:00:00+08:00</updatedAt>
    <updatedBy>user:admin</updatedBy>
    <revision>4</revision>
    <body>Cao Yan was a figure of Cao Wei. Wikidata gives his Chinese label as Cao Yan, in the traditional form of the character yan, and records his death in 249 and his occupation as political figure. The Chinese Wikipedia article is titled Cao Yan in the simplified form. The two are the same name, so the title stays as it is.[^wikidata][^zhwiki]&#xA;&#xA;## Family and office&#xA;&#xA;The Chinese Wikipedia article says he was from Qiao county in the commandery of Qiao, a son of Cao Zhen and a younger brother of Cao Shuang. After Emperor Cao Fang came to the throne, Cao Shuang took the regency as general-in-chief and appointed Cao Yan as an attendant at court, with the right to go in and out of the palace.[^zhwiki]&#xA;&#xA;## The coup at the Gaoping tombs&#xA;&#xA;In the tenth year of Zhengshi (249), Cao Yan went with Cao Shuang and others when Cao Fang visited the Gaoping tombs. Sima Yi took the chance to launch a coup and seized control of Luoyang, and Cao Yan was dismissed. Soon afterwards he was beheaded on a charge of treason, and his three clans were exterminated.[^zhwiki]&#xA;&#xA;## Basic facts&#xA;&#xA;- Name: Cao Yan, written with the traditional character in Wikidata[^wikidata][^zhwiki]&#xA;- Death: 249[^wikidata]&#xA;- Origin: Qiao county, commandery of Qiao[^zhwiki]&#xA;- Kin: son of Cao Zhen, younger brother of Cao Shuang[^zhwiki]&#xA;- Portrayal: [[person_cn_q124617593|Cao Yan]] (a character in Romance of the Three Kingdoms)</body>
    <url>/people/cao-yan-q11091096.html</url>
    <lang>en</lang>
    <availableLangs>
      <lang>zh</lang>
      <lang>en</lang>
    </availableLangs>
    <death>
      <year>249</year>
      <display>249</display>
    </death>
    <occupations></occupations>
    <personCategory>historical figure</personCategory>
    <creators></creators>
    <relatedTerms></relatedTerms>
  </entity>
  <entities></entities>
  <tags></tags>
  <categories></categories>
  <relations>
    <relation>
      <id>relation_cnportray_q124617593</id>
      <fromId>person_cn_q124617593</fromId>
      <relationType>based_on</relationType>
      <toId>person_cn_q11091096</toId>
      <note>作品中的人物形象，原型为该历史人物。</note>
      <sourceRefs>
        <sourceRef>
          <entityId>person_cn_q124617593</entityId>
          <sourceId>wikidata</sourceId>
        </sourceRef>
      </sourceRefs>
      <label>Portrayals</label>
      <targetId>person_cn_q124617593</targetId>
      <targetTitle>Cao Yan</targetTitle>
      <targetUrl>/en/people/cao-yan-sanguo-q124617593-q11091096.html</targetUrl>
      <incoming>true</incoming>
    </relation>
  </relations>
  <mentions>
    <mention>
      <fromId>person_cn_q124617593</fromId>
      <fromTitle>Cao Yan</fromTitle>
      <fromUrl>/en/people/cao-yan-sanguo-q124617593-q11091096.html</fromUrl>
      <fromType>person</fromType>
    </mention>
  </mentions>
  <toc></toc>
  <askCitations></askCitations>
  <history></history>
  <versions></versions>
  <relationGroups>
    <group>
      <type>based_on</type>
      <label>Portrayals</label>
      <items>
        <relation>
          <id>relation_cnportray_q124617593</id>
          <fromId>person_cn_q124617593</fromId>
          <relationType>based_on</relationType>
          <toId>person_cn_q11091096</toId>
          <note>作品中的人物形象，原型为该历史人物。</note>
          <sourceRefs>
            <sourceRef>
              <entityId>person_cn_q124617593</entityId>
              <sourceId>wikidata</sourceId>
            </sourceRef>
          </sourceRefs>
          <label>Portrayals</label>
          <targetId>person_cn_q124617593</targetId>
          <targetTitle>Cao Yan</targetTitle>
          <targetUrl>/en/people/cao-yan-sanguo-q124617593-q11091096.html</targetUrl>
          <incoming>true</incoming>
        </relation>
      </items>
    </group>
  </relationGroups>
  <lang>en</lang>
  <availableLangs>
    <lang>zh</lang>
    <lang>en</lang>
  </availableLangs>
  <infoFields>
    <field>
      <key>death_date</key>
      <label>Death</label>
      <value>249</value>
    </field>
    <field>
      <key>person_category</key>
      <label>Person category</label>
      <value>historical figure</value>
    </field>
  </infoFields>
  <pagination>
    <page>1</page>
    <pageSize>50</pageSize>
    <total>1</total>
    <pageCount>1</pageCount>
  </pagination>
  <relationsTotal>1</relationsTotal>
  <relationCounts></relationCounts>
  <mentionsTotal>1</mentionsTotal>
</page>