@prefix bf: <https://brickschema.org/schema/1.0.2/BrickFrame#> .
@prefix bldg: <http://xbos.io/ontologies/avenal-public-works-yard#> .
@prefix brick: <https://brickschema.org/schema/1.0.2/Brick#> .
@prefix brick1: <https://brickschema.org/schema/1.1/Brick#> .
@prefix brick_v_1_0_2: <https://brickschema.org/schema/1.0.2/Brick#> .
@prefix brickframe: <https://brickschema.org/schema/1.0.2/BrickFrame#> .
@prefix btag: <https://brickschema.org/schema/1.0.2/BrickTag#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tag: <https://brickschema.org/schema/1.1/BrickTag#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

bldg:Level_1 a brick1:Floor ;
    rdf:label "Level 1" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:hasPart bldg:Room_1,
        bldg:Room_2,
        bldg:Room_3,
        bldg:Room_5,
        bldg:Room_6,
        bldg:Room_east,
        bldg:Room_west .

<http://xbos.io/ontologies/avenal-public-works-yard#green_button_meter_lzUypA8wZBsFoZIXnokS25MFRKE=> a brick_v_1_0_2:Green_Button_Meter ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "71aad390-c73a-5ba3-a9e4-50752129475d" .

bldg:hvac_zone_public_works_office a brick1:HVAC_Zone ;
    brickframe:hasSite bldg:avenal-public-works-yard .

bldg:hvac_zone_public_works_office_tstat a brick1:Thermostat ;
    brickframe:hasLocation bldg:Room_2 ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:controls bldg:RTU_hvac_zone_public_works_office .

bldg:hvac_zone_public_works_tstat a brick1:Thermostat ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brick1:controls bldg:RTU_hvac_zone_public_works ;
    brick1:hasPoint bldg:hvac_zone_public_works_tstat_cooling_setpoint,
        bldg:hvac_zone_public_works_tstat_fan,
        bldg:hvac_zone_public_works_tstat_heating_setpoint,
        bldg:hvac_zone_public_works_tstat_mode,
        bldg:hvac_zone_public_works_tstat_override,
        bldg:hvac_zone_public_works_tstat_state,
        bldg:hvac_zone_public_works_tstat_temperature .

bldg:meter_0xd8d5b9000000b3df a brick_v_1_0_2:Building_Electric_Meter ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/s.eagle/0xd8d5b9000000b3df/i.meter" ;
    brickframe:uuid "d191bb82-a577-3715-a8ec-2abbe7bfe8e7" .

bldg:weather_AT565_cloud_coverage a brick_v_1_0_2:Weather_Cloud_Coverage_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "f243903f-16cd-3362-9506-8a32a5efa4ee" .

bldg:weather_AT565_cloud_height a brick_v_1_0_2:Weather_Cloud_Height_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "d3c6ce62-3295-312c-ab8e-0debe171621d" .

bldg:weather_AT565_relative_humidity a brick1:Relative_Humidity_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "003a1759-e1.0.2514-a6d5-981e9b7924d6" .

bldg:weather_AT565_temperature a brick_v_1_0_2:Weather_Temperature_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "a6e9f305-d76b-3e1a-8b11-e3d312134f02" .

bldg:weather_AT565_wind_direction a brick1:Wind_Direction_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "f458cf4d-d109-3a3b-ae40-939da6841510" .

bldg:weather_AT565_wind_speed a brick1:Wind_Speed_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "6410f70b-a594-39bb-94ac-1eb9682a70e7" .

bldg:weather_KTLC1_cloud_coverage a brick_v_1_0_2:Weather_Cloud_Coverage_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "72950f10-3614-30da-8803-2755cb4731ea" .

bldg:weather_KTLC1_cloud_height a brick_v_1_0_2:Weather_Cloud_Height_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "2ac5ed07-4f55-31c3-8641-0165462d4f44" .

bldg:weather_KTLC1_relative_humidity a brick1:Relative_Humidity_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "10ef6a49-4a43-37fd-befc-524eb2b2f104" .

bldg:weather_KTLC1_temperature a brick_v_1_0_2:Weather_Temperature_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "c3d0f042-2cb7-387c-8867-4190fef4fd2c" .

bldg:weather_KTLC1_wind_direction a brick1:Wind_Direction_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "f933cb33-1bcb-34e9-8e73-1bae9a023715" .

bldg:weather_KTLC1_wind_speed a brick1:Wind_Speed_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uuid "6f4e2261-7cc3-3369-a367-01ef3828a7c7" .

brick_v_1_0_2:Ambient_Illumination_Sensor a owl:Class ;
    rdfs:subClassOf brick_v_1_0_2:Illumination_Sensor .

brick_v_1_0_2:PlugStrip a owl:Class ;
    rdfs:subClassOf brick1:Equipment .

brickframe:areaSquareFeet a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

brickframe:areaSquareMeters a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

brickframe:humanName a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

