Benchmarking the Abilities of Large Language Models for RDF Knowledge Graph Creation and Comprehension: How Well Do LLMs Speak Turtle?
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are advancing at a rapid pace, with significant improvements at natural language processing and coding tasks. Yet, their ability to work with formal languages representing data, specifically within the realm of knowledge graph engineering, remains under-investigated. To evaluate the proficiency of various LLMs, we created a set of five tasks that probe their ability to parse, understand, analyze, and create knowledge graphs serialized in Turtle syntax. These tasks, each embodying distinct degrees of complexity and being able to scale with the size of the problem, have been integrated into our automated evaluation system, the LLM-KG-Bench. The evaluation encompassed four commercially available LLMs - GPT-3.5, GPT-4, Claude 1.3, and Claude 2.0, as well as two freely accessible offline models, GPT4All Vicuna and GPT4All Falcon 13B. This analysis offers an in-depth understanding of the strengths and shortcomings of LLMs in relation to their application within RDF knowledge graph engineering workflows utilizing Turtle representation. While our findings show that the latest commercial models outperform their forerunners in terms of proficiency with the Turtle language, they also reveal an apparent weakness. These models fall short when it comes to adhering strictly to the output formatting constraints, a crucial requirement in this context.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 9 of its 13 references that are in the map. First posted on arXiv 29 Sep 2023.
Builds on
9 of 13 references.
References · 9
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 668
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 210
- 2023LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunitiescited by 97
- 2023Enhancing Knowledge Graph Construction Using Large Language Modelscited by 44
- 2023LLM-assisted Knowledge Graph Engineering: Experiments with ChatGPTcited by 42
- 2023Iterative Zero-Shot LLM Prompting for Knowledge Graph Constructioncited by 25
- 2023Developing a Scalable Benchmark for Assessing Large Language Models in Knowledge Graph Engineeringcited by 13
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 2.
11 papers.
- 2024Assessing SPARQL capabilities of Large Language Modelscited by 14
- 2024Leveraging small language models for Text2SPARQL tasks to improve the resilience of AI assistancecited by 13
- 2024Human Evaluation of Procedural Knowledge Graph Extraction from Text with Large Language Modelscited by 4
- 2024Do LLMs Dream of Ontologies?cited by 3
- 2025LLM-KG-Bench 3.0: A Compass for SemanticTechnology Capabilities in the Ocean of LLMscited by 3
- 2025ARUQULA -- An LLM based Text2SPARQL Approach using ReAct and Knowledge Graph Exploration Utilitiescited by 3
- 2025How do Scaling Laws Apply to Knowledge Graph Engineering Tasks? The Impact of Model Size on Large Language Model Performancecited by 1
- 2025A systematic review of relation extraction task since the emergence of Transformerscited by 1
- 2025Characterizing Knowledge Graph Tasks in LLM Benchmarks Using Cognitive Complexity Frameworkscited by 0
- 2026From "Strings" to "Things" for Personal Knowledge Graphs: Evaluating LLM Triple Extraction for Recommendation Systemscited by 0
- 2026The Answer Path and the Grounding Instruction in LLM Question Answering over Knowledge Graphscited by 0
- 2026The Answer Path and the Grounding Instruction in LLM Question Answering over Knowledge Graphs9 Sep 2026
- 2026From "Strings" to "Things" for Personal Knowledge Graphs: Evaluating LLM Triple Extraction for Recommendation Systems18 Apr 2026
- 2025A systematic review of relation extraction task since the emergence of Transformers5 Nov 2025
- 2025ARUQULA -- An LLM based Text2SPARQL Approach using ReAct and Knowledge Graph Exploration Utilities2 Oct 2025
- 2025Characterizing Knowledge Graph Tasks in LLM Benchmarks Using Cognitive Complexity Frameworks17 Sep 2025
- 2025How do Scaling Laws Apply to Knowledge Graph Engineering Tasks? The Impact of Model Size on Large Language Model Performance22 May 2025
- 2025LLM-KG-Bench 3.0: A Compass for SemanticTechnology Capabilities in the Ocean of LLMs19 May 2025
- 2024Human Evaluation of Procedural Knowledge Graph Extraction from Text with Large Language Models27 Nov 2024
- 2024Assessing SPARQL capabilities of Large Language Models9 Sep 2024
- 2024Leveraging small language models for Text2SPARQL tasks to improve the resilience of AI assistance27 May 2024
- 2024Do LLMs Dream of Ontologies?26 Jan 2024