Enhancing SPARQL Generation by Triplet-order-sensitive Pre-training

Semantic parsing that translates natural language queries to SPARQL is of great importance for Knowledge Graph Question Answering (KGQA) systems. Although pre-trained language models like T5 have achieved significant success in the Text-to-SPARQL task, their generated outputs still exhibit notable errors specific to the SPARQL language, such as triplet flips. To address this challenge and further improve the performance, we propose an additional pre-training stage with a new objective, Triplet Order Correction (TOC), along with the commonly used Masked Language Modeling (MLM), to collectively enhance the model's sensitivity to triplet order and SPARQL syntax. We also propose to verbalize the Internationalized Resource Identifiers (IRIs) during training. Our method achieves state-of-the-art performances on three widely-used benchmarks.

Authors

Institutions

Publication Details

Published
2024-10-20
DOI
https://doi.org/10.1145/3627673.3679916
Citations
1
Primary Topic
Medical Imaging Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.40
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing SPARQL Generation by Triplet-order-sensitive Pre-training

Zhouhan Lin, Yan He, Jiexing Qi, Chang Su et al.
1 citations
Medical Imaging Techniques and Applications
0.40
article

Enhancing SPARQL Generation by Triplet-order-sensitive Pre-training

Zhouhan Lin, Yan He, Jiexing Qi, Chang Su, Kai Zou
article en
1 citations

Abstract

Semantic parsing that translates natural language queries to SPARQL is of great importance for Knowledge Graph Question Answering (KGQA) systems. Although pre-trained language models like T5 have achieved significant success in the Text-to-SPARQL task, their generated outputs still exhibit notable errors specific to the SPARQL language, such as triplet flips. To address this challenge and further improve the performance, we propose an additional pre-training stage with a new objective, Triplet Order Correction (TOC), along with the commonly used Masked Language Modeling (MLM), to collectively enhance the model's sensitivity to triplet order and SPARQL syntax. We also propose to verbalize the Internationalized Resource Identifiers (IRIs) during training. Our method achieves state-of-the-art performances on three widely-used benchmarks.

Shanghai Jiao Tong University (CN), Google DeepMind (United Kingdom) (GB)
Openalex Percentile: Top 34%
Medical Imaging Techniques and Applications
0.40
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.