知识图谱 KG-查询关联实体:响应示例

时间:2024-04-25 10:35:11

响应示例

状态码: 200

OK

{
  "entity" : {
    "id" : "8039469283414000536",
    "label" : "人物",
    "properties" : {
      "职业" : [ "演员,歌手" ],
      "出生日期" : [ "1980年12月13日" ],
      "name" : [ "计广" ],
      "国籍" : [ "中国" ]
    }
  },
  "results" : [ {
    "direction" : "IN",
    "adjacent_entity_id" : "8886811463068384992",
    "edge" : {
      "source_id" : "8886811463068384992",
      "target_id" : "8039469283414000536",
      "relation_label" : "主演",
      "properties" : null
    }
  }, {
    "direction" : "IN",
    "adjacent_entity_id" : "7146030181767445493",
    "edge" : {
      "source_id" : "7146030181767445493",
      "target_id" : "8039469283414000536",
      "relation_label" : "主演",
      "properties" : null
    }
  } ],
  "total" : 20,
  "count" : 2
}
support.huaweicloud.com/api-kg/kg_03_0017.html