SGPT: A Generative Approach for SPARQL Query Generation From Natural Language Questions

被引:7
|
作者
Rony, Md Rashad Al Hasan [1 ,2 ]
Kumar, Uttam [3 ]
Teucher, Roman [1 ]
Kovriguina, Liubov [1 ]
Lehmann, Jens [1 ,2 ]
机构
[1] Fraunhofer Inst Intelligent Anal & Informat Syst, D-01069 Dresden, Germany
[2] Univ Bonn, Smart Data Analyt Res Grp, D-53115 Bonn, Germany
[3] Univ Bonn, Data Sci & Intelligent Syst Grp, D-53115 Bonn, Germany
关键词
Measurement; Linguistics; Syntactics; Resource description framework; Adaptation models; Standards; Training; Knowledge based systems; knowledge graph; information retrieval; query generation; language models;
D O I
10.1109/ACCESS.2022.3188714
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
SPARQL query generation from natural language questions is complex because it requires an understanding of both the question and underlying knowledge graph (KG) patterns. Most SPARQL query generation approaches are template-based, tailored to a specific knowledge graph and require pipelines with multiple steps, including entity and relation linking. Template-based approaches are also difficult to adapt for new KGs and require manual efforts from domain experts to construct query templates. To overcome this hurdle, we propose a new approach, dubbed SGPT, that combines the benefits of end-to-end and modular systems and leverages recent advances in large-scale language models. Specifically, we devise a novel embedding technique that can encode linguistic features from the question which enables the system to learn complex question patterns. In addition, we propose training techniques that allow the system to implicitly employ the graph-specific information (i.e., entities and relations) into the language model's parameters and generate SPARQL queries accurately. Finally, we introduce a strategy to adapt standard automatic metrics for evaluating SPARQL query generation. A comprehensive evaluation demonstrates the effectiveness of SGPT over state-of-the-art methods across several benchmark datasets.
引用
收藏
页码:70712 / 70723
页数:12
相关论文
共 50 条
  • [31] An Approach to Semantic Information Retrieval Based on Natural Language Query Understanding
    Di Martino, Beniamino
    [J]. CURRENT TRENDS IN WEB ENGINEERING, 2010, 6385s : 211 - 222
  • [32] Natural Language Query to SQL conversion using Machine Learning Approach
    Arefin, Minhazul
    Hossen, Kazi Mojammel
    Uddin, Mohammed Nasir
    [J]. 2021 3RD INTERNATIONAL CONFERENCE ON SUSTAINABLE TECHNOLOGIES FOR INDUSTRY 4.0 (STI), 2021,
  • [33] Data Agnostic RoBERTa-based Natural Language to SQL Query Generation
    Pal, Debaditya
    Sharma, Harsh
    Chaudhuri, Kaustubh
    [J]. 2021 6TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2021,
  • [34] Natural Language Generation from Ontologies
    Nguyen, Van
    Son, Tran Cao
    Pontelli, Enrico
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2019), 2019, 11372 : 64 - 81
  • [35] Action generation from natural language
    Funatsu, S
    Koyama, T
    Saito, S
    Tokunaga, T
    Nakajima, M
    [J]. ADVANCES IN MULTIMEDIA INFORMATION PROCESSING - PCM 2004, PT 3, PROCEEDINGS, 2004, 3333 : 15 - 22
  • [36] Natural Language Generation from Graphs
    Dong, Ngan T.
    Holder, Lawrence B.
    [J]. INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2014, 8 (03) : 335 - 384
  • [37] Natural Language Generation Approach for Automated Generation of Test Cases from Logical Specification of Requirements
    Sharma, Richa
    Biswas, K. K.
    [J]. EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, ENASE 2014, 2015, 551 : 125 - 139
  • [38] An Unsupervised Method for Attribute Identification from a Natural Language Query
    Bhaskaran, Rohith
    Chandavarkar, B. R.
    [J]. PROGRESS IN INTELLIGENT COMPUTING TECHNIQUES: THEORY, PRACTICE, AND APPLICATIONS, VOL 1, 2018, 518 : 543 - 549
  • [39] Formation of SQL from Natural Language Query using NLP
    Uma, M.
    Sneha, V
    Sneha, G.
    Bhuvana, J.
    Bharathi, B.
    [J]. 2019 SECOND INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE IN DATA SCIENCE (ICCIDS 2019), 2019,
  • [40] An Approach for generating best possible questions from the given text using Natural Language Processing
    Vaidya, Kimaya
    Bhagwatkar, Neha
    Singh, Aditi
    Borikar, Sneha
    Padwad, Hirkani
    [J]. INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2023, 14 (01): : 271 - 277