目的:整合中医领域知识,以辅助诊疗为应用导向,构建全领域中医本体及知识库,实现中医知识图谱的可视化和查询应用研究,为构建具有辨证思维的智能推理系统提供结构和方法基础。方法:以中医学教材等领域知识为知识源,采用本体构建七步法,基于网络本体语言并应用 Protégé本体建模工具进行中医全领域本体的构建,采用 MySQL 数据库存储知识库数据,并使用 Neo4j 构建知识图谱进行应用研究。结果:中医本体及知识库较为全面地展示了中医辨证施治的知识体系,共创建实体类17个,对象属性11个,数据属性113个,实例2012个,知识图谱节点3464个,关系5164条,实现了知识图谱的查询和可视化功能。结论:中医本体知识库及知识图谱的构建应用对中医诊疗经验的知识表示、知识共享和知识推理具有一定的参考和应用价值。
Objective To integrate the domain knowledge of Traditional Chinese Medicine (TCM), take the auxiliary diagnosis and treatment as the application orientation, build the whole domain ontology and knowledge base of TCM, realize the visualization and query application research of TCM knowledge graph, and provide the structure and method basis for building an intelligent reasoning system with dialectical thinking. Methods Taking TCM teaching materials and other domain knowledge as knowledge source, adopting the seven-step domain ontology construction method and based on network ontology language and Protégé ontology modeling tool, the whole-domain ontology of TCM was built. MySQL database was used to store knowledge base data, and Neo4j was used to build the knowledge graph for application research. Results The TCM ontology and knowledge base comprehensively showed the knowledge system of TCM treatment based on syndrome differentiation. There are 17 entity classes, 11 object attributes, 113 data attributes, and 2,012 cases. The knowledge graph contained 3,464 entity nodes and 5,164 relationships, realizing the query and visualization functions of the knowledge graph. Conclusion The construction and application of TCM ontology knowledge base and knowledge graph have certain reference and application value for knowledge representation, sharing and reasoning of TCM diagnosis and treatment experience.