ShortPathQA: A Dataset for Controllable Fusion of Large Language Models with Knowledge Graphs
Abstract
In this work, we release the Shortest Path subgraph Question Answering (ShortPathQA) dataset, the first dataset that provides textual questions with pre-computed relevant subgraphs retrieved from the Wikidata Knowledge Graph (KG), standardizing the evaluation framework for Knowledge Graph Question Answering (KGQA). For this purpose, we utilize the Mintaka dataset for both training and testing and additionally create a manual question-answering subset for testing. Our baseline experiments with both supervised approaches and unsupervised Large Language Model (LLM) inference indicate that even a simplified KGQA formulation with given KG subgraphs and candidate answers remains challenging. Our analysis has shown that LLMs are unable to correctly process and utilize graph data structures without detailed prompt engineering or model tuning. This limitation highlights the need for the creation of this dataset as a training ground for the development of methods that enable LLMs to work more effectively with graph data.
BibTeX
@inproceedings{salnikov2025shortpathqa,
author = {Mikhail Salnikov and Andrey Sakhovskiy and Irina Nikishina and Aida Usmanova and Angelie Kraft and Cedric Möller and Debayan Banerjee and Junbo Huang and Longquan Jiang and Rana Abdullah and Xi Yan and Elena Tutubalina and Ricardo Usbeck and Alexander Panchenko},
title = {{ShortPathQA: A Dataset for Controllable Fusion of Large Language Models with Knowledge Graphs}},
booktitle = {NLDB},
year = {2025},
doi = {10.1007/978-3-031-97141-9\_7},
}Ask Althea to put this paper to the test.
Loading related content...