arrow
Return

On Using Large Language Models for Ontology-Based Data Access

delete2026-01-01
delete0
PRE
AI
S
Sergio Alejandro Gómez *
P
Pablo Rubén Fillottrani
DOI:10.1007/978-3-032-00718-6_20delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Ontology-Based Data Access (OBDA) focuses on representing legacy data sources through ontologies, enabled by a modern, distributed, and standardized data format like OWL. This approach facilitates intelligent querying and processing using SPARQL. However, implementing OBDA requires significant effort to develop software capable of interpreting and transforming data into ontologies. Recently, large language models (LLMs) have emerged as powerful tools for generating solutions from user-provided natural language input. In this paper, we examine the potential of LLMs to automate OBDA. Our hypothesis is that LLMs, such as ChatGPT and LLaMA, can effectively perform OBDA tasks. To test this, we analyzed their responses to various OBDA-related challenges. Our findings indicate that both ChatGPT and LLaMA can generate ontologies from free-text descriptions and structured data, such as tables in text or CSV format. Additionally, they can construct SPARQL queries, convert relational tables into ontologies, and correct integrity constraint violations when given appropriate instructions. However, limitations exist: the free version of ChatGPT struggles with processing large datasets, while LLaMA often provides only partial results.
Keywords:
Ontology-Based Data Access
Large Language Models
Ontologies
CSV

Journal

C
COMPUTER SCIENCE-CACIC 2024
IF:
0
Papers:
28
Citations:
0

Organization

N
National University of the South
Scholars:
110
Papers: 62
Citations: 0
Cited Papers

Cited Papers

Fine-Tuning Large Enterprise Language Models via Ontological Reasoning
err2023-10-15
err0
PREAI
errTeodoro Baldazzi; Luigi Bellomarini; Stefano Ceri; Andrea Colombo; Andrea Gentili; Emanuel Sallinger
errShare
errSave
LLMs4OL: Large Language Models for Ontology Learning
err2023-10-27
err0
PREAI
errHamed Babaei Giglou; Jennifer D’Souza; Sören Auer
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
The Artificial Intelligence Ontology: LLM-Assisted Construction of AI Concept Hierarchies
err2025-03-02
err0
errOAAI
errJoachimiak, Marcin P.; Miller, Mark A.; Caufield, J. Harry; Ly, Ryan; Harris, Nomi L.; Tritt, Andrew; Mungall, Christopher J.; Bouchard, Kristofer E.
errShare
errSave
Ontology-Based Data Access: A Survey
err2018-07-01
err0
errOAAI
errGuohui Xiao; Diego Calvanese; Roman Kontchakov; Domenico Lembo; Antonella Poggi; Riccardo Rosati; Michael Zakharyaschev
errShare
errSave
no more