Skip to content
saref.ttl 67.8 KiB
Newer Older
Maxime Lefrançois's avatar
Maxime Lefrançois committed

saref:hasMeterReadingType a owl:ObjectProperty ;
1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
    rdfs:comment "A relationship identifying the reading type of a metering function (e.g., Water, Gas, Pressure , Energy , Power, etc.)"@en ;
    rdfs:domain saref:MeteringFunction ;
    rdfs:range saref:Property ;
    rdfs:label "has meter reading type"@en .

saref:GetCurrentMeterValueCommand a owl:Class ;
    rdfs:subClassOf saref:GetCommand ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A type of get command"@en ;
    rdfs:label "Get current meter value command"@en .

saref:GetMeterDataCommand a owl:Class ;
    rdfs:subClassOf saref:GetCommand ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A type of get command"@en ;
    rdfs:label "Get meter data command"@en .

saref:GetMeterHistoryCommand a owl:Class ;
    rdfs:subClassOf saref:GetCommand ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A type of get command"@en ;
    rdfs:label "Get meter history command"@en .

# Example related to level control

saref:MultiLevelState a owl:Class ;
    rdfs:subClassOf saref:State ;
    rdfs:comment "A type of state"@en ;
    rdfs:label "Multi level state"@en .

saref:LevelControlFunction a owl:Class ;
    rdfs:subClassOf saref:ActuatingFunction ;
    rdfs:comment "An actuating function that allows to do level adjustments of a property in a certain range (e.g., 0%-100%), such as dimming a light in a room or setting the speed of an electric motor. "@en ;
    rdfs:label "Level control function"@en .

saref:SetAbsoluteLevelCommand a owl:Class ;
    rdfs:subClassOf saref:SetLevelCommand ;
    rdfs:comment "A type of set level command"@en ;
    rdfs:label "Set absolute level command"@en .

saref:SetRelativeLevelCommand a owl:Class ;
    rdfs:subClassOf saref:SetLevelCommand ;
    rdfs:comment "A type of set level command"@en ;
    rdfs:label "Set relative level command"@en .

saref:SetLevelCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
        owl:onProperty saref:actsUpon ;
        owl:someValuesFrom saref:MultiLevelState
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:LevelControlFunction
        ] ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Set level command"@en .

saref:StepDownCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
        owl:onProperty saref:actsUpon ;
        owl:someValuesFrom saref:MultiLevelState
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:LevelControlFunction
        ] ;
    owl:disjointWith saref:StepUpCommand ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Step down command"@en .
    
saref:StepUpCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
            owl:onProperty saref:actsUpon ;
            owl:someValuesFrom saref:MultiLevelState
        ] ,
        [ a owl:Restriction ;
            owl:onProperty saref:isCommandOf ;
            owl:allValuesFrom saref:LevelControlFunction
        ] ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Step up command"@en .

# Example related to smoke

saref:Smoke a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for smoke"@en ;
    rdfs:label "Smoke"@en .

saref:SmokeSensor a owl:Class ;
    rdfs:subClassOf saref:Sensor ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasFunction ;
        owl:someValuesFrom saref:EventFunction
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasFunction ;
        owl:someValuesFrom saref:SensingFunction
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:measuresProperty ;
        owl:someValuesFrom saref:Smoke
        ] ;
    rdfs:comment "A sensor that performs the saref:SensingFunction and the saref:EventFunction, and is used for the purpose of sensing a property of type saref:Smoke. A saref:SmokeSensor is typically used to saref:accomplish saref:Safety."@en ;
    rdfs:label "Smoke sensor"@en .


# Example related to start/stop/pause

saref:StartState a owl:Class ;
    rdfs:subClassOf saref:StartStopState ;
    rdfs:comment "The state of a device that is STARTED"@en ;
    rdfs:label "Start state"@en .
    
saref:StartStopState a owl:Class ;
    rdfs:subClassOf saref:State ;
    rdfs:comment "A type of state"@en ;
    rdfs:label "Start stop state"@en .
    
saref:StopState a owl:Class ;
    rdfs:subClassOf saref:StartStopState ;
    rdfs:comment "The state of a device that is STOPPED"@en ;
    rdfs:label "Stop state"@en .

saref:PauseCommand a owl:Class ;
    rdfs:subClassOf saref:Command ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Pause command"@en .

saref:StartCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
            owl:onProperty saref:actsUpon ;
            owl:someValuesFrom saref:StartStopState
        ] ,
        [ a owl:Restriction ;
            owl:onProperty saref:isCommandOf ;
            owl:allValuesFrom saref:StartStopFunction
        ] ;
    owl:disjointWith saref:StopCommand ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Start command"@en .
    
saref:StopCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
        owl:onProperty saref:actsUpon ;
        owl:someValuesFrom saref:StartStopState
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:StartStopFunction
        ] ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Stop command"@en .

