Mineral question-answering system in Chinese based on multi-hop reasoning in knowledge graphs

被引:0
|
作者
Ji, Xiaohui [1 ]
Dong, Yuhang [1 ]
Yang, Zhongji [1 ]
Yang, Mei [2 ]
He, Mingyue [2 ]
Wang, Yuzhu [1 ]
机构
[1] School of Information Engineering, China University of Geosciences (Beijing), Beijing
[2] National Mineral Rock and Fossil Specimens Resource Center from MOST, China University of Geosciences (Beijing), Beijing
关键词
knowledge graph; mineral; multi-hop reasoning; question answering;
D O I
10.13745/j.esf.sf.2024.5.11
中图分类号
学科分类号
摘要
Mineral knowledge is important for geosciences research. Some mineral databases are used for storing and retrieving mineral knowledge, and common search engines can also answer mineral questions. But the mineral databases cannot answer mineral questions in natural language and the answers returned from the common search engines need to be filtered. To solve the above problems knowledge graphs have been used; however, the current mineral question-answering based on knowledge graphs can only answer simple questions involving one triplet, but not complex questions involving multiple triplets and multi-hop reasoning. This paper presents a mineral question-answering system based on multi-hop reasoning in knowledge graphs. The mineral entities, relations and questions are first transformed into vectors of complex domain to obtain their semantic and reasoning relations by using the ComplEx model, and Bert-LSTM-CRF is applied to obtain the head of the question. Candidate entities of the head are then obtained by calculating the edit distance and word segmentation, and a fully connected network is constructed to obtain the most related entity of the head of the question from the candidate entities and the entity is the start of the reasoning. Next, the entity and question vectors are concatenated into an input vector into the fully connected network to get their most related relation; afterward another entity most related to the starting entity/relation can be obtained from the mineral knowledge graph to start the reasoning of the next hop; the question of the next hop is updated by the concatenated vector of this hop to bring the reasoning information of this hop to the next hop. This process continues until the most related relation obtained is the stop sign predefined. The last entity obtained in this process is the answer to the question and the reasoning path is also remembered. This method is implemented using Python under Tensorflow and compared with related methods, which show the effectiveness of the method. Using this method, a question-answering system capable of answering complex mineral questions is developed under the front and back end separation architecture employing RESTful API, React, Ajax, echarts and Flask, which provides a platform for acquiring mineral knowledge and performing geosciences research. © 2024 Science Frontiers editorial department. All rights reserved.
引用
收藏
页码:37 / 46
页数:9
相关论文
共 13 条
  • [1] YU Y Q, WANG Y Z., MU J Q, Et al., Chinese mineral named entity recognition based on BERT model, Expert Systems with Applications, 206, (2022)
  • [2] LIU C J, Jl X H, DONG Y H, Et al., Chinese mineral question and answering system based on knowledge graph, Expert Systems with Applications, 231, (2023)
  • [3] Y1H W T, CHANG M W, HE X D, Et al., Semantic parsing via staged query graph generation: question answering with knowledge base, Proceedings of the 53rd annual meeting of the association for computational linguistics and the 7th international joint conference on natural language processing (volume 1: long papers), pp. 1321-1331, (2015)
  • [4] ZHENG W G, YU J X, ZOU L, Et al., Question answering over knowledge graphs, Proceedings of the VLDB Endowment, 11, 11, pp. 1373-1386, (2018)
  • [5] SAXENA A., TRIPATHI A, TALUKDAR P., Improving multi-hop question answering over knowledge graphs using knowledge base embeddings, Proceedings of the 58th annual meeting of the association for computational linguistics, pp. 4498-4507, (2020)
  • [6] DOWNS B., IMA Mineral List
  • [7] BARTHELMY D., Mineralogy database
  • [8] Mindat
  • [9] American mineralogist crystal structure database
  • [10] ABUJABAL A, YAHYA M, RIEDEWALD M, Et al., Automated template generation for question answering over knowledge graphs, Proceedings of the 26th international conference on World Wide Web, pp. 1191-1200, (2017)