Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ywjawmw/TCM_KG
https://github.com/ywjawmw/TCM_KG
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ywjawmw/TCM_KG
- Owner: ywjawmw
- Created: 2023-05-05T07:50:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-01T01:39:11.000Z (9 months ago)
- Last Synced: 2024-08-03T09:07:14.000Z (5 months ago)
- Language: Python
- Size: 1.75 MB
- Stars: 68
- Watchers: 1
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- StarryDivineSky - ywjawmw/TCM_KG - neo4j 知识图谱 (NLP语料和数据集 / 其他_文本生成、文本对话)
README
# 中医TCM-neo4j 知识图谱
## 1、配置
Neo4j下载:https://neo4j.com/download-center/
版本为社区版5.7.0(需要jdk17)
## 2、运行
修改Create_Graph.py文件中的数据库的账号和密码,并运行Create_Graph.py,浏览器中打开http://localhost:7474即可查看
## 3、查询
由于数据集的节点数过大,不能对知识图谱进行完全地展示
通过
```
MATCH (n)-[r]-(b) Where n.name='便秘' RETURN n,r,b
```对$n.name$进行修改可以查询与需要节点相关的节点
查询“便秘”症状节点的KG示例:
![image](示例图.png)