Newer
Older
1001
1002
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
owl:onProperty saref:isFunctionOfInterestOf ;
owl:cardinality 1
] .
## A function of interest can be linked to its kind(s) using OP saref:hasFunctionKind.
saref:hasFunctionKind a owl:ObjectProperty ;
rdfs:label "has function kind"@en ;
rdfs:comment "links a function of interest to its kind, a function"@en ;
rdfs:domain saref:FunctionOfInterest ;
rdfs:range saref:Function .
## Functions of interest inherit broader functions.
saref:hasFunctionKind
owl:propertyChainAxiom ( saref:hasFunctionKind skos:broader ) .
## Devices inherit the function kinds of their function of interest.
saref:hasFunction
owl:propertyChainAxiom ( saref:hasFunctionOfInterest saref:hasFunctionKind ) .
# ETSI TS 103264 Clause 5.9: Commands and device commands
## In SAREF, commands represent the lowest-level directives a device supports and exposes to some network. Commands can act upon (OP saref:actsUpon and its sub-properties) features, properties, or states. While commands are independent of any function, commands of interest are commands actually supported by a function of interest.
# ETSI TS 103264 Clause 5.9.2: Commands
## An instance of saref:Command is independent of any device.
saref:Command a owl:Class ;
rdfs:label "Command"@en ;
rdfs:comment "The lowest-level directives a function exposes to some network. Commands can act upon (OP saref:actsUpon and its sub-properties) features, properties, or states. An instance of saref:Command is independent of any device."@en ;
skos:example "Measure property, control property, observe state, control state, invoke action, cancel action, turn on or off, change color, subscribe, publish, etc. are all commands."@en .
## Commands can be organized in a taxonomy using OPs skos:narrower and skos:broader.
saref:Command rdfs:subClassOf
[ a owl:Restriction ;
owl:onProperty skos:broader ;
owl:allValuesFrom saref:Command ] ,
[ a owl:Restriction ;
owl:onProperty skos:narrower ;
owl:allValuesFrom saref:Command ] .
## The OP saref:hasCommand may be used to link a function or function of interest to its commands. Its inverse is saref:isCommandOf. SAREF Core defines two sub-properties of saref:hasCommand:
## - saref:hasMandatoryCommand for when the command is mandatory to the function,
## - saref:hasOptionalCommand for when the command is optional to the function.
saref:hasCommand a owl:ObjectProperty ;
owl:inverseOf saref:isCommandOf ;
rdfs:label "has command"@en ;
rdfs:comment "Links a function or function of interest and the command it supports."@en ;
rdfs:domain [ a owl:Class ; owl:unionOf ( saref:Function saref:FunctionOfInterest ) ] ;
rdfs:range saref:Command .
saref:isCommandOf a owl:ObjectProperty ;
owl:inverseOf saref:hasCommand ;
rdfs:label "is command of"@en ;
rdfs:comment "Links a command and a function or function of interest that supports it."@en ;
rdfs:domain saref:Command ;
rdfs:range [ a owl:Class ; owl:unionOf ( saref:Function saref:FunctionOfInterest ) ] .
saref:hasMandatoryCommand a owl:ObjectProperty ;
owl:subPropertyOf saref:hasCommand ;
rdfs:label "has mandatory command"@en ;
rdfs:comment "Links a function and one of its mandatory commands"@en ;
rdfs:domain saref:Function .
saref:hasOptionalCommand a owl:ObjectProperty ;
owl:subPropertyOf saref:hasCommand ;
rdfs:label "has optional command"@en ;
rdfs:comment "Links a function and one of its optional commands"@en ;
rdfs:domain saref:Function .
## Functions inherit the mandatory commands of their broader functions.
saref:hasMandatoryCommand
owl:propertyChainAxiom ( skos:broader saref:hasMandatoryCommand ) .
## Features of interest inherit the commands of their feature kinds.
saref:hasCommand
owl:propertyChainAxiom ( saref:hasFeatureKind saref:hasMandatoryCommand ) .
## A command may be described in terms of its input parameters using OP saref:hasInput. Typically, input parameters are feature kinds, properties, or states.
saref:hasInput a owl:ObjectProperty ;
rdfs:label "has input"@en ;
rdfs:comment "Links a command to one of its input parameters."@en ;
rdfs:domain [ a owl:Class ; owl:unionOf ( saref:Command saref:CommandOfInterest saref:Operation ) ] ;
skos:example "Different complementary commands can be defined for controlling a light. Turn on or off the light based on a desired state, toggle the light status of a specific light, set the luminosity level with a transition time, set the default transition time, start comfort."@en .
## A command may be described in terms of its outputs using OP saref:hasOutput. Typically, outputs are properties or states.
saref:hasOutput a owl:ObjectProperty ;
rdfs:label "has output"@en ;
rdfs:comment "Links a command to one of its output parameters."@en ;
rdfs:domain [ a owl:Class ; owl:unionOf ( saref:Command saref:CommandOfInterest saref:Operation ) ] ;
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
skos:example "Different complementary commands can be defined for measuring and observing a smart home. Measure the temperature once will output the indoor temperature property; observe status of the entry door will output an open/close state."@en .
# ETSI TS 103264 Clause 5.9.3: Commands of Interest
## A saref:CommandOfInterest is a directives actually exposed by a device function.
saref:CommandOfInterest a owl:Class ;
rdfs:label "Command Of Interest"@en ;
rdfs:comment "The lowest-level directives a device supports and exposes to some network. Commands can act upon (OP saref:actsUpon and its sub-properties) features, properties, or states. A saref:CommandOfInterest is a directives actually supported by a device and exposed to some network."@en ;
skos:note "Like for commands, commands of interest may be described in terms of their input parameters, outputs, and of which properties or states they act upon."@en ;
skos:note "Commands of interest need not always be explicited. It depends on the use case. Typically, commands of interest are useful to specify the actual property of interest or state of interest that is expected as input parameter, output, or that will be acted upon."@en ;
skos:example "The corridor smart light switch supports a command of kind “turn on/off”, which controls the state of the outdoor light."@en ;
skos:example "The smart fridge supports a command of kind “measure temperature”, which measures the temperature of the fridge."@en .
## The OP saref:hasCommandOfInterest may be used to link a function of interest to its command of interest. Its inverse is saref:isCommandOfInterestOf and is functional.
saref:hasCommandOfInterest a owl:ObjectProperty ;
owl:inverseOf saref:isCommandOfInterestOf ;
rdfs:comment "Links a function of interest to one of its commands of interest."@en ;
rdfs:label "has command of interest"@en ;
rdfs:domain saref:FunctionOfInterest ;
rdfs:range saref:CommandOfInterest .
saref:isCommandOfInterestOf a owl:ObjectProperty , owl:FunctionalProperty ;
owl:inverseOf saref:hasCommandOfInterest ;
rdfs:comment "Links a command of interest to the function of interest it is a command of."@en ;
rdfs:label "is command of interest of"@en ;
rdfs:domain saref:CommandOfInterest ;
rdfs:range saref:FeatureOfInterest .
## A command of interest is the command of (OP saref:isCommandOfInterestOf) exactly one function of interest.
saref:CommandOfInterest
rdfs:subClassOf
[ a owl:Restriction ;
owl:onProperty saref:isCommandOfInterestOf ;
owl:cardinality 1
] .
## A command of interest is the command of (OP saref:isCommandOfInterestOf) exactly one function.
saref:CommandOfInterest
rdfs:subClassOf
[ a owl:Restriction ;
owl:onProperty saref:isCommandOfInterestOf ;
owl:cardinality 1
] .
## A command of interest can be linked to its kind(s) using OP saref:hasCommandKind.
saref:hasCommandKind a owl:ObjectProperty ;
rdfs:label "has command kind"@en ;
rdfs:comment "links a command of interest to its kind, a command."@en ;
rdfs:domain saref:CommandOfInterest ;
rdfs:range saref:Command .
## Commands of interests inherit broader commands.
saref:hasCommandKind
owl:propertyChainAxiom ( saref:hasCommandKind skos:broader ) .
## Functions inherit the command kinds of their command of interest.
saref:hasCommand
owl:propertyChainAxiom ( saref:hasCommandOfInterest saref:hasCommandKind ) .
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
## Deprecated
saref:ToggleCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:GetCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:NotifyCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:GetSensingDataCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:GetCurrentMeterValueCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:GetMeterDataCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:GetMeterHistoryCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:SetAbsoluteLevelCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:SetRelativeLevelCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:SetLevelCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:StepDownCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:StepUpCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:PauseCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:StartCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:StopCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:CloseCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:OpenCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:OnCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:OffCommand a owl:Class ;
rdfs:subClassOf saref:Command ;
owl:deprecated true ;
skos:note "DEPRECATED: may be defined as an instance of saref:Command in the next major revision of SAREF"@en .
saref:ProcedureExecution a owl:Class .
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
# ETSI TS 103264 Clause 5.10: Services and Operations
## A saref:Service is a digital representation of a function in a network, making it discoverable, registerable and remotely controllable in the network.
saref:Service a owl:Class ;
rdfs:label "Service"@en ;
rdfs:comment "A saref:Service is a digital representation of a function in a network, making it discoverable, registerable and remotely controllable in the network."@en ;
skos:note "Typically, a device connected to a given network offers one service for each of its functions of interest."@en ;
skos:example "For example, a light switch can offer the service of remotely switching the lights in a home through mobile phone devices that are connected to the local network (ex:SwitchOnService class). This \"remote switching\" service represents the ex:OnOffFunction."@en .
## OP saref:represents links a service to some function or function of interest it exposes to the network.
saref:represents a owl:ObjectProperty ;
rdfs:label "represents"@en ;
rdfs:comment "Links a service to some function or function of interest it exposes to the network. Also links an operation to some command or command of interest it exposes to the network."@en ;
rdfs:domain [ a owl:Class ; owl:unionOf ( saref:Service saref:Operation ) ] ;
rdfs:range [ a owl:Class ; owl:unionOf ( saref:Function saref:FunctionOfInterest saref:Command saref:CommandOfInterest ) ] .
saref:Service
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty saref:represents ;
owl:allValuesFrom [ a owl:Class ; owl:unionOf ( saref:Function saref:FunctionOfInterest ) ]
] .
## A service represents at least one function of interest.
saref:Service
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty saref:represents ;
owl:onClass saref:FunctionOfInterest ;
owl:minQualifiedCardinality 1
] .
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
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
## OP saref:offers links a device to a service it exposes to a network. Its inverse if saref:isOfferedBy.
saref:offers a owl:ObjectProperty ;
owl:inverseOf saref:isOfferedBy ;
rdfs:label "offers"@en ;
rdfs:comment "Links a device to a service it exposes to a network."@en ;
rdfs:domain saref:Device ;
rdfs:range saref:Service .
saref:isOfferedBy a owl:ObjectProperty , owl:FunctionalProperty ;
owl:inverseOf saref:offers ;
rdfs:label "is offered by"@en ;
rdfs:comment "Links a service to the device that exposes it to a network"@en ;
rdfs:domain saref:Service ;
rdfs:range saref:Device .
## A service is offered by exactly one device.
saref:Service
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty saref:isOfferedBy ;
owl:cardinality 1
] .
## A saref:Operation is the means of a service to communicate in a procedure-type manner over the network (i.e. transmit data to/from other devices). It is the –machine interpretable– exposure of a –human understandable– command to a network.
saref:Operation a owl:Class ;
rdfs:label "Operation"@en ;
rdfs:comment "A saref:Operation is the means of a service to communicate in a procedure-type manner over the network (i.e. transmit data to/from other devices). It is the –machine interpretable– exposure of a –human understandable– command to a network."@en ;
skos:note "Typically, a device connected to a given network offers one service for each of its functions of interest, and each service has one operation per command of interest of the function of interest it represents."@en ;
skos:example "To turn on a light, send a CoAP PUT request with CBOR content 0xf5 (true)"@en ;
skos:example "In the set of operations exposed by a smart light bulb on a given network, one may be dedicated to turn on and off the light and expect a boolean as input. Another one may be dedicated to set the luminosity status and expect a target luminosity level (a byte) and a transition time (encoded on two bytes)."@en ;
skos:example "In the set of operations exposed by a smart washing machine on a given network, one may be dedicated to set the water temperature for the washing cycle, and expected as input a enumerated value. Another one may be dedicated to start, pause, or stop the washing cycle."@en .
## OP saref:represents also links an operation to some command or command of interest it exposes to the network.
saref:Operation
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty saref:represents ;
owl:allValuesFrom [ a owl:Class ; owl:unionOf ( saref:Command saref:CommandOfInterest ) ]
] .
## An operation represents at least one command of interest.
saref:Operation
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty saref:represents ;
owl:onClass saref:CommandOfInterest ;
owl:minQualifiedCardinality 1
] .
## OP saref:hasOperation links a service to its operations. Its inverse is saref:isOperationOf.
saref:hasOperation a owl:ObjectProperty ;
owl:inverseOf saref:isOperationOf ;
rdfs:label "has operation"@en ;
rdfs:comment "Links a service to one of its operations."@en ;
rdfs:domain saref:Service ;
rdfs:range saref:Operation .
saref:isOperationOf a owl:ObjectProperty , owl:FunctionalProperty ;
owl:inverseOf saref:hasOperation ;
rdfs:label "is operation of"@en ;
rdfs:comment "Links an operation to the service it belongs to."@en ;
rdfs:domain saref:Operation ;
rdfs:range saref:Service .
## An operation belongs to exactly one service.
saref:Operation
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty saref:isOperationOf ;
owl:cardinality 1
] .
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
# # ETSI TS 103264 Clause 5.11: Procedure executions
# saref:FeatureOfInterest
# rdfs:subClassOf [ a owl:Restriction ;
# owl:onProperty saref:hasMeasurement ;
# owl:allValuesFrom saref:Measurement
# ] .
# saref:hasTimestamp a owl:DatatypeProperty ;
# rdfs:comment "A relationship stating the timestamp of an entity (e.g. a measurement)."@en ;
# rdfs:label "has timestamp"@en .
# saref:Measurement a owl:Class ;
# rdfs:subClassOf [ a owl:Restriction ;
# owl:onProperty saref:isMeasurementOf ;
# owl:allValuesFrom saref:FeatureOfInterest
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:isMeasuredIn ;
# owl:allValuesFrom saref:UnitOfMeasure
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:relatesToProperty ;
# owl:allValuesFrom saref:Property
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:isMeasuredIn ;
# owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
# owl:onClass saref:UnitOfMeasure
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:relatesToProperty ;
# owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
# owl:onClass saref:Property
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:hasTimestamp ;
# owl:allValuesFrom xsd:dateTime
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:hasValue ;
# owl:cardinality "1"^^xsd:nonNegativeInteger
# ] ;
# rdfs:comment "Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
# rdfs:label "Measurement"@en .
# saref:hasMeasurement a owl:ObjectProperty ;
# rdfs:comment "Links a feature of interest and a measurement about it"@en ;
# rdfs:domain saref:FeatureOfInterest ;
# rdfs:range saref:Measurement ;
# rdfs:label "has measurement"@en .
# saref:isMeasurementOf a owl:ObjectProperty ;
# owl:inverseOf saref:hasMeasurement ;
# rdfs:comment "Links a measurement and the feature of interest whose quality was measured"@en ;
# rdfs:domain saref:Measurement ;
# rdfs:range saref:FeatureOfInterest ;
# rdfs:label "isMeasurementOf"@en .
# saref:makesMeasurement a owl:ObjectProperty ;
# owl:inverseOf saref:measurementMadeBy ;
# rdfs:comment "A relation between a device and the measurements it makes. Such measurement will link together the value of the measurement, its unit of measure and the property to which it relates."@en ;
# rdfs:domain saref:Device ;
# rdfs:range saref:Measurement ;
# rdfs:label "makes measurement"@en .
# saref:measurementMadeBy a owl:ObjectProperty ;
# rdfs:comment "A relation between a measurement and the device that made it."@en ;
# rdfs:domain saref:Measurement ;
# rdfs:range saref:Device ;
# rdfs:label "measurement made by"@en .
# saref:relatesToMeasurement a owl:ObjectProperty ;
# rdfs:comment "Links a property and the measurements it relates to"@en ;
# rdfs:domain saref:Property ;
# rdfs:range saref:Measurement ;
# rdfs:label "relates to measurement"@en .
# saref:relatesToProperty a owl:ObjectProperty ;
# owl:inverseOf saref:relatesToMeasurement ;
# rdfs:comment "Links a measurement and the property it relates to"@en ;
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
# rdfs:domain saref:Measurement ;
# rdfs:range saref:Property ;
# rdfs:label "relates to property"@en .
# # ETSI TS 103264 Clause 5.12: Profiles
# saref:Profile a owl:Class ;
# rdfs:subClassOf [ a owl:Restriction ;
# owl:onProperty saref:consistsOf ;
# owl:allValuesFrom saref:Profile
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:hasPrice ;
# owl:allValuesFrom saref:Price
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:hasTime ;
# owl:allValuesFrom saref:Time
# ] ,
# [ a owl:Restriction ;
# owl:onProperty saref:isAbout ;
# owl:allValuesFrom [ a owl:Class ; owl:unionOf ( saref:Commodity saref:Property ) ]
# ] ;
# rdfs:comment "A specification associated to a device to collect information about a certain Property (e.g., Energy) for optimizing its usage in the home, office or building in which the device is located. This specification is about a certain Property (saref:isAbout), can be calculated over a time span (saref:hasTime) and can be associated to some costs (saref:hasPrice). An example is the Power Profile defined in the SAREF4ENER extension that can be associated to a device for optimizing the Energy efficiency in the home, office or building in which the device is located."@en ;
# rdfs:label "Profile"@en .
# saref:hasProfile a owl:ObjectProperty ;
# rdfs:comment "A relationship associating a profile to a certain device"@en ;
# rdfs:domain saref:Device ;
# rdfs:range saref:Profile ;
# rdfs:label "has profile"@en .
# saref:isAbout a owl:ObjectProperty ;
# rdfs:comment "A relationship identifying what an entity, such as a profile, is about"@en ;
# rdfs:label "isAbout"@en .
# # Deprecated
# saref:hasSensingRange a owl:ObjectProperty ;
# rdfs:comment "Links a sensing function and a measurement identifying the range of a sensor detection"@en ;
# rdfs:domain saref:SensingFunction ;
# rdfs:range saref:Measurement ;
# rdfs:label "has sensing range"@en .
# saref:hasSensorType a owl:ObjectProperty ;
# rdfs:comment "A relationship identifying the sensing type of a sensor detection (i.e., Temperature, Occupancy, Humidity, Motion , Smoke, Pressure, etc.) "@en ;
# rdfs:domain saref:SensingFunction ;
# rdfs:range saref:Property ;
# rdfs:label "has sensor type"@en .
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
# saref:hasTypicalConsumption a owl:ObjectProperty ;
# rdfs:comment "A relationship identifying the typical (energy or power) consumption of a device"@en ;
# rdfs:label "has typical consumption"@en .
# saref:hasTime a owl:ObjectProperty ;
# rdfs:comment "A relationship to associate time information to an entity"@en ;
# rdfs:range saref:Time ;
# rdfs:label "has time"@en .
# saref:Time a owl:Class ;
# owl:deprecated true ;
# rdfs:comment "A class that allows to specify the time concept."@en ;
# rdfs:label "Time"@en .
# # Example related to sensors
# saref:Sensor a owl:Class ;
# rdfs:subClassOf saref:Device ,
# [ a owl:Restriction ;
# owl:onProperty saref:hasFunction ;
# owl:someValuesFrom saref:SensingFunction
# ] ;
# rdfs:comment "A device that detects and responds to events or changes in the physical environment such as light, motion, or temperature changes. Further, a device of category saref:Sensor that performs a saref:SensingFunction."@en ;
# rdfs:label "Sensor"@en .
# # Example related to events
# # Example related to meters
# saref:Meter a owl:Class ;
# rdfs:subClassOf saref:Device ,
# [ a owl:Restriction ;
# owl:onProperty saref:hasFunction ;
# owl:someValuesFrom saref:MeteringFunction
# ] ;
# rdfs:comment "A device built to accurately detect and display a quantity in a form readable by a human being. Further, a device of category saref:Meter that performs a saref:MeteringFunction."@en ;
# rdfs:label "Meter"@en .
# saref:hasMeterReading a owl:ObjectProperty ;
# rdfs:comment "Links a metering function and the measurement of the reading"@en ;
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
# rdfs:domain saref:MeteringFunction ;
# rdfs:range saref:Measurement ;
# rdfs:label "has meter reading"@en .
# saref:hasMeterReadingType a owl:ObjectProperty ;
# 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 .
# # 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 .
# # 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 .
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# # 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 .
# # 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 .
# # 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 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
# 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 .
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
# 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 .
# # 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" .