{"id":13461698,"url":"https://github.com/ownthink/KnowledgeGraphData","last_synced_at":"2025-03-24T22:34:50.207Z","repository":{"id":38857002,"uuid":"214452673","full_name":"ownthink/KnowledgeGraphData","owner":"ownthink","description":"史上最大规模1.4亿中文知识图谱开源下载","archived":false,"fork":false,"pushed_at":"2023-12-06T02:04:16.000Z","size":838,"stargazers_count":5013,"open_issues_count":26,"forks_count":730,"subscribers_count":129,"default_branch":"master","last_synced_at":"2025-03-22T19:02:24.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.ownthink.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ownthink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-10-11T14:08:37.000Z","updated_at":"2025-03-22T08:29:27.000Z","dependencies_parsed_at":"2022-07-14T09:22:32.199Z","dependency_job_id":"70b8e800-eedb-4da5-aa93-0d48105e58fe","html_url":"https://github.com/ownthink/KnowledgeGraphData","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FKnowledgeGraphData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FKnowledgeGraphData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FKnowledgeGraphData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FKnowledgeGraphData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ownthink","download_url":"https://codeload.github.com/ownthink/KnowledgeGraphData/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245366204,"owners_count":20603438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T11:00:52.982Z","updated_at":"2025-03-24T22:34:50.173Z","avatar_url":"https://github.com/ownthink.png","language":"Python","readme":"\u003ch1 align = \"center\"\u003e史上最大规模1.4亿中文知识图谱开源下载\u003c/h1\u003e\n\n![知识图谱](img/kg.png)\n\n知识就是力量，知识图谱是人工智能新时代的产物，简单地说知识图谱就是通过关联关系将知识组成网状的结构，然后我们的人工智能可以通过这个图谱来认识其代表的这一个现实事件，这个事件可以是现实，也可以是虚构的。\n\n知识图谱可以应用于机器人问答系统，知识推荐等等，下图为知识图谱在机器人上的应用。\n\n![机器人](img/bot.png)\n\n本次ownthink开源了史上最大规模的中文知识图谱，数据是以（实体、属性、值），（实体、关系、实体）混合的形式组织，数据格式采用csv格式，下载链接见文末。\n\n解压后查看知识图谱规模：\n```shell\n$ wc -l ownthink_v2.csv\n140919781 ownthink_v2.csv\n```\n\n查看知识图谱数据：\n```shell\n$ head ownthink_v2.csv\n实体,属性,值\n胶饴,描述,别名: 饴糖、畅糖、畅、软糖。\n词条,描述,词条（拼音：cí tiáo）也叫词目，是辞书学用语，指收列的词语及其释文。\n词条,标签,文化\n红色食品,描述,红色食品是指食品为红色、橙红色或棕红色的食品。\n红色食品,中文名,红色食品\n红色食品,是否含防腐剂,否\n红色食品,主要食用功效,预防感冒，缓解疲劳\n红色食品,适宜人群,全部人群\n红色食品,用途,增强表皮细胞再生和防止皮肤衰老\n```\n\n使用python进行读取测试：\n```python3\nimport sys\nimport csv\n\nwith open('ownthink_v2.csv', 'r', encoding='utf8') as fin:\n  reader = csv.reader(fin)\n  for index, read in enumerate(reader):\n    print(read)\n    \n    if index \u003e 10:\n      sys.exit(0)\n```\n\n运行以上脚本输出结果：\n```shell\n['实体', '属性', '值']\n['胶饴', '描述', '别名: 饴糖、畅糖、畅、软糖。']\n['词条', '描述', '词条（拼音：cí tiáo）也叫词目，是辞书学用语，指收列的词语及其释文。']\n['词条', '标签', '文化']\n['红色食品', '描述', '红色食品是指食品为红色、橙红色或棕红色的食品。']\n['红色食品', '中文名', '红色食品']\n['红色食品', '是否含防腐剂', '否']\n['红色食品', '主要食用功效', '预防感冒，缓解疲劳']\n['红色食品', '适宜人群', '全部人群']\n['红色食品', '用途', '增强表皮细胞再生和防止皮肤衰老']\n['红色食品', '标签', '非科学']\n['红色食品', '标签', '生活']\n```\n\n数据下载方式：\n\n* 关注思知机器人回复【数据下载】获取下载链接\n\n* 百度网盘（链接: https://pan.baidu.com/s/1LZjs9Dsta0yD9NH-1y0sAw 提取码: 3hpp ）注：解压密码是：https://www.ownthink.com/\n\n```shell\n加入qq群：\n人工智能qq群1：90780053(满)\n人工智能qq群2：956936481（满）\n人工智能qq群3：1160292084（满）\n人工智能qq群4：1019825236（满）\n人工智能qq群5：535614287\n知识图谱qq群1：55152968\n知识图谱qq群2：740104333\n知识图谱qq群3：586457987（满）\n知识图谱qq群4：858829119（满）\n知识图谱qq群5：461223040\n知识图谱qq群6：610347717\n\n```\n\n","funding_links":[],"categories":["Python","Python (1887)","Corpus 中文语料","Knowledge Graph Datasets"],"sub_categories":["Multi-Modal Representation \u0026 Retrieval 多模态表征与检索","5. Others"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fownthink%2FKnowledgeGraphData","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fownthink%2FKnowledgeGraphData","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fownthink%2FKnowledgeGraphData/lists"}