saref:StartStopFunction a owl:Class ;
    rdfs:subClassOf saref:ActuatingFunction ;
    rdfs:comment "An actuating function that allows to start and stop a device"@en ;
    rdfs:label "Start stop function"@en .    
    

# Example related to open/close

saref:CloseState a owl:Class ;
    rdfs:subClassOf saref:OpenCloseState ;
    rdfs:comment "The state of a device that is CLOSE"@en ;
    rdfs:label "Close state"@en .

saref:OpenCloseState a owl:Class ;
    rdfs:subClassOf saref:State ;
    rdfs:comment "A type of state"@en ;
    rdfs:label "Open close state"@en .

saref:OpenState a owl:Class ;
    rdfs:subClassOf saref:OpenCloseState ;
    rdfs:comment "The state of a device that is OPEN "@en ;
    rdfs:label "Open state"@en .

saref:OpenCloseFunction a owl:Class ;
    rdfs:subClassOf saref:ActuatingFunction ;
    rdfs:comment "An actuating function that allows to open and close a device"@en ;
    rdfs:label "Open close function"@en .

saref:CloseCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
            owl:onProperty saref:actsUpon ;
            owl:someValuesFrom saref:OpenCloseState
        ] ,
        [ a owl:Restriction ;
            owl:onProperty saref:isCommandOf ;
            owl:allValuesFrom saref:OpenCloseFunction
        ] ;
    owl:disjointWith saref:OpenCommand ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Close command"@en .

saref:OpenCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
        owl:onProperty saref:actsUpon ;
        owl:someValuesFrom saref:OpenCloseState
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:OpenCloseFunction
        ] ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Open command"@en .

# Example related to on/off

saref:OffState a owl:Class ;
    rdfs:subClassOf saref:OnOffState ;
    rdfs:comment "The state of a device that is Off"@en ;
    rdfs:label "Off state"@en .

saref:OnOffState a owl:Class ;
    rdfs:subClassOf saref:State ;
    rdfs:comment "A type of state"@en ;
    rdfs:label "On off state"@en .

saref:OnState a owl:Class ;
    rdfs:subClassOf saref:OnOffState ;
    rdfs:comment "The state of a device that is On"@en ;
    rdfs:label "On state"@en .

saref:OnCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
            owl:onProperty saref:actsUpon ;
            owl:someValuesFrom saref:OnOffState
        ] ,
        [ a owl:Restriction ;
            owl:onProperty saref:isCommandOf ;
            owl:allValuesFrom saref:OnOffFunction
        ] ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "On command"@en .

saref:OffCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
        owl:onProperty saref:actsUpon ;
        owl:someValuesFrom saref:OnOffState
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:OnOffFunction
        ] ;
    owl:disjointWith saref:OnCommand ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Off command"@en .

saref:OnOffFunction a owl:Class ;
    rdfs:subClassOf saref:ActuatingFunction ;
    rdfs:comment "An actuating function that allows to switch on and off an actuator"@en ;
    rdfs:label "On off function"@en .

# Example related to motion

saref:Motion a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for motion"@en ;
    rdfs:label "Motion"@en .

# Example related to occupancy

saref:Occupancy a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value (saref:hasValue property) that is measured in a unit of measure for occupancy"@en ;
    rdfs:label "Occupancy"@en .

# Example related to notification

saref:NotifyCommand a owl:Class ;
    rdfs:subClassOf saref:Command ,
        [ a owl:Restriction ;
            owl:onProperty saref:isCommandOf ;
            owl:allValuesFrom saref:EventFunction
        ] ;
    rdfs:comment "A type of command"@en ;
    rdfs:label "Notify command"@en .



# Example related to switch

saref:Switch a owl:Class ;
    rdfs:subClassOf saref:Actuator ;
    rdfs:comment "A device of category saref:Actuator that performs an actuating function of type saref:OnOffFunction or saref:OpenCloseFunction"@en ;
    rdfs:label "Switch"@en .

saref:SwitchOnService a owl:Class ;
    rdfs:subClassOf saref:Service ,
        [ a owl:Restriction ;
        owl:onProperty saref:isOfferedBy ;
        owl:someValuesFrom saref:LightSwitch
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:represents ;
        owl:someValuesFrom saref:OnOffFunction
        ] ;
    rdfs:comment "A type of service that represents an on/off function to the network"@en ;
    rdfs:label "Switch on service"@en .

# Example related to energy and power

saref:Energy a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value measured in an energy unit (such as Kilowatt_Hour or Watt_hour). Furter specializations of the saref:Energy class can be found in the SAREF4ENER extension, where classes such as EnergyMax, EnergyMin and EnergyExpected are defined. "@en ;
    rdfs:label "Energy"@en .

saref:EnergyUnit a owl:Class ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The unit of measure for energy"@en ;
    rdfs:label "Energy unit"@en .

saref:Power a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a power unit (such as watt or kilowatt).  Further specializations of the saref:Power class can be found in the SAREF4ENER extension, where classes such as PowerMax, PowerMin and PowerExpected are defined."@en ;
    rdfs:label "Power"@en .

