Newer
Older
Raul Garcia-Castro
committed
@prefix : <https://saref.etsi.org/core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Raul Garcia-Castro
committed
@prefix saref: <https://saref.etsi.org/core/> .
Raul Garcia-Castro
committed
@base <https://saref.etsi.org/core/> .
<https://saref.etsi.org/core/> a owl:Ontology ;
owl:versionInfo "v3.2.1" ;
owl:versionIRI <https://saref.etsi.org/core/v3.2.1/> ;
dcterms:issued "2023-12-31"^^xsd:date ;
dcterms:modified "2020-12-31"^^xsd:date ;
dcterms:title "SAREF: the Smart Applications REFerence ontology"@en ;
Raul Garcia-Castro
committed
dcterms:publisher <https://www.etsi.org/> ;
Raul Garcia-Castro
committed
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:creator <https://www.linkedin.com/in/lauradaniele> ;
dcterms:creator <http://www.garcia-castro.com/foaf.rdf#me> ;
dcterms:creator <https://w3id.org/people/mpoveda/> ;
dcterms:creator <http://maxime-lefrancois.info/me#> ;
dcterms:source <https://saref.etsi.org/sources/saref-core/> ;
rdfs:seeAlso <https://www.etsi.org/deliver/etsi_ts/103200_103299/103264/03.02.01_60/ts_103264v030201p.pdf> ;
vann:preferredNamespaceUri "https://saref.etsi.org/core/" ;
Raul Garcia-Castro
committed
dcterms:description "The Smart Applications REFerence ontology (SAREF) is intended to enable interoperability between solutions from different providers and among various activity sectors in the Internet of Things (IoT), thus contributing to the development of the global digital market."@en ;
rdfs:comment """Information about changes compared to version 3.1.1:
- Added the saref:FeatureKind class
- Added the saref:PropertyOfInterest class
- Added the saref:StateOfInterest class
""" ;
Raul Garcia-Castro
committed
rdfs:comment """Information about changes compared to version 2.1.1:
- Added the saref:FeatureOfInterest class and the properties used to relate it to saref:Measurement (saref:hasMeasurement and saref:isMeasurementOf) and to saref:Property (saref:hasProperty and saref:isPropertyOf).
- Added the saref:measurementMadeBy property as inverse of saref:makesMeasurement.
- The saref:relatesToProperty and saref:relatesToMeasurement properties are now inverse of each other.
- The range of saref:hasValue, which was defined as xsd:float, has been removed to support other datatypes for measurements.
- The range of datatype properties, which was defined as xsd:string, has been removed in order to support strings with language tags (rdf:langString). This affects saref:hasDescription, saref:hasManufacturer, saref:hasModel and saref:hasName, which now have implicitly a range of rdfs:Literal.
- The saref:hasName property has been removed and the use of rdfs:label is recommended.
- The saref:hasDescription property has been deprecated and the use of rdfs:comment is recommended.
- Too restrictive restrictions have been removed and in some cases the ontology documentation has been updated to reflect this: a saref:Command having at most one saref:hasDescription; a saref:Task being accomplished by at least one saref:Device; a saref:Device having a typical consumption of only energy or power; a saref:Commodity being measured in units of measure; restrictions on the values of saref:accomplishes that only covered specific use cases; universal restrictions on the saref:actsUpon property have been changed to existential ones; restrictions on the commands that a saref:Function may have, since there could be others not included in the defined enumerations; restrictive documentation of saref:EventFunction and saref:SmokeSensor.
- Bugs have been fixed: some devices (saref:DoorSwitch, saref:EnergyMeter, saref:LigthSwitch, saref:SmokeSensor, and saref:TemperatureSensor) were defined as subclass of a device and at the same time as consisting of such device; a saref:LightSwitch controls light and does not measure light, since it is an actuator; incorrect documentation of saref:OnState and saref:OffState.
- The saref:BuildingRelated, saref:EnergyRelated and saref:FunctionRelated classes have been removed, since the different extensions already classify the device types.
- The instances of the subclasses of saref:Command have been removed, since they represent examples.
- The instances of saref:UnitOfMeasure have been moved to examples.
- The classes related to the SAREF4ENER extension have been removed: saref:Generator, saref:Storage, saref:Load and saref:EnergyMeter.
- Some instances of saref:Device have been moved to examples: saref:WashingMachine, saref:LightingDevice, saref:MicroRenewable, saref:Multimedia, and saref:Network.
- Added domain and range axioms wherever the definition of a property unambiguously identifies the domain or the range of the property.
- The OWL Time ontology is not imported anymore.
- The documentation of some ontology terms has been updated for clarification.
- Language tags have been added to all labels and comments.
""" ;
rdfs:comment """Information about changes compared to version 1.1.1:
- The classes and properties related to how to represent devices in building spaces (such as the saref:BuildingSpace class, saref:BuildingObject class and saref:isLocatedIn property) have been removed from SAREF and incorporated into the SAREF4BLDG extension related to buildings, including the reuse of the W3C? WGS84 geo positioning vocabulary.
Raul Garcia-Castro
committed
- The saref:DeviceCategory and saref:FunctionCategory classes have been removed. Instead, the hierarchy of device categories has been implemented directly as subclasses of the saref:Device class.
- The information specific for energy efficiency has been moved to the SAREF4ENER extension. For example, the saref:Profile class has been redefined to accommodate only the properties that are general enough for any type of profile, not only for energy and power. Details on how to specifically model a power profile can be found in the SAREF4ENER extension.
- The subclasses of the saref:Energy class have been removed (i.e., Average Energy, Maximum Energy, Minimum Energy, Total Energy, HVAC Energy, Hot Water Energy and Lighting Energy).
- The saref:Property class has been split into two classes (saref:Property and saref:Measurement), as it is done in the SAREF4ENVI extension, in order to properly accommodate the distinction between the concept of property (an observable quality of something) and the concept of measurement (a concrete value observed for a property).
- Too restrictive cardinality restrictions have been revised, sometimes making them optional rather than mandatory (better to make properties mandatory in the extensions that specialize SAREF for a specific purpose, rather than restricting SAREF, whose purpose is more general). For example, definitions of units of measurement using an enumeration (owl:oneOf) were too restrictive because they did not allow using other units than those enumerated. Therefore, the individuals of each class are still there, but the owl:oneOf enumeration has been removed.
- The saref:UnitOfMeasure subclasses use individuals from the OM ontology for unit of measures, but this is not the only solution. It has been clarified in the comments that the OM ontology is an example, but other ontologies can be used.
- The global restrictions (rdfs:domain and rdfs:range) in object properties have been completely removed not to hinder interoperability. Object properties are now only restricted locally in the classes.
- The subclasses of saref:Task have been transormed in individuals.
- The saref:hasTask property has been removed from the saref:Profile class to resolve an ambiguity with the saref:Task class.""" .
dcterms:issued a owl:AnnotationProperty .
dcterms:modified a owl:AnnotationProperty .
dcterms:source a owl:AnnotationProperty .
dcterms:creator a owl:AnnotationProperty .
dcterms:title a owl:AnnotationProperty .
dcterms:description a owl:AnnotationProperty .
dcterms:license a owl:AnnotationProperty .
dcterms:publisher a owl:AnnotationProperty .
vann:preferredNamespacePrefix a owl:AnnotationProperty .
vann:preferredNamespaceUri a owl:AnnotationProperty .
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# ETSI TS 103264 Clause 5.2: Feature kinds and features of interest
saref:FeatureOfInterest a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onProperty saref:hasProperty ;
owl:allValuesFrom saref:Property
] ;
rdfs:comment "A feature of interest represents any real world entity from which a property is measured."@en ;
rdfs:label "Feature of interest"@en .
saref:consistsOf a owl:ObjectProperty ;
rdfs:comment "A relationship indicating a composite entity that consists of other entities (e.g., a temperature/humidity sensor that consists of a temperature sensor and a humidity sensor)"@en ;
rdfs:label "consists of"@en .
saref:hasDescription a owl:DatatypeProperty ;
owl:deprecated "true"^^xsd:boolean ;
rdfs:comment "DEPRECATED: The use of rdfs:comment is recommended instead."@en ;
rdfs:comment "A relationship providing a description of an entity (e.g., device). The value is expected to be a string or a string with language tag."@en ;
rdfs:label "has description"@en .
saref:hasManufacturer a owl:DatatypeProperty ;
rdfs:comment "A relationship identifying the manufacturer of an entity (e.g., device). The value is expected to be a string or a string with language tag."@en ;
rdfs:label "has manufacturer"@en .
saref:hasModel a owl:DatatypeProperty ;
rdfs:comment "A relationship identifying the model of an entity (e.g., device). The value is expected to be a string or a string with language tag."@en ;
rdfs:label "has model"@en .
# ETSI TS 103264 Clause 5.3: Devices
saref:Device a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onProperty saref:consistsOf ;
owl:allValuesFrom saref:Device
] ,
[ a owl:Restriction ;
owl:onProperty saref:controlsProperty ;
owl:allValuesFrom saref:Property
] ,
[ a owl:Restriction ;
owl:onProperty saref:hasProfile ;
owl:allValuesFrom saref:Profile
] ,
[ a owl:Restriction ;
owl:onProperty saref:hasState ;
owl:allValuesFrom saref:State
] ,
[ a owl:Restriction ;
owl:onProperty saref:isUsedFor ;
owl:allValuesFrom saref:Commodity
] ,
[ a owl:Restriction ;
owl:onProperty saref:makesMeasurement ;
owl:allValuesFrom saref:Measurement
] ,
[ a owl:Restriction ;
owl:onProperty saref:measuresProperty ;
owl:allValuesFrom saref:Property
] ,
[ a owl:Restriction ;
owl:onProperty saref:offers ;
owl:allValuesFrom saref:Service
] ,
[ a owl:Restriction ;
owl:onProperty saref:accomplishes ;
owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass saref:Task
] ,
[ a owl:Restriction ;
owl:onProperty saref:hasFunction ;
owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass saref:Function
] ,
[ a owl:Restriction ;
owl:onProperty saref:hasManufacturer ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ a owl:Restriction ;
owl:onProperty saref:hasModel ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ;
rdfs:comment "A tangible object designed to accomplish a particular task. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function."@en ;
rdfs:label "Device"@en .
saref:actsUpon a owl:ObjectProperty ;
rdfs:comment "Links a device, function, command, or command execution, to the feature, property, or state, it acts upon."@en ;
rdfs:domain [ a owl:Class ; owl:unionOf ( saref:Device saref:Function saref:Command saref:CommandExecution ) ] ;
rdfs:range [ a owl:Class ; owl:unionOf ( saref:FeatureKind saref:FeatureOfInterest saref:Property saref:PropertyOfInterest saref:State saref:StateOfInterest ) ] ;
rdfs:label "acts upon"@en .
saref:measures a owl:ObjectProperty ;
rdfs:subPropertyOf saref:actsUpon ;
rdfs:comment "Links a device, function, command, or command execution, to the feature, property, or state, it measures."@en ;
rdfs:label "measures"@en .
saref:measuresProperty a owl:ObjectProperty ;
owl:deprecated true ;
skos:note "Will be deleted in the next major revision of SAREF"@en ;
rdfs:comment "A relationship specifying the property that can be measured by a certain device"@en ;
rdfs:domain saref:Device ;
rdfs:range saref:Property ;
rdfs:label "measures property"@en .
saref:isMeasuredByDevice rdf:type owl:ObjectProperty ;
rdfs:comment "A relationship specifying the devices that can measure a certain property"@en ;
rdfs:domain saref:Property ;
rdfs:range saref:Device ;
rdfs:label "is measured by device"@en .
saref:controls a owl:ObjectProperty ;
rdfs:subPropertyOf saref:actsUpon ;
rdfs:comment "Links a device, function, command, or command execution, to the feature, property, or state, it controls."@en ;
rdfs:label "controls"@en .
saref:isControlledByDevice rdf:type owl:ObjectProperty ;
rdfs:comment "A relationship specifying the devices that can control a certain property"@en ;
rdfs:domain saref:Property ;
rdfs:range saref:Device ;
rdfs:label "is controlled by device"@en .
Loading
Loading full blame…