Skip to content
saref.ttl 73 KiB
Newer Older
@prefix : <https://saref.etsi.org/core/> .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
@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#> .
@prefix saref: <https://saref.etsi.org/core/> .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
@prefix dcterms: <http://purl.org/dc/terms/> .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
@prefix vann: <http://purl.org/vocab/vann/> .
Maxime Lefrançois's avatar
Maxime Lefrançois committed

<https://saref.etsi.org/core/> rdf:type owl:Ontology ;
                          owl:versionInfo "v3.1.1" ;
                          owl:versionIRI <https://saref.etsi.org/core/v3.1.1/> ;
                          dcterms:issued "2020-02-11"^^xsd:date ;
                          dcterms:modified "2020-05-29"^^xsd:date ;
                          dcterms:title "SAREF: the Smart Applications REFerence ontology"@en ;
                          dcterms:publisher <https://www.etsi.org/> ;
                          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#> ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                          dcterms:source <https://saref.etsi.org/sources/saref-core/> ;
                          rdfs:seeAlso <https://www.etsi.org/deliver/etsi_ts/103200_103299/103264/03.01.01_60/ts_103264v030101p.pdf> ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                          vann:preferredNamespacePrefix "saref" ;
                          vann:preferredNamespaceUri "https://saref.etsi.org/core/" ;
                          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 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:
Maxime Lefrançois's avatar
Maxime Lefrançois committed
 - 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.
 - 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 .

Maxime Lefrançois's avatar
Maxime Lefrançois committed

#################################################################
#    Object Properties
#################################################################

###  https://saref.etsi.org/core/accomplishes
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:accomplishes rdf:type owl:ObjectProperty ;
                   owl:inverseOf saref:isAccomplishedBy ;
                   rdfs:comment "A relationship between a certain entity (e.g., a device) and the task it accomplishes"@en ;
                   rdfs:range saref:Task ;
                   rdfs:label "accomplishes"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/actsUpon
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:actsUpon rdf:type owl:ObjectProperty ;
               rdfs:comment "A relationship between a command and a state"@en ;
               rdfs:domain saref:Command ;
               rdfs:range saref:State ;
               rdfs:label "acts upon"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/consistsOf
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:consistsOf rdf:type 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 .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/controlsProperty
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:controlsProperty rdf:type owl:ObjectProperty ;
                       rdfs:comment "A relationship specifying the property that can be controlled by a certain device"@en ;
                       rdfs:domain saref:Device ;
                       rdfs:range saref:Property ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                       rdfs:label "controls property"@en .


###  https://saref.etsi.org/core/hasCommand
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasCommand rdf:type owl:ObjectProperty ;
                 owl:inverseOf saref:isCommandOf ;
                 rdfs:comment "A relationship between a function and a command"@en ;
                 rdfs:domain saref:Function ;
                 rdfs:range saref:Command ;
                 rdfs:label "has command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasFunction rdf:type owl:ObjectProperty ;
                  rdfs:comment "A relationship identifying the function of a device"@en ;
                  rdfs:domain saref:Device ;
                  rdfs:range saref:Function ;
                  rdfs:label "has function"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasMeasurement
saref:hasMeasurement rdf:type owl:ObjectProperty ;
                     rdfs:comment "A relationship between a feature of interest and a measurement about it"@en ;
                     rdfs:domain saref:FeatureOfInterest ;
                     rdfs:range saref:Measurement ;
                     rdfs:label "has measurement"@en .


###  https://saref.etsi.org/core/hasMeterReading
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasMeterReading rdf:type owl:ObjectProperty ;
                      rdfs:comment "A relationship between a metering function and the measurement of the reading"@en ;
                      rdfs:domain saref:MeteringFunction ;
                      rdfs:range saref:Measurement ;
                      rdfs:label "has meter reading"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasMeterReadingType
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasMeterReadingType rdf:type 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 .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasPrice
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasPrice rdf:type owl:ObjectProperty ;
               rdfs:comment "A relationship indentifying the price associated to an entity"@en ;
               rdfs:range saref:Price ;
               rdfs:label "has price"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasProfile
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasProfile rdf:type 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 .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasMeasurement
saref:hasMeasurement rdf:type owl:ObjectProperty ;
                     rdfs:comment "A relationship between a feature of interest and a measurement about it"@en ;
                     rdfs:domain saref:FeatureOfInterest ;
                     rdfs:range saref:Measurement ;
                     rdfs:label "has measurement"@en .


###  https://saref.etsi.org/core/hasProperty
saref:hasProperty rdf:type owl:ObjectProperty ;
                  rdfs:comment "A relationship between a feature of interest and a property of that feature"@en ;
                  rdfs:domain saref:FeatureOfInterest ;
                  rdfs:range saref:Property ;
###  https://saref.etsi.org/core/hasSensingRange
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasSensingRange rdf:type owl:ObjectProperty ;
                      rdfs:comment "A relationship between 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 .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasSensorType
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasSensorType rdf:type 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 .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


###  https://saref.etsi.org/core/hasState
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:hasState rdf:type owl:ObjectProperty ;
               rdfs:comment "A relationship identifying the type of state of a device"@en ;
               rdfs:domain saref:Device ;
Loading
Loading full blame…