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

48Citations
Citations of this article
39Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

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.

Cite

CITATION STYLE

APA

Rony, M. R. A. H., Kumar, U., Teucher, R., Kovriguina, L., & Lehmann, J. (2022). SGPT: A Generative Approach for SPARQL Query Generation from Natural Language Questions. IEEE Access, 10, 70712–70723. https://doi.org/10.1109/ACCESS.2022.3188714

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free