Ontology-Guided, Hybrid Prompt Learning for Generalization in Knowledge Graph Question Answering
Not on the map. Why?
Abstract (arXiv)
Most existing Knowledge Graph Question Answering (KGQA) approaches are designed for a specific KG, such as Wikidata, DBpedia or Freebase. Due to the heterogeneity of the underlying graph schema, topology and assertions, most KGQA systems cannot be transferred to unseen Knowledge Graphs (KGs) without resource-intensive training data. We present OntoSCPrompt, a novel Large Language Model (LLM)-based KGQA approach with a two-stage architecture that separates semantic parsing from KG-dependent interactions. OntoSCPrompt first generates a SPARQL query structure (including SPARQL keywords such as SELECT, ASK, WHERE and placeholders for missing tokens) and then fills them with KG-specific information. To enhance the understanding of the underlying KG, we present an ontology-guided, hybrid prompt learning strategy that integrates KG ontology into the learning process of hybrid prompts (e.g., discrete and continuous vectors). We also present several task-specific decoding strategies to ensure the correctness and executability of generated SPARQL queries in both stages. Experimental results demonstrate that OntoSCPrompt performs as well as SOTA approaches without retraining on a number of KGQA datasets such as CWQ, WebQSP and LC-QuAD 1.0 in a resource-efficient manner and can generalize well to unseen domain-specific KGs like DBLP-QuAD and CoyPu KG Code: hrefhttps://github.com/LongquanJiang/OntoSCPrompthttps://github.com/LongquanJiang/OntoSCPrompt
Key facts. Cited by 3 papers in the map (data through 13 Oct 2026). Builds on 25 of its 35 references that are in the map. First posted on arXiv 6 Feb 2025.
Builds on
25 of 35 references.
References · 25
- 2022Survey of Hallucination in Natural Language Generationcited by 2,068
- 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 188
- 2019PullNet: Open Domain Question Answering with Iterative Retrieval on Knowledge Bases and Textcited by 182
- 2017Variational Reasoning for Question Answering with Knowledge Graphcited by 170
- 2020Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Basescited by 170
- 2018Open Domain Question Answering Using Early Fusion of Knowledge Bases and Textcited by 167
- 2017Controllable Abstractive Summarizationcited by 110
- 2018Coarse-to-Fine Decoding for Neural Semantic Parsingcited by 110
- 2022Subgraph Retrieval Enhanced Model for Multi-hop Knowledge Base Question Answeringcited by 93
- 2023Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Familycited by 71
- 2023Retrieve-Rewrite-Answer: A KG-to-Text Enhanced LLMs Framework for Knowledge Graph Question Answeringcited by 64
13 more
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2021Machine Translation Decoding beyond Beam Searchcited by 55
- 2020Leveraging Abstract Meaning Representation for Knowledge Base Question Answeringcited by 53
- 2023Text2KGBench: A Benchmark for Ontology-Driven Knowledge Graph Generation from Textcited by 48
- 2020Compositional Generalization via Semantic Taggingcited by 32
- 2019Message Passing for Complex Question Answering over Knowledge Graphscited by 24
- 2023ReasoningLM: Enabling Structural Subgraph Reasoning in Pre-trained Language Models for Question Answering over Knowledge Graphcited by 23
- 2023An Empirical Study of Pre-trained Language Models in Simple Knowledge Graph Question Answeringcited by 19
- 2023DBLP-QuAD: A Question Answering Dataset over the DBLP Scholarly Knowledge Graphcited by 18
- 2021Outlining and Filling: Hierarchical Query Graph Generation for Answering Complex Questions over Knowledge Graphscited by 16
- 2022ReaRev: Adaptive Reasoning for Question Answering over Knowledge Graphscited by 16
- 2021A Two-Stage Approach towards Generalization in Knowledge Base Question Answeringcited by 15
- 2022Exploiting Hybrid Semantics of Relation Paths for Multi-hop Question Answering Over Knowledge Graphscited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026S-Path-RAG: Semantic-Aware Shortest-Path Retrieval Augmented Generation for Multi-Hop Knowledge Graph Question Answeringcited by 3
- 2026Ontology-Guided Evidence Path Inference for Multi-hop Knowledge Graph Question Answeringcited by 0
- 2026Towards Researcher Agents for Knowledge-Graph Question Answeringcited by 0
- 2026Towards Researcher Agents for Knowledge-Graph Question Answering7 Aug 2026
- 2026Ontology-Guided Evidence Path Inference for Multi-hop Knowledge Graph Question Answering26 Jun 2026
- 2026S-Path-RAG: Semantic-Aware Shortest-Path Retrieval Augmented Generation for Multi-Hop Knowledge Graph Question Answering5 Mar 2026