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 条
  • [1] Natural language query formalization to SPARQL for querying knowledge bases using Rasa
    Mishra, Divyansh Shankar
    Agarwal, Abhinav
    Swathi, B. P.
    Akshay, K. C.
    PROGRESS IN ARTIFICIAL INTELLIGENCE, 2022, 11 (03) : 193 - 206
  • [2] AskNow: A Framework for Natural Language Query Formalization in SPARQL
    Dubey, Mohnish
    Dasgupta, Sourish
    Sharma, Ankit
    Hoeffner, Konrad
    Lehmann, Jens
    SEMANTIC WEB: LATEST ADVANCES AND NEW DOMAINS, 2016, 9678 : 300 - 316
  • [3] Automated conversion from natural language query to SPARQL query
    Jung, Haemin
    Kim, Wooju
    JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2020, 55 (03) : 501 - 520
  • [4] Automated conversion from natural language query to SPARQL query
    Haemin Jung
    Wooju Kim
    Journal of Intelligent Information Systems, 2020, 55 : 501 - 520
  • [5] B-SPARQL: A typed language for Querying the Big Knowledge
    Lu, Ruqian
    Wang, Chuanqing
    Huang, Xikun
    Zhang, Songmao
    11TH IEEE INTERNATIONAL CONFERENCE ON KNOWLEDGE GRAPH (ICKG 2020), 2020, : 173 - 180
  • [6] A Method of Natural Language Understanding on SPARQL Ontology Query
    Yang, Tianqi
    Zhang, Zongren
    2011 9TH WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION (WCICA 2011), 2011, : 394 - 397
  • [7] Natural language question answering over knowledge graph: the marriage of SPARQL query and keyword search
    Hu, Xin
    Duan, Jiangli
    Dang, Depeng
    KNOWLEDGE AND INFORMATION SYSTEMS, 2021, 63 (04) : 819 - 844
  • [8] Natural language question answering over knowledge graph: the marriage of SPARQL query and keyword search
    Xin Hu
    Jiangli Duan
    Depeng Dang
    Knowledge and Information Systems, 2021, 63 : 819 - 844
  • [9] Modularized Knowledge Bases Using Contexts, Conglomerates and a Query Language
    Goczyla, Krzysztof
    Waloszek, Aleksander
    Waloszek, Wojciech
    Zawadzka, Teresa
    INTELLIGENT TOOLS FOR BUILDING A SCIENTIFIC INFORMATION PLATFORM, 2012, 390 : 179 - 201
  • [10] Querying knowledge graphs in natural language
    Shiqi Liang
    Kurt Stockinger
    Tarcisio Mendes de Farias
    Maria Anisimova
    Manuel Gil
    Journal of Big Data, 8