BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs

One of the key challenges of Energy Management and Information Systems in buildings is related to the lack of interoperability, due to the absence of standardization of the underlying data models. In recent years, there has been a growing interest in using ontology-based metadata models to address t...

Full description

Saved in:
Bibliographic Details
Main Authors: Marco Perini, Daniele Antonucci, Rocco Giudice, Marco Savino Piscitelli, Alfonso Capozzoli
Format: Article
Language:English
Published: Elsevier 2025-05-01
Series:SoftwareX
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352711025000883
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850139679848923136
author Marco Perini
Daniele Antonucci
Rocco Giudice
Marco Savino Piscitelli
Alfonso Capozzoli
author_facet Marco Perini
Daniele Antonucci
Rocco Giudice
Marco Savino Piscitelli
Alfonso Capozzoli
author_sort Marco Perini
collection DOAJ
description One of the key challenges of Energy Management and Information Systems in buildings is related to the lack of interoperability, due to the absence of standardization of the underlying data models. In recent years, there has been a growing interest in using ontology-based metadata models to address this issue, as they offer a structured approach to organize and share information across diverse systems (e.g. Brick ontology). However, the creation of ontology-based metadata models is often a labor-intensive task that requires specific domain expertise, hindering the practical use of such data models. For this reason, in this work the BrickLLM Python library is introduced, which addresses this issue by generating Brick-compliant Resource Description Framework graphs through Large Language Models, automating the process of converting natural language building descriptions into machine-readable metadata. The library supports both cloud-based APIs (e.g., OpenAI, Anthropic, Fireworks AI), local models (e.g. LLaMa3.2, etc.) and evenfine-tuned ones. This paper explores the architecture, key functionalities, and practical applications of BrickLLM, showcasing its potential impact on the future of building systems monitoring and automation.
format Article
id doaj-art-b3cd8aadb9b6438b8c0a6b27fbb76e83
institution OA Journals
issn 2352-7110
language English
publishDate 2025-05-01
publisher Elsevier
record_format Article
series SoftwareX
spelling doaj-art-b3cd8aadb9b6438b8c0a6b27fbb76e832025-08-20T02:30:10ZengElsevierSoftwareX2352-71102025-05-013010212110.1016/j.softx.2025.102121BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMsMarco Perini0Daniele Antonucci1Rocco Giudice2Marco Savino Piscitelli3Alfonso Capozzoli4Institute for Renewable Energy, Eurac Research, 39100 Bozen/Bolzano, ItalyInstitute for Renewable Energy, Eurac Research, 39100 Bozen/Bolzano, ItalyDepartment of Energy “Galileo Ferraris”, TEBE Research Group, BAEDA Lab, Politecnico di Torino, Corso Duca degli Abruzzi 24, Turin, 10129, ItalyDepartment of Energy “Galileo Ferraris”, TEBE Research Group, BAEDA Lab, Politecnico di Torino, Corso Duca degli Abruzzi 24, Turin, 10129, Italy; Corresponding author.Department of Energy “Galileo Ferraris”, TEBE Research Group, BAEDA Lab, Politecnico di Torino, Corso Duca degli Abruzzi 24, Turin, 10129, ItalyOne of the key challenges of Energy Management and Information Systems in buildings is related to the lack of interoperability, due to the absence of standardization of the underlying data models. In recent years, there has been a growing interest in using ontology-based metadata models to address this issue, as they offer a structured approach to organize and share information across diverse systems (e.g. Brick ontology). However, the creation of ontology-based metadata models is often a labor-intensive task that requires specific domain expertise, hindering the practical use of such data models. For this reason, in this work the BrickLLM Python library is introduced, which addresses this issue by generating Brick-compliant Resource Description Framework graphs through Large Language Models, automating the process of converting natural language building descriptions into machine-readable metadata. The library supports both cloud-based APIs (e.g., OpenAI, Anthropic, Fireworks AI), local models (e.g. LLaMa3.2, etc.) and evenfine-tuned ones. This paper explores the architecture, key functionalities, and practical applications of BrickLLM, showcasing its potential impact on the future of building systems monitoring and automation.http://www.sciencedirect.com/science/article/pii/S2352711025000883BrickRDFLarge Language ModelsPortabilityEnergy Management and Information Systems
spellingShingle Marco Perini
Daniele Antonucci
Rocco Giudice
Marco Savino Piscitelli
Alfonso Capozzoli
BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs
SoftwareX
Brick
RDF
Large Language Models
Portability
Energy Management and Information Systems
title BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs
title_full BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs
title_fullStr BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs
title_full_unstemmed BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs
title_short BrickLLM: A Python library for generating Brick-compliant RDF graphs using LLMs
title_sort brickllm a python library for generating brick compliant rdf graphs using llms
topic Brick
RDF
Large Language Models
Portability
Energy Management and Information Systems
url http://www.sciencedirect.com/science/article/pii/S2352711025000883
work_keys_str_mv AT marcoperini brickllmapythonlibraryforgeneratingbrickcompliantrdfgraphsusingllms
AT danieleantonucci brickllmapythonlibraryforgeneratingbrickcompliantrdfgraphsusingllms
AT roccogiudice brickllmapythonlibraryforgeneratingbrickcompliantrdfgraphsusingllms
AT marcosavinopiscitelli brickllmapythonlibraryforgeneratingbrickcompliantrdfgraphsusingllms
AT alfonsocapozzoli brickllmapythonlibraryforgeneratingbrickcompliantrdfgraphsusingllms