GRISP: Guided Recurrent IRI Selection over SPARQL Skeletons

Sebastian Walter, Hannah Bast
4/22/2026
cs.CL

No confident code implementation found for this paper.

Abstract

We present GRISP (Guided Recurrent IRI Selection over SPARQL Skeletons), a novel SPARQL-based question-answering method over knowledge graphs based on fine-tuning a small language model (SLM). Given a natural-language question, the method first uses the SLM to generate a natural-language SPARQL query skeleton, and then to re-rank and select knowledge graph items to iteratively replace the natural-language placeholders using knowledge graph constraints. The SLM is jointly trained on skeleton generation and list-wise re-ranking data generated from standard question-query pairs. We evaluate the method on common Wikidata and Freebase benchmarks, and achieve better results than other state-of-the-art methods in a comparable setting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{walter2026grisp,
  title  = {GRISP: Guided Recurrent IRI Selection over SPARQL Skeletons},
  author = {Sebastian Walter and Hannah Bast},
  year   = {2026},
  eprint = {2604.21133},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.21133v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.21133.svg)](https://codeofpaper.com/paper/2604.21133)

Discussion