Skip to content
/ BIM2RDF Public

This software tool automatically creates the semantic model that building system applications need by leveraging data that exists in existing practice building design tools.

License

Notifications You must be signed in to change notification settings

pnnl/BIM2RDF

Folders and files

NameName
Last commit message
Last commit date
Feb 21, 2025
Feb 6, 2025
Feb 18, 2025
Feb 20, 2025
Feb 17, 2025
Feb 21, 2025
Feb 21, 2025
Oct 28, 2024
Feb 21, 2025
Mar 17, 2022
Jan 9, 2025
Feb 1, 2025
Nov 12, 2024
Dec 18, 2024
Dec 18, 2024
Feb 21, 2025
Jan 31, 2025
Feb 21, 2025
Feb 20, 2025

Repository files navigation

BIM2RDF

Functionality used to convert building models in Speckle to ASHRAE S223 semantic models. The operationalized version will be on Speckle Automate.

Each top-level directory is a 'component' of the project. Furthermore, the following dependencies were extracted as generic stand-alone libraries: PyTQSHACL, RDF-Engine, JSON2RDF.

Development

Setup

> uv sync --all-packages
> uv run pre-commit install
# activate environment
> .venv/Scripts/activate

Make a .secrets.toml file with

[speckle]
token = "yourtoken"

Process

Follow test instructions.

Usage

bim2rdf --help
from bim2rdf import Run
# initialize with a db
from pyoxigraph import Store
db = Store()
r = Run(db)
# execute with desired options
help(Run.run)

In development, a cache directory will be created in the working directory to save expensive expensive processing in general but mainly to save Speckle query results. Thus, the user must clear the cache to be able to access new data.

About

This software tool automatically creates the semantic model that building system applications need by leveraging data that exists in existing practice building design tools.

Resources

License

Citation

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published