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
来源
关键词
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 条
  • [41] New avenues in knowledge bases for natural language processing
    Cambria, Erik
    Schuller, Bjorn
    Xia, Yunqing
    White, Bebo
    KNOWLEDGE-BASED SYSTEMS, 2016, 108 : 1 - 4
  • [42] A pictorial query language for querying geographic databases using positional and OLAP operators
    Pourabbas, E
    Rafanelli, M
    SIGMOD RECORD, 2002, 31 (02) : 22 - 27
  • [43] Querying semistructured data using a rule-oriented XML query language
    Pankowski, T
    ECAI 2002: 15TH EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2002, 77 : 302 - 306
  • [44] Automated Knowledge Provider System with Natural Language Query Processing
    Mukherjee, Prasenjit
    Chakraborty, Baisakhi
    IETE TECHNICAL REVIEW, 2016, 33 (05) : 525 - 538
  • [45] CNL-RDF-Query: A controlled natural language interface for querying ontologies and relational databases
    Henarejos-Blasco, Jose
    Antonio Garcia-Diaz, Jose
    Apolinario-Arzube, Oscar
    Valencia-Garcia, Rafael
    PROCEEDINGS OF THE 10TH EURO-AMERICAN CONFERENCE ON TELEMATICS AND INFORMATION SYSTEMS (EATIS 2020), 2020,
  • [46] USING FP AS A QUERY LANGUAGE FOR RELATIONAL DATA-BASES
    BOSSI, A
    GHEZZI, C
    COMPUTER LANGUAGES, 1984, 9 (01): : 25 - 37
  • [47] Query Failure Explanation in Inconsistent Knowledge Bases Using Argumentation
    Arioua, Abdallah
    Tamani, Nouredine
    Croitoru, Madalina
    Buche, Patrice
    COMPUTATIONAL MODELS OF ARGUMENT, 2014, 266 : 101 - 108
  • [48] Leveraging Symbolic Knowledge Bases for Commonsense Natural Language Inference Using Pattern Theory
    Aakur, Sathyanarayanan N.
    Sarkar, Sudeep
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2023, 45 (11) : 13185 - 13202
  • [49] LLM4QA: Leveraging Large Language Model for Efficient Knowledge Graph Reasoning with SPARQL Query
    Lan, Mingjing
    Xia, Yi
    Zhou, Gang
    Huang, Ningbo
    Li, Zhufeng
    Wu, Hao
    JOURNAL OF ADVANCES IN INFORMATION TECHNOLOGY, 2024, 15 (10) : 1157 - 1162
  • [50] Natural Language Querying over Databases Using Cascaded CRFs
    Indukuri, Kishore Varma
    Krishnamoorthy, Srikumar
    Krishna, P. Radha
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, 2010, 6295 : 567 - 570