MEGA Hub

MARS: Multi-hop Adaptive Retrieval and SPARQL Generation for KGQA

Authors

Do you know Nikit Srivastava?You can claim authorship or link another user.Do you know Daniel Vollmers?You can claim authorship or link another user.Do you know René Speck?You can claim authorship or link another user.Do you know Nikolaos Karalis?You can claim authorship or link another user.Do you know Hamada M. Zahera?You can claim authorship or link another user.Do you know Axel-Cyrille Ngonga Ngomo?You can claim authorship or link another user.

Abstract

Large language models (LLMs) have demonstrated strong reasoning performance, but their tendency to hallucinate limits their reliability in knowledge-intensive tasks requiring up-to-date and grounded information. Combining knowledge graphs (KGs) with LLMs facilitates the use of explicit symbolic knowledge that can be continuously updated without costly fine-tuning, while benefiting from rapidly advancing LLM reasoning. We propose MARS, a scalable knowledge graph question answering (KGQA) approach that requires no model fine-tuning. Rather than relying on open-ended agentic exploration, MARS performs a structured retrieval procedure that links question entities to the KG and iteratively retrieves relevant next-hop information. At each step, MARS decides whether to continue graph traversal or to generate the final SPARQL query, allowing the model to adapt the retrieval depth to the question while keeping the overall pipeline more predictable than fully agentic approaches. We evaluate MARS on three established KGQA benchmarks across several LLMs and settings, including multilingual evaluation, and provide insights through ablation studies and error analysis. Our approach achieves competitive performance relative to state-of-the-art methods while remaining efficient and scalable. The evaluation results, code and resources are publicly available: https://github.com/dice-group/mars-kgqa.

Community

00

Publication notes

Author note
EKAW 2026 (https://ekaw2026.di.unito.it/accepted-posters-and-demos)