brickframe:isSiteOf a owl:ObjectProperty ;
    rdfs:domain brick_v_1_0_2:Site ;
    owl:inverseOf brickframe:hasSite .

brickframe:numFloors a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

brickframe:primaryFunction a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

brickframe:timezone a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

brickframe:zipCode a owl:ObjectProperty ;
    rdfs:range brickframe:Label .

bldg:RTU_hvac_zone_public_works a brick_v_1_0_2:RTU ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:feeds bldg:hvac_zone_public_works .

bldg:Room_1 a brick1:Room ;
    rdf:label "Office" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_public_works_office .

bldg:Room_3 a brick1:Room ;
    rdf:label "Bathroom" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_public_works_office .

bldg:Room_5 a brick1:Room ;
    rdf:label "Supply" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_public_works_office .

bldg:Room_6 a brick1:Room ;
    rdf:label "Enclosed Garage" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_outside .

bldg:Room_east a brick1:Room ;
    rdf:label "North" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_outside .

bldg:Room_west a brick1:Room ;
    rdf:label "South" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_outside .

bldg:hvac_zone_public_works a brick1:HVAC_Zone ;
    brickframe:hasSite bldg:avenal-public-works-yard .

bldg:hvac_zone_public_works_tstat_cooling_setpoint a brick_v_1_0_2:Supply_Air_Temperature_Cooling_Setpoint ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "7c79a2b4-d5c5-31fb-abb1-3dfb751ed93c" .

bldg:hvac_zone_public_works_tstat_fan a brick_v_1_0_2:Fan_Command ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "63d25762-6a43-3d43-b702-7755929c3b79" .

bldg:hvac_zone_public_works_tstat_heating_setpoint a brick_v_1_0_2:Supply_Air_Temperature_Heating_Setpoint ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "277a66ee-f54b-3a36-ac02-fb8c91d8ca90" .

bldg:hvac_zone_public_works_tstat_mode a brick_v_1_0_2:Thermostat_Mode_Command ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "08878270-da54-3a08-8f87-f322d8b4ef76" .

bldg:hvac_zone_public_works_tstat_override a brick1:Override_Command ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "84a47257-ab92-37bc-b341-feedf8180942" .

bldg:hvac_zone_public_works_tstat_state a brick_v_1_0_2:Thermostat_Status ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "66c5875b-7a13-3e87-9a0a-d5a258d8c1dd" .

bldg:hvac_zone_public_works_tstat_temperature a brick1:Temperature_Sensor ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brickframe:uri "avenal-public-works-yard/devices/s.pelican/Public_Works/i.xbos.thermostat" ;
    brickframe:uuid "013d5647-5bf3-32cf-8cf0-50212c05e26c" .

brick_v_1_0_2:Green_Button_Meter a owl:Class ;
    rdfs:subClassOf brick_v_1_0_2:Building_Electric_Meter .

brick_v_1_0_2:Illumination_Sensor a owl:Class ;
    rdfs:subClassOf brick1:Sensor .

brick_v_1_0_2:RTU a owl:Class ;
    rdfs:subClassOf brick1:AHU .

brick_v_1_0_2:Thermostat_Mode_Command a owl:Class ;
    rdfs:subClassOf brick1:Command .

brick_v_1_0_2:Thermostat_Status a owl:Class ;
    rdfs:subClassOf brick1:Status .

brickframe:hasSite a owl:ObjectProperty ;
    rdfs:range brick_v_1_0_2:Site .

bldg:Room_2 a brick1:Room ;
    rdf:label "Office" ;
    brickframe:hasSite bldg:avenal-public-works-yard ;
    brick1:isPartOf bldg:HVAC_Zone_public_works_office .

brick_v_1_0_2:Building_Electric_Meter a owl:Class ;
    rdfs:subClassOf brick_v_1_0_2:Electric_Meter .

brick_v_1_0_2:Weather_Cloud_Coverage_Sensor a owl:Class ;
    rdfs:subClassOf brick1:Sensor,
        brick1:Weather .

brick_v_1_0_2:Weather_Cloud_Height_Sensor a owl:Class ;
    rdfs:subClassOf brick1:Sensor,
        brick1:Weather .

brick_v_1_0_2:Weather_Temperature_Sensor a owl:Class ;
    rdfs:subClassOf brick1:Sensor,
        brick1:Weather .

bldg:HVAC_Zone_outside a brick1:HVAC_Zone ;
    brickframe:hasSite bldg:avenal-public-works-yard .

brick_v_1_0_2:Site a owl:Class ;
    rdfs:subClassOf brick1:Location .

bldg:HVAC_Zone_public_works_office a brick1:HVAC_Zone ;
    brickframe:hasSite bldg:avenal-public-works-yard .

bldg:avenal-public-works-yard a brick_v_1_0_2:Site ;
    brickframe:Country "US" ;
    brickframe:NumFloors "1" ;
    brickframe:PrimaryFunction "Public Works" ;
    brickframe:Timezone "America/Los_Angeles" .

