Marvel_KnowledgeGraph icon indicating copy to clipboard operation
Marvel_KnowledgeGraph copied to clipboard

漫威英雄的知识图谱

点我!快点我!

Marvel Knowledge Graph

个人demo项目,走向未知,不断完善中...

Road Map

  • [x] 漫威API 熟悉
  • [x] 知识图谱科普帖 [link]
  • [ ] py2neo,cypher 语法总结
  • [x] Marvel 数据收集
  • [ ] 建立图谱代码
  • [x] 玩过的可视化工具:Neo4j ; Gephi

Update

2019/04/08

  • [x] Data source: Marvel API [link]
  • [x] Marvel 官网注册开发者账号 [link] (my developer account: yzhang1270)
  • [x] Get a Key 获取公钥、私钥
  • [x] python package: pip install marvel
  • [x] 调试marvel,读接口参数文档 [link],生成 Marvel API 调用说明:marvel_api.ipynb
  • [x] 多维度数据的整理分析:参数传递captain america ,JSON返回数据:json_captain_america.txt

2019/04/25

  • [x] 功能: 人物信息查询 - charac_search.ipynb
  • [x] 功能: 存储英雄及相关故事信息 - marvel_gephi.py
  • [x] 存储: 存储英雄及相关故事信息 - data/.
  • [x] gephi 下载、安装、成功运行
  • [x] gephi 数据准备:data/gephi/.
    • [x] 节点数据:[id, name, story num]
    • [x] 关系数据:[character1, character2, story num]
  • [x] gephi 绘制英雄图谱 [tutorial]

拓展

  • [ ] 超惊艳!必看!Marvel 图谱可视化 [link]
  • [ ] neo4j的相关博客 [link]
  • [ ] 漫威,DC人物大全 [link]
  • [ ] 漫威人物关系图、观影顺序图 [link]
  • [ ] gephi 图谱可视化demo [link]

其他制作教程

Attention

  1. 请求上限 3000次/天,并且需要设定请求来源网址(referrer)
  2. 需要在所有用到接口数据的页面上标注 "Data provided by Marvel. ©Marvel"
  3. 需提供到 Marvel 官网( http://marvel.com
  4. 返回接口里的图片 URL 不是直接可访问的,需添加上所需图片尺寸和文件类型,拼出完整路径