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 条
  • [1] A Comprehensive Evaluation of Neural SPARQL Query Generation From Natural Language Questions
    Diallo, Papa Abdou Karim Karou
    Reyd, Samuel
    Zouaq, Amal
    [J]. IEEE ACCESS, 2024, 12 : 125057 - 125078
  • [2] Semantic query graph based SPARQL generation from natural language questions
    Shengli Song
    Wen Huang
    Yulong Sun
    [J]. Cluster Computing, 2019, 22 : 847 - 858
  • [3] Semantic query graph based SPARQL generation from natural language questions
    Song, Shengli
    Huang, Wen
    Sun, Yulong
    [J]. CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 1): : 847 - 858
  • [4] Automated conversion from natural language query to SPARQL query
    Jung, Haemin
    Kim, Wooju
    [J]. JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2020, 55 (03) : 501 - 520
  • [5] Automated conversion from natural language query to SPARQL query
    Haemin Jung
    Wooju Kim
    [J]. Journal of Intelligent Information Systems, 2020, 55 : 501 - 520
  • [6] Intelligent SPARQL Query Generation for Natural Language Processing Systems
    Chen, Yi-Hui
    Lu, Eric Jui-Lin
    Ou, Ting-An
    [J]. IEEE ACCESS, 2021, 9 : 158638 - 158650
  • [7] Towards an automatic SPARQL query generation from ontology competency questions
    Benhocine, Karim
    Hansali, Adel
    Zemmouchi-Ghomari, Leila
    Ghomari, Abdessamed Reda
    [J]. International Journal of Computers and Applications, 2022, 44 (10) : 971 - 980
  • [8] AskNow: A Framework for Natural Language Query Formalization in SPARQL
    Dubey, Mohnish
    Dasgupta, Sourish
    Sharma, Ankit
    Hoeffner, Konrad
    Lehmann, Jens
    [J]. SEMANTIC WEB: LATEST ADVANCES AND NEW DOMAINS, 2016, 9678 : 300 - 316
  • [9] A Method of Natural Language Understanding on SPARQL Ontology Query
    Yang, Tianqi
    Zhang, Zongren
    [J]. 2011 9TH WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION (WCICA 2011), 2011, : 394 - 397
  • [10] Generative Design Ideation: A Natural Language Generation Approach
    Zhu, Qihao
    Luo, Jianxi
    [J]. DESIGN COMPUTING AND COGNITION'22, 2023, : 39 - 50