Large Language Models (LLMs) are increasingly adopted to support user interaction with complex data management systems. While recent research has explored their use in tasks such as multidimensional design and translation of analytical queries from natural language into MDX, little attention has been devoted to assist users in querying data warehouse (DW) metadata. In this paper, we investigate the use of LLMs to answer natural language queries on a DW schema. To this end, we rely on a knowledge graph (KG) that represents DW metadata according to the Dimensional Fact Model. We define a benchmark of queries organized into four categories and evaluate the ability of GPT to answer them, comparing them to the baseline capabilities offered by a CASE tool for DW design. We also assess the benefits of enriching the KG with natural language definitions and descriptions. The results show that LLMs can significantly improve the accessibility of DW metadata, while the accuracy varies depending on the query type and the level of semantic enrichment provided.

Francia, M., Gallinucci, E., Golfarelli, M., Pasini, M., Rizzi, S. (2026). LLM-Assisted Metadata Query Answering on Data Warehouses. Springer Nature [10.1007/978-3-032-34896-8_11].

LLM-Assisted Metadata Query Answering on Data Warehouses

Matteo Francia;Enrico Gallinucci;Matteo Golfarelli;Manuele Pasini;Stefano Rizzi
2026

Abstract

Large Language Models (LLMs) are increasingly adopted to support user interaction with complex data management systems. While recent research has explored their use in tasks such as multidimensional design and translation of analytical queries from natural language into MDX, little attention has been devoted to assist users in querying data warehouse (DW) metadata. In this paper, we investigate the use of LLMs to answer natural language queries on a DW schema. To this end, we rely on a knowledge graph (KG) that represents DW metadata according to the Dimensional Fact Model. We define a benchmark of queries organized into four categories and evaluate the ability of GPT to answer them, comparing them to the baseline capabilities offered by a CASE tool for DW design. We also assess the benefits of enriching the KG with natural language definitions and descriptions. The results show that LLMs can significantly improve the accessibility of DW metadata, while the accuracy varies depending on the query type and the level of semantic enrichment provided.
2026
Proceedings 28th International Conference on Big Data Analytics and Knowledge Discovery
131
145
Francia, M., Gallinucci, E., Golfarelli, M., Pasini, M., Rizzi, S. (2026). LLM-Assisted Metadata Query Answering on Data Warehouses. Springer Nature [10.1007/978-3-032-34896-8_11].
Francia, Matteo; Gallinucci, Enrico; Golfarelli, Matteo; Pasini, Manuele; Rizzi, Stefano
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1080790
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex ND
social impact