Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versioning instance models #370

Closed
epaulson opened this issue Feb 22, 2022 · 5 comments
Closed

versioning instance models #370

epaulson opened this issue Feb 22, 2022 · 5 comments

Comments

@epaulson
Copy link
Contributor

This is just a placeholder, but as part of #350 we should also add as a best practice always including some kind of version info in your Brick models. e.g. something like, for 'mybldg.ttl':

# mybldg.ttl
@prefix bldg: <urn:example#> .
@prefix brick: <https://brickschema.org/schema/Brick#> .

<urn:example#> a owl:Ontology ;
    owl:imports <https://brickschema.org/schema/1.2/Brick#> .

We'd change the brick tooling to do this automatically for people who use the brick tooling, e.g. py-brickschema always adds that to new Brick graphs.

We had a longer discussion about this in the tools working group:
https://github.com/BrickSchema/Brick/wiki/Tooling-Working-Group-Notes

@jbkoh
Copy link
Contributor

jbkoh commented Apr 1, 2022

What do we need to do in Brick ontology for this one?

@gtfierro
Copy link
Member

Initial support for this feature here: BrickSchema/py-brickschema#86

I don't know if there's much in Brick itself that we need to do, save for documenting this pattern in the docs repo (which I will do soon)

@efjerb
Copy link

efjerb commented Sep 23, 2024

Hi
I'm starting up a model that includes some BRICK metadata. Is this still best practice, if I want to show which version the model was built with?

@gtfierro
Copy link
Member

Yes! We wrote up a bit of that here: https://docs.brickschema.org/lifecycle/versioning.html

You can check out a table of versions here, too: https://brickschema.org/resources/

Brick 1.4 will redirect to the latest 1.4.x model (1.4.2 in this case)

@efjerb
Copy link

efjerb commented Sep 24, 2024

Oh my, I keep overlooking content in the documentation.... Thanks for your answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants