RAG-Based Natural Language Interface for Goal-Oriented Knowledge Graphs and Its Evaluation
Procedural knowledge is essential in specialized domains, and natural language tools for retrieving procedural knowledge are necessary for non-expert users to facilitate their understanding and learning. In this study, we focus on function decomposition trees, a framework for representing procedural knowledge, and propose a natural language interface leveraging Retrieval-Augmented Generation (RAG). The natural language interface converts the user’s inputs into SPARQL queries, retrieving relevant data and subsequently presenting them in an accessible and chat-based format. Such a flexible and purpose-driven search facilitates users’ understanding of functions of artifacts or human actions and their performance of these actions. We demonstrate that the tool effectively retrieves actions, goals, and dependencies using an illustrative real-world example of a function decomposition tree. In addition, we evaluated the system by comparing it with ChatGPT 4o and Microsoft GraphRAG. The results suggest that the system can deliver responses that are both necessary and sufficient for users’ needs, while the outputs of other systems lack the key elements and return redundant information.
Authors
- Kazuhiro Kuwabara
- Keiji Yano
- Yoshinobu Kitamura
Institutions
- Ritsumeikan University (JP)
Publication Details
- Journal
- Information
- Published
- 2026-01-07
- DOI
- https://doi.org/10.3390/info17010055
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ritsumeikan University
- Japan Society for the Promotion of Science