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"
In development, a .cache directory will be created in the working directory
to save 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.
Process
Follow test instructions.
Usage
...is a three-step process:
- Get an ontology.
You can use the built-in process,
bim2rdf ontologies.import, to create an ontology ttl from a definition. - Create mappings.
- Execute. Configure with a params.yaml.
Interfaces
CLI
bim2rdf --help
Function
from bim2rdf import Run
# initialize with a db
from pyoxigraph import Store
db = Store()
r = Run(db)
# execute with desired options
help(Run.run)
Metadata
Release files for bim2rdf 2026.10.1864
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bim2rdf-2026.10.1864.tar.gz | 138.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bim2rdf-2026.10.1864-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 191.0 kB
Release files / bim2rdf-2026.10.1864.tar.gz
| Download URL | bim2rdf-2026.10.1864.tar.gz |
|---|---|
| Size | 138.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc0cf9c6da6f47adb4f4b742372d226e0965307d3f6f6b85677eb29d47255bd2
|
|
BLAKE2b-256 checksum How to use checksums |
de19e6a27462e14b78d00a727f67254b0705a02b9512bd97a13a8b8effb355e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / bim2rdf-2026.10.1864-py3-none-any.whl
| Download URL | bim2rdf-2026.10.1864-py3-none-any.whl |
|---|---|
| Size | 52.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c318e38ec64a6af71ba7648b728cf434d060fcb7da419862ce318d20b5665fe1
|
|
BLAKE2b-256 checksum How to use checksums |
c43dd33ba39af82d8a60c06eac4e31f5a902e2dc43a0c60fa3865ed703ef9323
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency log