中国安全科学学报 ›› 2026, Vol. 36 ›› Issue (7): 190-198.doi: 10.16265/j.cnki.issn1003-3033.2026.07.0707

• 公共安全与应急管理 • 上一篇    下一篇

铁路行车安全风险事件知识图谱构建与分析方法

张振海(), 聂雨, 梁靖祎, 孙岩   

  1. 兰州交通大学 自动化与电气工程学院, 甘肃 兰州 730070
  • 收稿日期:2026-02-27 修回日期:2026-05-20 出版日期:2026-07-28
  • 作者简介:

    张振海 (1983—),男,河南安阳人,博士,教授,主要从事知识图谱、图像处理及数据挖掘等方面的研究。E-mail:

  • 基金资助:
    中央引导地方科技发展资金项目(24ZYQA044); 甘肃省自然科学基金重点项目资助(25JRRA804); 中国国家铁路集团有限公司科技研究开发计划项目(P2024G003)

Construction and analysis methods for knowledge graph of railway operational safety risk events

Zhang Zhenhai(), Nie Yu, Liang Jingyi, Sun Yan   

  1. School of Automation and Electrical Engineering, Lanzhou Jiaotong University, Lanzhou Gansu 730070, China
  • Received:2026-02-27 Revised:2026-05-20 Published:2026-07-28

摘要:

为解决铁路事故报告因非结构化导致关键隐患信息难以提取的难题,提升铁路运输安全风险智能管控能力,以某铁路局行车安全典型事故分析报告为数据源,提出一种基于词典增强型令牌对链接(TPLinker)模型的铁路行车安全风险事件知识图谱构建方法。首先,在模型编码层引入词典增强型双向编码器表示(BERT)强化领域特定词汇表征,联合抽取文本语料的实体与关系;其次,利用Neo4j图数据库完成风险事件知识图谱的存储与可视化;最后,运用Cypher查询语言,探索知识问答技术,支撑复杂智能问答与辅助决策场景。结果表明:改进后的TPLinker模型在知识抽取任务中,F1值达到90.59%;相较于端到端复制关系表示学习(CopyRRL)模型、级联二进制标注框架(CasRel)模型及标准TPLinker模型,改进后的TPLinker模型知识抽取精确率分别提升了20.79%、4.46%和2.57%。

关键词: 铁路行车安全, 风险事件, 知识图谱, 联合抽取, 词典增强, Cypher查询

Abstract:

To address the difficulty of extracting critical hazard information from unstructured railway accident reports and to improve the intelligent management and control capabilities of railway transportation safety risks, a knowledge graph construction method for railway operational safety risk events was proposed. The method was based on a dictionary-enhanced Token Pair Linking (TPLinker) model. Typical train operation safety accident analysis reports from a railway bureau were used as the data source. First, a dictionary-enhanced Bidirectional Encoder Representations from Transformers (BERT) was introduced into the model encoding layer to strengthen domain-specific vocabulary representations, enabling the joint extraction of entities and relations from the textual corpus. Second, the Neo4j graph database was used to achieve the storage and visualization of the risk event knowledge graph. Finally, the Cypher query language was used, and knowledge question-answering technologies were explored to support complex intelligent question-answering and auxiliary decision-making scenarios. The results show that the improved TPLinker model achieves an F1-score of 90.59% in the knowledge extraction task. Compared with the Copy Relation Representation Learning (CopyRRL) model, the Cascade Binary Tagging Framework (CasRel) model, and the standard TPLinker model, the knowledge extraction precision of the improved TPlinker model is improved by 20.79%, 4.46%, and 2.57%, respectively.

Key words: railway operational safety, risk events, knowledge graph, joint extraction, lexicon enhancement, Cypher query

中图分类号: