arXiv:2506.20851cs.SEcs.AI2025-06被引 2

用Python自动构建药物不良反应知识图谱,让非专家也能轻松集成数据

Generating Reliable Adverse event Profiles for Health through Automated Integrated Data (GRAPH-AID): A Semi-Automated Ontology Building Approach

  • 基于Python和rdflib库,自动将Neo4j数据库转为OWL本体
  • 整合FDA FAERS数据,自动生成类与公理,提升开发效率
  • 适合医疗数据工程师、公共卫生研究者快速构建可查知识图谱

随着数据与知识的快速增长,系统化本体构建方法变得至关重要。面对每日激增的数据量与频繁的内容更新,构建知识图谱所需数据库的存储与检索能力愈发紧迫。已有知识获取与表示方法(KNARM)提出系统性解决方案,但其在整合Neo4j数据库与Web本体语言(OWL)时仍存在障碍。此前尝试虽有提及,但常需掌握描述逻辑(DL)语法,对多数用户不友好。本文提出一种用户友好的方法,利用Python及rdflib库支持本体开发。通过整合美国食品药品监督管理局(FDA)不良事件报告系统(FAERS)数据,我们构建了Neo4j数据库,并编写了自动化脚本,实现类与公理的自动生成,显著简化集成流程。该方法有效应对日益增长的药物不良反应数据挑战,助力提升药物安全监测与公共健康决策能力。

原文摘要 · Abstract (English)

As data and knowledge expand rapidly, adopting systematic methodologies for ontology generation has become crucial. With the daily increases in data volumes and frequent content changes, the demand for databases to store and retrieve information for the creation of knowledge graphs has become increasingly urgent. The previously established Knowledge Acquisition and Representation Methodology (KNARM) outlines a systematic approach to address these challenges and create knowledge graphs. However, following this methodology highlights the existing challenge of seamlessly integrating Neo4j databases with the Web Ontology Language (OWL). Previous attempts to integrate data from Neo4j into an ontology have been discussed, but these approaches often require an understanding of description logics (DL) syntax, which may not be familiar to many users. Thus, a more accessible method is necessary to bridge this gap. This paper presents a user-friendly approach that utilizes Python and its rdflib library to support ontology development. We showcase our novel approach through a Neo4j database we created by integrating data from the Food and Drug Administration (FDA) Adverse Event Reporting System (FAERS) database. Using this dataset, we developed a Python script that automatically generates the required classes and their axioms, facilitating a smoother integration process. This approach offers a practical solution to the challenges of ontology generation in the context of rapidly growing adverse drug event datasets, supporting improved drug safety monitoring and public health decision-making.

知识图谱药物安全自动化本体构建

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。