-
Notifications
You must be signed in to change notification settings - Fork 16
/
badBuilding.ttl
89 lines (62 loc) · 2.74 KB
/
badBuilding.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@prefix bldg: <http://example.com/mybuilding#> .
@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
bldg:AHU1A a brick:Air_Handler_Unit ;
brick:feeds bldg:VAV2-4,
bldg:VAV2_3 .
bldg:VAV2-3 a brick:Variable_Air_Volume_Box ;
brick:feeds bldg:VAV2-3Zone .
bldg:VAV2-4.ZN_T a brick:Supply_Air_Temperature_Sensor .
bldg:Room-410 a brick:Room .
bldg:Room-411 a brick:Room .
bldg:Room-412 a brick:Room .
bldg:VAV2-3Zone a brick:HVAC_Zone ;
brick:hasPart bldg:Room-410,
bldg:Room-411,
bldg:Room-412 .
bldg:VAV2-4 a brick:Variable_Air_Volume_Box ;
brick:hasPart bldg:VAV2-4.DPR ;
brick:hasPoint bldg:VAV2-4.SUPFLOW,
bldg:VAV2-4.SUPFLSP .
bldg:VAV2-4.DPR a brick:Damper ;
brick:hasPoint bldg:VAV2-4.DPRPOS .
bldg:VAV2-4.DPRPOS a brick:Damper_Position_Setpoint .
bldg:VAV2-4.SUPFLOW a brick:Supply_Air_Flow_Sensor .
bldg:VAV2-4.SUPFLSP a brick:Supply_Air_Flow_Setpoint .
bldg:VAV2-5.SUPFLOW a brick:Supply_Air_Flow_Sensor .
bldg:floor1 a brick:Floor .
# requires subclass reasoing to brick:Location.
bldg:Room-411 brick:hasLocation bldg:floor1 .
bldg:sunroom_on_floor1 a brick:Sunroom ;
brick:hasLocation bldg:floor1 .
bldg:floor1_air_temp_sensor a brick:Zone_Air_Temperature_Sensor .
bldg:floor2_air_temp_sensor a brick:Zone_Air_Temperature_Sensor .
bldg:floor2_HVAC_zone a brick:HVAC_Zone .
bldg:floor2_air_temp_sensor brick:hasLocation bldg:floor2_HVAC_zone .
# NOTE: introduce errors!
# work with extraOntology1.ttl (Kitchen definition)
# and extraShapesWithExtraOnt.ttl (Kitchen must have location)
bldg:kitchen_without_location a brick:Kitchen .
# work with extraOntology2.ttl (Sunroom definition)
# and extraShapesWithExtraOnt.ttl (Sunroom must have location)
bldg:sunroom_without_location a brick:Sunroom .
# object has incorrect type
bldg:Room-412 brick:hasLocation bldg:AHU1A .
# object has incorrect type
bldg:VAV2-4.DPR brick:hasPoint bldg:Room-410 .
# subject has incorrect type
bldg:VAV2-3 brick:isLocationOf bldg:Room-412 .
bldg:VAV2-5.SUPFLSP1 a brick:Supply_Air_Flow_Setpoint .
bldg:VAV2-5.SUPFLSP2 a brick:Supply_Air_Flow_Setpoint .
# missing brick:hasPart and too many brick:setPoint.
# Detected not by BrickShape.ttl but by extraShapes.ttl.
bldg:VAV2-5 a brick:Variable_Air_Volume_Box ;
brick:hasPoint bldg:VAV2-5.SUPFLOW,
bldg:VAV2-5.SUPFLSP1 ,
bldg:VAV2-5.SUPFLSP2 .
# in extraShapes.ttl there is a constraint saying
# a Zone_Air_Temperature_Sensor must be located in a HVAC_zone
bldg:floor1_air_temp_sensor brick:hasLocation bldg:Room-411 .