Add schema caching to Brick schema loading.

This commit is contained in:
Dion Moult
2021-11-05 09:19:42 +11:00
parent 2b710ffbde
commit 04449d08e8
6 changed files with 98 additions and 610 deletions
+24
View File
@@ -0,0 +1,24 @@
@prefix : <ex:#> .
@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix unit: <http://qudt.org/vocab/unit/> .
:site a brick:Site ;
brick:buildingPrimaryFunction [ brick:value "Library" ] ;
brick:hasPart :bldg .
:bldg a brick:Building ;
brick:hasPart :floor .
:floor a brick:Floor ;
brick:area [ brick:value 5000 ; brick:hasUnit unit:M_2 ] ;
brick:hasPart :space, :hvac_zone, :lighting_zone_1, :lighting_zone_2 .
:space a brick:Space ;
brick:netArea [ brick:value 500 ; brick:hasUnit unit:M_2 ] ;
brick:grossArea [ brick:value 650 ; brick:hasUnit unit:M_2 ] ;
brick:isPartOf :hvac_zone ;
brick:hasPart :lighting_zone_1, :lighting_zone_2 .
:hvac_zone a brick:HVAC_Zone .
:lighting_zone_1 a brick:Lighting_Zone .
:lighting_zone_2 a brick:Lighting_Zone .