IADIS International Journal on Computer Science and Information Systems

Published by IADIS (International Association for Development of the Information Society) • ISSN (Online): 1646-3692 • ISSN (Print): 1646-3692
100% Open Access
Double-Blind Peer Review
Crossref DOI Persistent IDs
Open Access Peer-Reviewed Original Research

Post-hoc Natural-language Explanations of Component-based Knowledge Graph Question Answering Systems Generated by Llms

Dennis Schiese *
Aleksandr Perevalov *
Andreas Both *
* Leipzig University of Applied Sciences, Karl-Liebknecht-Straße 132, 04277 Leipzig, Germany (Portugal)
* Leipzig University of Applied Sciences, Karl-Liebknecht-Straße 132, 04277 Leipzig, Germany (Portugal)
* Leipzig University of Applied Sciences, Karl-Liebknecht-Straße 132, 04277 Leipzig, Germany (Portugal)

Abstract

Modern software systems have become so complex that explaining their decisions poses significant challenges for both developers and users. This article addresses the explainability of component -based Knowledge Graph Question Answering (KGQA) systems, where components often rely on AI-driven processes. Such processes can be opaque, making it difficult even for KGQA experts to interpret the underlying behavior and outcomes. To tackle this issue, we propose an approach tha t leverages the input and output data flows of system components as a basis for representing their behavior and generating explanations. This enables users to better understand how decisions are made. In the KGQA framework considered here, component data flows are expressed as SPARQL queries (inputs) and RDF triples (outputs). Consequently, our work also provides insights into verbalizing these data types. Through experiments, we evaluate our approach, comparing template-based explanation generation (baseline) with automatic generation using Large Language Models (LLMs) configured in various ways. The results demonstrate that LLM-generated explanations are of high quality and generally outperform template-based methods based on user evaluations. This approac h thus facilitates the automated natural -language explanation of KGQA components’ behavior and decisions, contextualized within RDF and SPARQL representations.

Keywords

Explainable AI Large Language Models Knowledge Graphs RDF SPARQL Question Answering
Full-Text PDF Available

Read Complete Peer-Reviewed Manuscript

Includes full econometric models, data tables, policy recommendations, declarations, and citations.

Declarations & Ethics

Funding: This research received academic dissemination support through ESCAP / JournalsHub publishing programs.
Conflicts of Interest: The authors declare no competing financial or institutional interests.
Peer Review: Double-blind peer reviewed by international subject specialists.
License: Creative Commons Attribution 4.0 International (CC BY 4.0).
How to Cite This Article
APA / MLA / BibTeX
Schiese, et al. (2025). Post-hoc Natural-language Explanations of Component-based Knowledge Graph Question Answering Systems Generated by Llms. IADIS International Journal on Computer Science and Information Systems, 20(1). https://doi.org/10.33965/ijcsis_2025_v20i1_04
Schiese, et al. "Post-hoc Natural-language Explanations of Component-based Knowledge Graph Question Answering Systems Generated by Llms." IADIS International Journal on Computer Science and Information Systems, vol. 20, no. 1, 2025. https://doi.org/10.33965/ijcsis_2025_v20i1_04
Schiese, et al. "Post-hoc Natural-language Explanations of Component-based Knowledge Graph Question Answering Systems Generated by Llms." IADIS International Journal on Computer Science and Information Systems 20, no. 1 (2025). https://doi.org/10.33965/ijcsis_2025_v20i1_04