Enhancing Manufacturing Knowledge Access with LLMs and Context-aware Prompting
Not on the map. Why?
Abstract (arXiv)
Knowledge graphs (KGs) have transformed data management within the manufacturing industry, offering effective means for integrating disparate data sources through shared and structured conceptual schemas. However, harnessing the power of KGs can be daunting for non-experts, as it often requires formulating complex SPARQL queries to retrieve specific information. With the advent of Large Language Models (LLMs), there is a growing potential to automatically translate natural language queries into the SPARQL format, thus bridging the gap between user-friendly interfaces and the sophisticated architecture of KGs. The challenge remains in adequately informing LLMs about the relevant context and structure of domain-specific KGs, e.g., in manufacturing, to improve the accuracy of generated queries. In this paper, we evaluate multiple strategies that use LLMs as mediators to facilitate information retrieval from KGs. We focus on the manufacturing domain, particularly on the Bosch Line Information System KG and the I40 Core Information Model. In our evaluation, we compare various approaches for feeding relevant context from the KG to the LLM and analyze their proficiency in transforming real-world questions into SPARQL queries. Our findings show that LLMs can significantly improve their performance on generating correct and complete queries when provided only the adequate context of the KG schema. Such context-aware prompting techniques help LLMs to focus on the relevant parts of the ontology and reduce the risk of hallucination. We anticipate that the proposed techniques help LLMs to democratize access to complex data repositories and empower informed decision-making in manufacturing settings.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 9 of its 20 references that are in the map. First posted on arXiv 30 Jul 2025.
Builds on
9 of 20 references.
References · 9
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 668
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunitiescited by 97
- 2024SPARQL Generation: an analysis on fine-tuning OpenLLaMA for Question Answering over a Life Science Knowledge Graphcited by 19
- 2017SPARQL as a Foreign Languagecited by 13
- 2023Leveraging LLMs in Scholarly Knowledge Graph Question Answeringcited by 13
- 2018Semantic Parsing Natural Language into SPARQL: Improving Target Language Representation with Neural Attentioncited by 8
- 2023Knowledge Graph Question Answering for Materials Science (KGQA4MAT): Developing Natural Language Interface for Metal-Organic Frameworks Knowledge Graph (MOF-KG) Using LLMcited by 5
- 2016Ontology Verbalization using Semantic-Refinementcited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.