Skip to content

Commit

Permalink
Update Brick to 1.4.1 (#346)
Browse files Browse the repository at this point in the history
* update Brick to 1.4.1

* Update Brick 1.3 -> 1.4 references

* move the target query out of the hot loop; we probably do not need to compute the cbd because we are already passing in the ontology graph

* reduce the number of shapes we check in the notebook

* fix composition of shacl shapes

* break out integration tests to only run once

* remove commented line

* break out libraries into its own test

* remove libraries from integration

* updating unit tests for brick 1.4

* adjust test to use brick 1.4

* using Brick 1.4 for more tests

* fix brick uri

* fix 4.6 shape for library tests
  • Loading branch information
gtfierro authored Sep 18, 2024
1 parent e24d741 commit 39087f9
Show file tree
Hide file tree
Showing 15 changed files with 13,715 additions and 13,961 deletions.
10,021 changes: 4,596 additions & 5,425 deletions buildingmotif/libraries/brick/Brick.ttl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libraries/ZonePAC/shapes.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@prefix : <urn:zonepac-app/> .

<urn:zonepac-app> a owl:Ontology ;
owl:imports <https://brickschema.org/schema/1.3/Brick> ;
owl:imports <https://brickschema.org/schema/1.4/Brick> ;
.

:zonepac-zone a sh:NodeShape ;
Expand Down
31 changes: 30 additions & 1 deletion libraries/ashrae/guideline36/4.6-multiple-zone-vav-AHU.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,36 @@
sh:qualifiedMinCount 1 ;
sh:qualifiedMaxCount 1 ;
] ;
sh:node vav48:oa-temp, vav48:ma-temp, vav48:ra-temp, vav48:filter-pd, vav48:sa-temp ;
sh:property [
sh:path brick:hasPoint ;
sh:qualifiedValueShape [ sh:node vav48:oa-temp ] ;
sh:qualifiedMinCount 1 ;
sh:qualifiedMaxCount 1 ;
] ;
sh:property [
sh:path brick:hasPoint ;
sh:qualifiedValueShape [ sh:node vav48:ma-temp ] ;
sh:qualifiedMinCount 1 ;
sh:qualifiedMaxCount 1 ;
] ;
sh:property [
sh:path brick:hasPoint ;
sh:qualifiedValueShape [ sh:node vav48:ra-temp ] ;
sh:qualifiedMinCount 1 ;
sh:qualifiedMaxCount 1 ;
] ;
sh:property [
sh:path brick:hasPoint ;
sh:qualifiedValueShape [ sh:node vav48:sa-temp ] ;
sh:qualifiedMinCount 1 ;
sh:qualifiedMaxCount 1 ;
] ;
sh:property [
sh:path brick:hasPoint ;
sh:qualifiedValueShape [ sh:node vav48:filter-pd ] ;
sh:qualifiedMinCount 1 ;
sh:qualifiedMaxCount 1 ;
] ;
.

:supply-fan a sh:NodeShape, owl:Class, bmotif:System_Specification ;
Expand Down
Loading

0 comments on commit 39087f9

Please sign in to comment.