Natural language query formalization to SPARQL for querying knowledge bases using Rasa

被引:0
|
作者
Divyansh Shankar Mishra
Abhinav Agarwal
B. P. Swathi
K C. Akshay
机构
[1] Manipal Academy of Higher Education,Department of Information and Communication Technology, Manipal Institute of Technology
来源
Progress in Artificial Intelligence | 2022年 / 11卷
关键词
Rasa; NLU; Natural language query formalization; SPARQL; Ontology;
D O I
暂无
中图分类号
学科分类号
摘要
The idea of data to be semantically linked and the subsequent usage of this linked data with modern computer applications has been one of the most important aspects of Web 3.0. However, the actualization of this aspect has been challenging due to the difficulties associated with building knowledge bases and using formal languages to query them. In this regard, SPARQL, a recursive acronym for standard query language and protocol for Linked Open Data and Resource Description Framework databases, is a most popular formal querying language. Nonetheless, writing SPARQL queries is known to be difficult, even for experts. Natural language query formalization, which involves semantically parsing natural language queries to their formal language equivalents, has been an essential step in overcoming this steep learning curve. Recent work in the field has seen the usage of artificial intelligence (AI) techniques for language modelling with adequate accuracy. This paper discusses a design for creating a closed domain ontology, which is then used by an AI-powered chat-bot that incorporates natural language query formalization for querying linked data using Rasa for entity extraction after intent recognition. A precision–recall analysis is performed using in-built Rasa tools in conjunction with our own testing parameters, and it is found that our system achieves a precision of 0.78, recall of 0.79 and F1-score of 0.79, which are better than the current state of the art.
引用
收藏
页码:193 / 206
页数:13
相关论文
共 50 条
  • [21] SGPT: A Generative Approach for SPARQL Query Generation From Natural Language Questions
    Rony, Md Rashad Al Hasan
    Kumar, Uttam
    Teucher, Roman
    Kovriguina, Liubov
    Lehmann, Jens
    IEEE ACCESS, 2022, 10 : 70712 - 70723
  • [22] Semantic query graph based SPARQL generation from natural language questions
    Shengli Song
    Wen Huang
    Yulong Sun
    Cluster Computing, 2019, 22 : 847 - 858
  • [23] Semantic query graph based SPARQL generation from natural language questions
    Song, Shengli
    Huang, Wen
    Sun, Yulong
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 1): : 847 - 858
  • [24] Natural Language Query to Formal Syntax for Querying Semantic Web Documents
    Suryanarayana, D.
    Hussain, S. Mahaboob
    Kanakam, Prathyusha
    Gupta, Sumit
    PROGRESS IN ADVANCED COMPUTING AND INTELLIGENT ENGINEERING, VOL 2, 2018, 564 : 631 - 637
  • [25] A Natural Language Interface for Querying General and Individual Knowledge
    Amsterdamer, Yael
    Kukliansky, Anna
    Milo, Tova
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (12): : 1430 - 1441
  • [26] Advanced Query Functionalities in Natural Logic Knowledge Bases
    Andreasen, Troels
    Bulskov, Henrik
    Nilsson, Jorgen Fischer
    INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2024, 17 (01)
  • [27] Explicable knowledge graph (X-KG): generating knowledge graphs for explainable artificial intelligence and querying them by translating natural language queries to SPARQL
    Shaikh N.
    Chauhan T.
    Patil J.
    Sonawane S.
    International Journal of Information Technology, 2024, 16 (3) : 1605 - 1615
  • [28] Natural language query handling using extended knowledge provider system
    Mukherjee, Prasenjit
    Chattopadhyay, Atanu
    Chakraborty, Baisakhi
    Nandi, Debashis
    INTERNATIONAL JOURNAL OF KNOWLEDGE-BASED AND INTELLIGENT ENGINEERING SYSTEMS, 2021, 25 (01) : 1 - 19
  • [29] On querying OBO ontologies using a DAG pattern query language
    Gupta, Amarnath
    Santini, Simone
    DATA INTEGRATION IN THE LIFE SCIENCES, PROCEEDINGS, 2006, 4075 : 152 - 167
  • [30] Generating Query Facets Using Knowledge Bases
    Jiang, Zhengbao
    Dou, Zhicheng
    Wen, Ji-Rong
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2017, 29 (02) : 315 - 329