saref:PowerUnit a owl:Class ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The unit of measure for power"@en ;
    rdfs:label "Power unit"@en .

# Example related to pressure

saref:Pressure a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a pressure unit (bar or pascal)"@en ;
    rdfs:label "Pressure"@en .

saref:PressureUnit a owl:Class ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The unit of measure for pressure"@en ;
    rdfs:label "Pressure unit"@en .


# Example related to price
Maxime Lefrançois's avatar
Maxime Lefrançois committed

saref:hasPrice a owl:ObjectProperty ;
    rdfs:comment "A relationship indentifying the price associated to an entity"@en ;
    rdfs:range saref:Price ;
    rdfs:label "has price"@en .

saref:Price a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property crelated to some measurements that are characterized by a certain value that is measured using saref:Currency"@en ;
    rdfs:label "Price"@en .
    
saref:Currency a owl:Class ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The class of units of measure for price"@en ;
    rdfs:label "Currency"@en .

# Example related to temperature

saref:Temperature a owl:Class ;
    owl:deprecated true ;
    skos:note "In future major revision of SAREF, this entity will be a named individual, instance of saref:Property."@en ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)"@en ;
    rdfs:label "Temperature"@en .

saref:TemperatureSensor a owl:Class ;
    rdfs:subClassOf saref:Sensor ,
        [ a owl:Restriction ;
            owl:onProperty saref:hasFunction ;
            owl:someValuesFrom saref:SensingFunction
        ] ,
        [ a owl:Restriction ;
            owl:onProperty saref:measuresProperty ;
            owl:someValuesFrom saref:Temperature
        ] ;
    rdfs:comment "A sensor that is used for the purpose of sensing a property of type saref:Temperature. A saref:TemperatureSensor is typically used to saref:accomplish saref:Comfort."@en ;
    rdfs:label "Temperature sensor"@en .

saref:TemperatureUnit a owl:Class ;
    owl:deprecated true ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The unit of measure for temperature"@en ;
    rdfs:label "Temperature unit"@en .


# Example related to humidity

saref:Humidity a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a humidity unit"@en ;
    rdfs:label "Humidity"@en .


# Example related to Actuator

saref:Actuator a owl:Class ;
    rdfs:subClassOf saref:Device ,
        [ a owl:Restriction ;
            owl:onProperty saref:hasFunction ;
            owl:someValuesFrom saref:ActuatingFunction
        ] ;
    rdfs:comment "A device responsible for moving or controlling a mechanism or system by performing an actuating function"@en ;
    rdfs:label "Actuator"@en .

saref:ActuatingFunction a owl:Class ;
    rdfs:subClassOf saref:Function ;
    rdfs:comment "A function that allows to transmit data to actuators, such as level settings (e.g., temperature) or binary switching (e.g., open/close, on/off)"@en ;
    rdfs:label "Actuating function"@en .

# Example related to Appliance

# Example related to HVAC

saref:HVAC a owl:Class ;
    rdfs:subClassOf saref:Device ;
    rdfs:comment "Heating, Ventilation and Air Conditioning (HVAC) device that provides indoor environmental comfort. A saref:HVAC is typically used to accomplish saref:Comfort."@en ;
    rdfs:label "HVAC"@en .

# Example related to light switch

saref:IlluminanceUnit a owl:Class ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The unit of measure for light"@en ;
    rdfs:label "Illuminance unit"@en .

saref:Light a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a illuminance unit (lux)"@en ;
    rdfs:label "Light"@en .

saref:LightSwitch a owl:Class ;
    rdfs:subClassOf saref:Switch ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasFunction ;
        owl:someValuesFrom saref:OnOffFunction
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasState ;
        owl:someValuesFrom saref:OnOffState
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:controlsProperty ;
        owl:someValuesFrom saref:Light
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:offers ;
        owl:someValuesFrom saref:SwitchOnService
        ] ;
rdfs:comment "A switch that performs the saref:OnOffFunction, controls the property saref:Light, and can be found in the state saref:OnOffState. It can offer a switch on service. A saref:LightSwitch is typically used to accomplish saref:Lighting."@en ;
    rdfs:label "Light switch"@en .

# Example related to door switch

saref:DoorSwitch a owl:Class ;
    rdfs:subClassOf saref:Switch ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasFunction ;
        owl:someValuesFrom saref:OpenCloseFunction
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasState ;
        owl:someValuesFrom saref:OpenCloseState
        ] ;
    rdfs:comment "A switch that performs the saref:OpenCloseFunction, is used for controlling a door, and can be found in the state saref:OpenCloseState. A saref:DoorSwitch is typically used to accomplish saref:Safety."@en ;
    rdfs:label "Door switch"@en .




# NEW

saref:hasIdentifier a owl:DatatypeProperty ;
  skos:note "See https://labs.etsi.org/rep/saref/saref-portal/-/issues/2" .