bim2rdf

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

https://github.com/pnnl/bim2rdf

Science Score: 62.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    6 of 7 committers (85.7%) from academic institutions
  • Institutional organization owner
    Organization pnnl has institutional domain (www.pnnl.gov)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

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

Basic Info
  • Host: GitHub
  • Owner: pnnl
  • License: other
  • Language: Python
  • Default Branch: master
  • Size: 1.73 MB
Statistics
  • Stars: 7
  • Watchers: 7
  • Forks: 3
  • Open Issues: 3
  • Releases: 0
Created about 1 year ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

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

```bash

uv sync --all-packages uv run pre-commit install

activate environment

.venv/Scripts/activate Make a [`.secrets.toml`](./.secrets.toml) file with toml [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: 1. Get an ontology. You can use the built-in process, bim2rdf ontologies.import followed by bim2rdf ontologies.import, to create an ontology ttl from a definition. 2. Create mappings. 3. Execute. Configure with a params.yaml.

Interfaces

CLI

bash bim2rdf --help

Function

```python from bim2rdf import Run

initialize with a db

from pyoxigraph import Store db = Store() r = Run(db)

execute with desired options

help(Run.run) ```

Owner

  • Name: Pacific Northwest National Laboratory (Public)
  • Login: pnnl
  • Kind: organization
  • Email: dev-central@pnnl.gov
  • Location: United States of America

This Org is intended for the hosting of approved released PNNL software repositories for public use and collaboration.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "BIM2RDF"
version: "1.0.0"
date-released: "2023-12-13"
authors:
  - family-names: "alDosari"
    given-names: "Majid"
  - family-names: "Trisha"
    given-names: "Gupta"
repository-code: "https://github.com/pnnl/BIM2RDF"
abstract: "This software tool automatically creates the semantic model that building system applications need by leveraging data that exists in existing practice building design tools."

GitHub Events

Total
  • Issues event: 6
  • Watch event: 10
  • Push event: 85
  • Fork event: 3
  • Create event: 3
Last Year
  • Issues event: 6
  • Watch event: 10
  • Push event: 85
  • Fork event: 3
  • Create event: 3

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 1,696
  • Total Committers: 7
  • Avg Commits per committer: 242.286
  • Development Distribution Score (DDS): 0.11
Past Year
  • Commits: 518
  • Committers: 2
  • Avg Commits per committer: 259.0
  • Development Distribution Score (DDS): 0.039
Top Committers
Name Email Commits
Majid alDosari m****i@p****v 1,510
Trisha t****a@p****v 126
Bilal Faye b****e@p****v 44
Shat Pratoomratana s****a@p****v 8
Hinkle l****e@p****v 6
PNNL Developer Central d****l 1
Krissy Govertsen k****n@p****v 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 5
  • Total pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • majidaldo (5)
Pull Request Authors
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels