SAREF: the Smart Applications REFerence ontology

Latest version
https://saref.etsi.org/core/
Permanent IRI for this version (v3.2.1)
https://saref.etsi.org/core/v3.2.1/
Previous version
https://saref.etsi.org/core/v3.1.1/
ETSI Technical Specification:
https://www.etsi.org/deliver/etsi_ts/103200_103299/103264/03.02.01_60/ts_103264v030201p.pdf
Sources on the ETSI Forge
https://saref.etsi.org/sources/saref-core/
Publication Date
2023-12-31
Last Modification Date
2020-12-31
Creators
Ontology requirements and tests
requirements and tests
Examples
13 Examples
Prefix and namespace declaration
Turtle: @prefix saref: <https://saref.etsi.org/core/> .
SPARQL: PREFIX saref: <https://saref.etsi.org/core/>
Download serialization
License
Browse ontology
NOTE: The text in this section is extracted from ETSI TS 103 264 (V3.2.1) [0], and therefore falls inside the ETSI IPR Policy

History, Design Principles, Extensions

Introduction and Overview

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.

SAREF explicitly specifies the recurring core concepts in the Smart Applications domain, the main relationships between these concepts, and axioms to constrain the usage of these concepts and relationships. SAREF is based on the fundamental principles of reuse and alignment of concepts and relationships that are defined in existing assets, modularity to allow separation and recombination of different parts of the ontology depending on specific needs, extensibility to allow further growth of the ontology, and maintainability to facilitate the process of identifying and correcting defects, accommodate new requirements, and cope with changes in (parts of) SAREF.

Mappings to other concepts used by different semantic assets allow translation from the reference ontology to specific assets, reducing the effort of translating from one asset to another, since the reference ontology requires one set of mappings to each asset, instead of a dedicated set of mappings for each pair of assets. Figure 1 shows the role of the reference ontology in the mapping by means of sample assets. The mappings of SAREF to various assets are available in [i.4].

NOTE:

UPnP® and Z-Wave® are examples of suitable products available commercially. This information is given for the convenience of users of the present document and does not constitute an endorsement by ETSI of these products.

The role of SAREF in the mapping among different assets
Figure 1: The role of SAREF in the mapping among different assets

A Brief History of SAREF

The SAREF initiative started in 2014/2015 with a study requested by the European Commission on "Available Semantics Assets for the Interoperability of Smart Appliances: Mapping into a Common Ontology as a M2M Application Layer Semantics" [i.1]. Such study acknowledged that the energy utilization of Smart Appliances can be reduced if they are managed and controlled on a system level. The system needs standardized interfaces to ensure interoperability. Many of the required standards already exist, but a common architecture does not, resulting in a market which is too fragmented and powerless. Therefore, a reference ontology of consensus was designed to cover the needs of all appliances relevant for energy efficiency. The study consisted of three tasks:

  • Task 1: Take stock of existing semantic assets and use case assets.
  • Task 2: Perform a translation exercise of each model (or use case) to a common ontology language and a mapping or matching exercise between all the models.
  • Task 3: Propose a reference ontology and document the ontology into the ETSI M2M architecture.

NOTE:

The ETSI M2M architecture has evolved into the oneM2M architecture, therefore the latter one was considered.

About 50 different semantic assets (i.e. standards, protocols, data models, ontologies) had been identified that describe various properties of Smart Appliances in residential environments. After translating half of these semantic assets into Web Ontology Language (OWL) (https://sites.google.com/site/smartappliancesproject/ontologies), 20 recurring concepts were used as initial building blocks for creating the Smart Applications REFerence ontology. The concepts were mapped from the semantic assets to SAREF to allow for translations between different semantic assets [i.4].

In November 2015, SAREF was transformed into a Technical Specification and published by ETSI SmartM2M as ETSI TS 103 264 [i.5].

In 2016, ETSI SmartM2M requested a Specialist Task Force (STF) to identify and create possible extensions of SAREF, and provide input to update SAREF according to the requirements collected from the stakeholders that have used SAREF since its first release in April 2015. This led to a new release SAREF V2.1.1 [i.6], which incorporated the feedback both from the STF that created the first SAREF extensions, and from the stakeholders that provided their input for improving SAREF. This feedback can be found in ETSI TR 103 411 [i.3] and was used to create SAREF V2.1.1.

The scope of the first release of SAREF was limited to an indoor managed domain, such as a building managed by a building manager or an apartment managed by a user. This scope also included the outdoor premises that belong to the considered indoor managed domain, in other words, a pergola that is part of the building is also within the scope, as well as a sensor located under that pergola. Note that the smart city domain was not originally considered, i.e. if the same sensor that is under the pergola is also in a street, then the sensor in the street was out of the scope of SAREF. After extending SAREF to different domains, it was clear the need for broadening the scope of SAREF from home appliances and buildings to any device that can be found in smart applications; this motivated the change of name of the ontology from "Smart Appliances REFerence ontology" to "Smart Applications REFerence ontology".

In June 2018, another STF started in SmartM2M with the goal (among others) of consolidating SAREF with new reference ontology patterns, based on the experience from the EUREKA ITEA SEAS project. As a result of this STF, 37 different issues were identified and discussed in ETSI TR 103 549 [i.20], proposing and agreeing on resolutions for most of them. Furthermore, it was identified the need for moving some transversal terms used in several extensions of SAREF to the core SAREF ontology, because of the broad applicability of such terms. This led to the release of SAREF ETSI TS 103 264 V3.1.1 [i.7].

SAREF and its different extensions were developed quite independently by different teams of experts, sometimes in parallel. Sometimes different modelling decisions were made, with the result that SAREF extensions had important discrepancies. SmartM2M started to identify ontology patterns that may be used to homogenise the structure of SAREF extensions. In 2022, two new STFs started in SmartM2M with the goal to homogenise and facilitate the use of SAREF and existing 11 SAREF domain mapping by using common ontology patterns. A total of 91 different issues were identified and discussed in ETSI TR 103 781 [i.21], and a set of SAREF Core reference ontology patterns was specified in ETSI TS 103 548 [4].

A summary of the most relevant changes made in SAREF ETSI TS 103 264 V2.1.1 [i.6], V3.1.1 [i.7] and V3.2.1 (the present document) is provided in annex A.

SAREF Design Principles

The Smart Applications REFerence ontology (SAREF) is conceived as a shared model of consensus that facilitates the matching of existing semantic assets for building smart applications, reducing the effort of translating from one asset to another, since SAREF requires one set of mappings to each asset, instead of a dedicated set of mappings for each pair of assets.

Different semantic assets share some recurring, core concepts, but they often use different terminologies and adopt different data models to represent these concepts. Using SAREF, different assets can keep using their own terminology and data models, but still can relate to each other through their common semantics. In other words, SAREF enables semantic interoperability in smart applications through its shared, core concepts.

SAREF explicitly specifies recurring core concepts in smart applications, the main relationships between these concepts, and axioms to constrain the usage of these concepts and relationships. SAREF has been created based on the following fundamental principles:

  • Reuse and alignment of concepts and relationships that are defined in existing assets. Since a large amount of work was already being done in the smart appliances and in the Internet of Things domains, nothing has been re-invented, but harmonized and aligned what was already there. SAREF is based on the core concepts that were identified as especially relevant to describe the existing semantic assets for smart applications and is aligned to the main classes and properties of the oneM2M base ontology [1].

SAREF reuses the following resources:

  • oneM2M base ontology [1];
  • W3C® SKOS ontology [5];
  • OGC® and W3C® SOSA/SSN ontology [6];
  • OGC® and W3C® Time ontology [7];
  • OGC® GeoSPARQL vocabulary [8].

SAREF currently does not contain explicit references to upper ontologies such as DUL or SUMO. The use of upper ontologies is a best practice in ontology engineering, but the industrial world - main user of SAREF - is very pragmatic and is not acquainted with high-level upper ontologies. Introducing DUL would have unnecessarily complicated the understanding and, consequently, the adoption of SAREF by the industry. Anyway, SAREF has been built on a solid ontological foundation and can be related to DUL, but this was not explicitly done in order not to confuse industry users. Furthermore, SAREF currently has mappings to the OGC® and W3C® SOSA/SSN ontology, which is in turn related to DUL. Therefore, SAREF currently includes an indirect reference to DUL through the OGC® and W3C® SOSA/SSN ontology.

  • Modularity to allow separation and recombination of different parts of the ontology depending on specific needs. SAREF provides building blocks that can be combined to accommodate different needs and points of view. The starting point is the concept of device, which is actually common to all the semantic assets considered in the study, although some assets may refer to it with different names, such as resource or product, but mappings for that are provided in [i.4]. A device is always designed to perform one or more functions, therefore, SAREF offers a list of basic functions that can be eventually combined in order to have more complex functions in a single device. Each function has some associated commands, which can also be selected as building blocks from a list. Depending on the function(s) it performs, a device can be found in some corresponding states that are also listed as building blocks, so that it is easy and intuitive to combine devices, functions and states. SAREF also provides a list of properties that can be used to further specialize the functioning of a device.
  • Extensibility to allow further growth of the ontology. Different stakeholders can specialize the SAREF concepts according to their needs and points of view, add more specific relationships and axioms to refine the general (common) semantics expressed in the reference ontology, and create new concepts, as long as they explicitly link these extensions to at least one existing concept and/or relationship in SAREF. The minimum requirement is that any extension/specialization shall comply with SAREF. Examples of extensions of SAREF in different domains are SAREF4ENER (energy domain) [i.8], SAREF4ENVI (environment domain) [i.9] and SAREF4BLDG (building domain) [i.10]. SAREF and extensions are based on patterns that are used in different domains. SAREF extension developers should reuse SAREF reference ontology patterns as specified in ETSI TS 103 548 [4].
  • Maintainability to facilitate the process of identifying and correcting defects, accommodate new requirements, and cope with changes in (parts of) SAREF. According to the extensibility criterion mentioned above, a new module/ontology can be created to further extend/specialize concepts of SAREF. The party that creates the extension should also be responsible for the maintenance of this extension and its evolution over time. SAREF extension developers shall comply with the SAREF Development Framework and Workflow as specified in ETSI TS 103 673 [3]. For an initial strategy proposed in ETSI to extend, maintain and evolve SAREF (and its extensions), see ETSI TR 103 411 [i.3].

SAREF Extensions

SAREF is the reference ontology for smart applications and contains recurring concepts that are used in several domains. SAREF has a close relation with the oneM2M Base Ontology, for which a mapping is defined in clause 6. As smart applications are not restricted to only one domain, it is possible that specific concepts for a certain domain are not part of SAREF. To be able to handle these additional concepts and provide different domains with a proper ontology that reflects the specific needs of that domain, extensions to SAREF should be created. Figure 11 shows SAREF as the core model to be used as basis for creating extensions in different domains, which are represented as rectangles. Each domain can have one or more extensions, depending on the complexity of the domain and the different needs. Extensions of SAREF have been created for:

  • SAREF4ENER for the Energy domain in ETSI TS 103 410-1 [i.8].
  • SAREF4ENVI for the Environment domain in ETSI TS 103 410-2 [i.9].
  • SAREF4BLDG for the Building domain in ETSI TS 103 410-3 [i.10].
  • SAREF4CITY for the Smart City domain in ETSI TS 103 410-4 [i.11].
  • SAREF4INMA for the Industry and Manufacturing domain in ETSI TS 103 410-5 [i.12].
  • SAREF4AGRI for the Agrifood domain in ETSI TS 103 410-6 [i.13].
  • SAREF4AUTO for the Automotive domain in ETSI TS 103 410-7 [i.14].
  • SAREF4EHAW for the eHealth and Ageing Well domain in ETSI TS 103 410-8 [i.15].
  • SAREF4WEAR for the Wearables domain in ETSI TS 103 410-9 [i.16].
  • SAREF4WATR for the Water domain in ETSI TS 103 410-10 [i.17].
  • SAREF4LIFT for the Smart Lifts domain in ETSI TS 103 410-11 [i.18].
  • SAREF4GRID for the Smart Grids domain in ETSI TS 103 410-12 [i.19].

Other extensions can be created for new domains and, if needed, also for the same domains for which extensions already exist.

SAREF and its extensions
Figure 2: SAREF and its extensions

Develop, apply and evolve SAREF ontologies

The following provisions apply to SAREF:

Provision 1: SAREF Core and SAREF Extension development shall conform to ETSI TS 103 673 [3].

Provision 2: Whenever appropriate, SAREF Extensions should reuse and extend SAREF Reference ontology patterns as specified in ETSI TS 103 548 [4].

Provision 3: SAREF shall use the SAREF Communication framework as defined in ETSI TS 103 267 [2].

Some examples of device built using SAREF can be found in ETSI TR 103 411 [i.3] and in the different SAREF extensions ([i.8] to [i.19]).

Specification of SAREF

Prefixes and Namespaces

The prefixes and namespaces used in SAREF and in the present document are listed in Table 1.

Prefix Namespace
dct http://purl.org/dc/terms/
foaf http://xmlns.com/foaf/0.1/
owl http://www.w3.org/2002/07/owl#
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs http://www.w3.org/2000/01/rdf-schema#
s4syst https://saref.etsi.org/saref4syst/
saref https://saref.etsi.org/core/
skos http://www.w3.org/2004/02/skos/core#
time http://www.w3.org/2006/time#
vann http://purl.org/vocab/vann/
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema#
Table 1: Namespace Declarations

General Overview

Figure 3 shows an overview of the main classes and properties of SAREF Core.

A detailed explanation of each class is presented in clause 5.2 to clause 5.13.

Overview of the SAREF ontology
Figure 3: Overview of the SAREF ontology

Feature kinds and features of interest

Figure 4 illustrates the main classes and properties for feature kinds and features of interest. SAREF extensions and applications may create, specialize, and categorize feature kinds and features of interest as specified in ETSI TS 103 548 [4], clause 5.2.

Feature kinds and features of interest
Figure 4: Feature kinds and features of interest

Class saref:FeatureOfInterest represents any real world entity from which a property or a state may be acted upon, such as observed and controlled. An instance of saref:FeatureOfInterest represents one specific real world entity.

EXAMPLE 1:

<etsi_premises/athena> a saref:FeatureOfInterest ;
            rdfs:label "ATHENA amphitheatre"@en ;
            rdfs:comment "The ATHENA amphitheatre in the ETSI premises."@en .
    <etsi_premises/athena/window5> a saref:FeatureOfInterest ;
            rdfs:label "ATHENA Window 5"@en ;
            rdfs:comment "Window 5 of ATHENA amphitheatre"@en .

Class saref:FeatureKind allows to describe kinds of features of interest, with common properties having the same value, and common states being the same. An instance of saref:FeatureKind represents an archetype of real world entities, for example to populate product catalogs.

EXAMPLE 2:

<1000x2000mmWindowOrientedNorth> a saref:FeatureKind ;
            rdfs:label "1000x2000mm window oriented north"@en ;
            rdfs:comment "The kind of windows with dimensions 1000x2000mm and oriented north."@en .

Feature kinds can be organized in a taxonomy using OPs skos:narrower and skos:broader.

EXAMPLE 3:

<1000x2000mmWindowOrientedNorth> a saref:FeatureKind ;
            skos:broader <1000x2000mmWindow> ;
skos:broader <WindowOrientedNorth> .

A feature of interest can be linked to its kind(s) using OP saref:hasFeatureKind.

EXAMPLE 4:

<etsi_premises/athena/window5>
            saref:hasFeatureKind <1000x2000mmWindowOrientedNorth> .

NOTE:

Feature of interest inherit broader feature kinds. saref:hasFeatureKind o skos:broadersaref:hasFeatureKind

EXAMPLE 5:

<etsi_premises/athena/window5>
            saref:hasFeatureKind <1000x2000mmWindow> ;
saref:hasFeatureKind <WindowOrientedNorth> .

A feature kind (respectively a feature of interest) may consist of (OP saref:consistsOf) other feature kinds (respectively features of interest).

EXAMPLE 6:

s4abcd:AAHeatPumpDryer a saref:FeatureKind ;
    saref:consistsOf s4abcd:HeatPump , s4abcd:AirCyclingCircuit , s4abcd:Dryer .

EXAMPLE 7:

<etsi_premises/athena> a saref:FeatureOfInterest ;
        saref:consistsOf <etsi_premises/stage> ;
        saref:consistsOf <etsi_premises/athena/window5> .

Whenever appropriate, SAREF extensions and applications should also use the classes from SAREF4SYST to specify if a saref:FeatureOfInterest is a system (s4syst:System), a Connection between systems (s4syst:Connection), or a connection point of a system (s4syst:ConnectionPoint).

The model and the manufacturer of a saref:FeatureKind or a saref:FeatureOfInterest can be explicited using DPs saref:hasModel and saref:hasManufacturer, respectively.

EXAMPLE 8:

<ball-bearing-xsd215sd7f> a saref:FeatureOfInterest ;
        saref:hasManufacturer "Company X"@en ;
    saref:hasModel "6000-2RZ1 "@en .

Devices

Figure 5 illustrates the main classes and properties for devices. SAREF extensions and applications may create, specialize, and categorize devices as specified in ETSI TS 103 548 [4], clause 5.3.

Devices
Figure 5: Devices

Class saref:Device represents any tangible object designed to accomplish a particular task by performing one or more functions. An instance of saref:Device represents one specific real world entity.

EXAMPLE 1:

Examples of devices are a light switch, a temperature sensor, an energy meter, a water flow meter, and a laundry dryer. A laundry dryer is designed to dry laundry, and to accomplish this task it has a start/stop function.

EXAMPLE 2:

ex:Meter4837QW123 a saref:Device ;
            rdfs:label "Meter 4837QW123"@en ;
            rdfs:comment "The meter that measures the incoming water flow 
                             of the Computer Science school."@en .

EXAMPLE 3:

ex:Dryer354A1E08FA a saref:Device ;
            rdfs:label "Dryer 354A1E08FA"@en ;
            rdfs:comment "The laundry dryer with serial number 354A1E08FA"@en.

Devices are also systems (s4syst:System) and features of interest (saref:FeatureOfInterest).

A device can be linked to its feature kinds using OP saref:hasDeviceKind. Kinds of devices describe models of devices, with common properties having the same value, common states being the same, common functions, and common services. OP saref:hasDeviceKind is a sub-property of OP saref:hasFeatureKind.

EXAMPLE 4:

ex:Meter4837QW123 saref:hasDeviceKind s4abcd:SmartWaterMeterABC123 . s4abcd:SmartWaterMeterABC123 a saref:FeatureKind ;
    rdfs:label "Smart Water Meter ABC123"@en ;
    rdfs:comment "The smart water meter ABC123 of manufacturer ABC. A device kind."@en .

A device can act upon (OP saref:actsUpon) features, properties, or states. SAREF Core defines different sub-properties of saref:actsUpon:

  • saref:observes for when a device observes a feature, or property or state of that feature.
  • saref:controls for when a device controls a feature, or property or state of that feature.

NOTE:

Property saref:actsUpon also applies to functions, commands, and procedure executions.

EXAMPLE 5:

s4abcd:AAHeatPumpDryer a saref:FeatureKind ;
    saref:controls s4abcd:DryerRotationalSpeed ;
    saref:controls s4abcd:DryerTemperature ;
    saref:observes s4abcd:LaudryBatchHumidity .

As shown in Figure 6, SAREF Core provides some examples of classes of devices including appliances, sensors, actuators, and meters. Their definitions are the following:

  • saref:Appliance: The class of devices designed to accomplish a particular task for occupant use. It consumes, produces, or stores, some commodity.
  • saref:Sensor: A device designed to observe one or more properties or states of one or more features of interest.
  • saref:Actuator: A device designed to control one or more properties or states of one or more features of interest.
  • saref:Meter: A device designed to observe and measure one or more properties of one or more features of interest.
Categories of devices
Figure 6: Categories of devices

Tasks

Class saref:Task represents goals for which a device is designed, from a user perspective.

SAREF extensions and applications may create, specialize, and categorize tasks as specified in ETSI TS 103 548 [4], clause 5.4 and illustrated on Figure 7.

Taxonomy of tasks, grouped by categories
Figure 7: Taxonomy of tasks, grouped by categories

Tasks can be organized in a taxonomy using OPs skos:narrower and skos:broader.

EXAMPLE 1:

Example of tasks are cleaning, drying, and lighting.

saref:Drying a saref:Task ;
            rdfs:label "Drying"@en ;
            rdfs:comment "A type of task for which a device is designed."@en .

Device kinds and devices can be linked to the one or more tasks they are designed to accomplish with OP saref:accomplishes.

EXAMPLE 2:

s4abcd:AAHeatPumpDryer a saref:FeatureKind ;
saref:accomplishes s4abcd:DryingLaundry .

EXAMPLE 3:

ex:switch21354 a saref:Device ;
saref:hasDeviceKind s4abcd:Switch ;
        saref:accomplishes s4abcd:Lighting .

NOTE:

Property saref:accomplishes can also apply to other classes such as functions, commands, and procedure executions.

Commodities

Class saref:Commodity represents marketable items which may be supplied without qualitative differentiation. Commodities may be consumed, produced, or stored, by some feature of interest or device.

SAREF extensions and applications may create, specialize, and categorize commodities as specified in ETSI TS 103 548 [4], clause 5.5 and illustrated on Figure 8.

Taxonomy of commodities, grouped by categories
Figure 8: Taxonomy of commodities, grouped by categories

Commodities can be organized in a taxonomy using OPs skos:narrower and skos:broader.

SAREF Core defines the category of energy commodities that groups electricity, gas, propane (of kind gas), coal. It furthermore defines the category of natural resource commodity.

Categories of commodities
Figure 9: Categories of commodities

EXAMPLE 1:

s4abcd:Electricity a saref:EnergyCommodity ;
            rdfs:label "Electricity"@en ;
            rdfs:comment "The electricity energy commodity."@en .

A feature kind, feature of interest, or device, can consume (OP saref:consumes), produce (OP saref:produces), or store (OP saref:stores), a certain commodity.

EXAMPLE 2:

s4abcd:AAHeatPumpDryer a saref:FeatureKind ;
saref:consumes s4abcd:Electricity ;
saref:produces s4abcd:Water .

Properties, properties of interest, and property values

Introduction

In SAREF, properties refer to the identifiable qualities of features of interest that can be acted upon by devices, such as observed or controlled. While properties can apply to different features of interest, properties of interest are specific to a feature of interest. Property values describe the value for a property.

Figure 10 illustrates the main classes and properties for describing properties, properties of interest, and property values.

SAREF extensions and applications may create, specialize, and categorize properties as specified in ETSI TS 103 548 [4], clause 5.6.

Properties, properties of interest, and property values
Figure 10: Properties, properties of interest, and property values

Properties

An instance of saref:Property can apply to different features of interest.

EXAMPLE 1:

Air temperature, pressure, luminance, etc. are all properties.

s4abcd:Temperature a saref:Property ;
    rdfs:label "Temperature"@en ;
    rdfs:comment "The temperature property kind."@en . 
s4abcd:Pressure a saref:Property ;
    rdfs:label "Pressure"@en ;
    rdfs:comment "The pressure property kind."@en .
s4abcd:Luminance a saref:Property ;
    rdfs:label "Temperature"@en ;
    rdfs:comment "The luminance property kind."@en .

NOTE 1:

Until SAREF V3.1.1 [i.7], there was an ambiguity between whether properties should be specific or generic to features of interest. This ambiguity has been solved in SAREF V3.2.1 (the present document), and the new modeling choice will be enforced in the next release of SAREF.

Properties can be organized in a taxonomy using properties skos:narrower and skos:broader.

NOTE 2:

Concepts from existing code lists, vocabularies, and taxonomies, may be used as instances of saref:Property.

EXAMPLE 2:

Two examples using the QUDT Quantity Kind vocabulary [i.22], and the British Oceanographic Data Centre Parameter Usage Vocabulary [i.24].

<https://qudt.org/2.1/vocab/quantitykind/ActiveEnergy> a saref:Property ;
    rdfs:label "Active Energy"@en ;
    rdfs:comment "\"Active Energy\" is the electrical energy transformable into some other form of energy."@en .
<http://vocab.nerc.ac.uk/collection/P01/current/CDTSZZ01/> a saref:Property ;
    skos:prefLabel "Absolute temperature standard deviation of the atmosphere by dry bulb thermometer"@en

The OP saref:hasProperty may be used to link a feature kind or feature of interest to its properties. Its inverse is saref:isPropertyOf.

EXAMPLE 3:

s4abcd:AAHeatPumpDryer a saref:FeatureKind ;
saref:hasProperty s4abcd:DryerRotationalSpeed ;
saref:hasProperty s4abcd:DryerTemperature .

NOTE 3:

Feature kinds inherit the properties of their broader feature kinds.

skos:broader o saref:hasPropertysaref:hasProperty

NOTE 4:

Features of interest inherit the properties of their feature kinds.

saref:hasFeatureKind o saref:hasProperty ⊑ saref:hasProperty

Properties of interest

An instance of saref:PropertyOfInterest is specific to a feature of interest. It is inherent to and cannot exist without that feature of interest.

EXAMPLE 1:

The air temperature of the atmosphere sample at a certain location and altitude, the received signal strength indicator of a wireless IoT connection, the luminance of the ETSI ATHENA amphitheatre.

The OP saref:hasPropertyOfInterest may be used to link a feature of interest to its properties of interest. Its inverse is saref:isPropertyOfInterestOf and is functional.

A property of interest is the property of (OP saref:isPropertyOfInterestOf) exactly one feature of interest.

  • NOTE 1:: Properties of interest need not always be explicited. It depends on the use case. Typically, properties of interest are useful in applications, where the association between a feature of interest and a property (i.e. the property of interest) needs to be identified and related to other properties of interest.

Given a property of interest belongs to exactly one feature of interest, it is recommended that its identifier consists of the identifier of the feature of interest, followed by character '#' and a fragment identifier. The fragment identifier part of the IRI of a property of interest should not contain "property".

EXAMPLE 2:

The luminance of the ETSI ATHENA amphitheatre belongs to the ETSI ATHENA amphitheatre.

<etsi_premises/athena#luminance> a saref:PropertyOfInterest ;
    saref:isPropertyOfInterestOf <etsi_premises/athena> ; 
    rdfs:comment "The luminance of amphitheatre ATHENA"@en .

A property of interest can be linked to its kind(s) using OP saref:hasPropertyKind.

NOTE 2:

Properties of interest inherit broader properties.

saref:hasPropertyKind o skos:broadersaref:hasPropertyKind

EXAMPLE 3:

The luminance of the ETSI ATHENA amphitheatre is of kind luminance.

<etsi_premises/athena#luminance> a saref:PropertyOfInterest ;
    saref:hasPropertyKind saref:Luminance .

NOTE 3:

Features of interest inherit the property kinds of their properties of interest.

saref:hasPropertyOfInterest o saref:hasPropertyKindsaref:hasProperty

EXAMPLE 4:

The ETSI ATHENA amphitheatre has a property luminance.

<etsi_premises/athena> a saref:FeatureOfInterest ;
    saref:hasPropertyOfInterest <etsi_premises/athena#luminance> ;
    saref:hasProperty saref:Luminance .

Property Values

Class saref:PropertyValue describes the value for a property. The property value is linked to its value expressed as an RDF literal (DP saref:hasValue), optionally to the unit of measurement (OP saref:isMeasuredIn), and optionally to the properties or properties of interest it is a value of (OP saref:isValueOfProperty).

EXAMPLE 1:

[] a saref:PropertyValue ; saref:hasValue 22.7 saref:isMeasuredIn <https://qudt.org/2.1/vocab/unit/DEG_C> .

The range of saref:isMeasuredIn is defined as saref:UnitOfMeasure.

NOTE 1:

Concepts from existing code lists, vocabularies, and taxonomies, may be used as instances of saref:UnitOfMeasure. For example the QUDT Unit vocabulary [i.23].

The OP saref:hasPropertyValue links a feature kind, a feature of interest, or a property of interest, to a property value.

EXAMPLE 2:

<etsi_premises/athena#size> a saref:PropertyOfInterest ;
                            saref:isPropertyOf  ;
                        saref:hasPropertyValue [
                            a saref:PropertyValue ;
                            saref:hasValue 105.0 ;
                            saref:isMeasuredIn <https://qudt.org/2.1/vocab/unit/M2> ] .

NOTE 2:

The property values are inherited in the hierarchy of feature kinds. This enables to incrementally construct prototypical descriptions of features of interest.

skos:broader saref:hasPropertyValuesaref:hasPropertyValue

NOTE 3:

A feature of interest does not inherit the property values of its kinds. There may be multiple reasons why the property value of a feature of interest is different from that of its prototypical descriptions. For example, it may be caused by a defect, a deterioration, or a customization.

The OP saref:isValueOfProperty links a property value to the properties and properties of interest it is a value of.

EXAMPLE 3:

<1000x2000mmWindowOrientedNorth> a saref:FeatureKind ;
                        saref:hasProperty  ;
                        saref:hasPropertyValue [
                            a saref:PropertyValue ;
                            saref:hasValue 2.0 ;
                            saref:isMeasuredIn https://qudt.org/2.1/vocab/unit/M2 ;
                            saref:isValueOfProperty <WindowArea> ] .

NOTE 4:

A property value about a property of interest is also a property value of its property kinds.

saref:isValueOfProperty o saref:hasPropertyKindsaref:isValueOfProperty

NOTE 5:

saref:hasPropertyValue and saref:isValueOfProperty are not inverse properties.

States and states of interest

Introduction

In SAREF, states refer to the identifiable conditions that features of interest are or may be in, and that can be acted upon by devices, such as observed and controlled. While states can apply to different features of interest, states of interest are specific to a feature of interest.

Figure 11 illustrates the main classes and properties for describing states and states of interest.

SAREF extensions and applications may create, specialize, and categorize states as specified in ETSI TS 103 548 [4], clause 5.7.

States and states of interest
Figure 11: States and states of interest

States

An instance of saref:State can apply to different features of interest.

EXAMPLE 1:

A switch can be found in the saref:OnOffState, which is further specialized in saref:OnState and saref:OffState.

saref:OnOffState a saref:State .
    saref:OnState a saref:State ;
        skos:broader saref:OnOffState .
    saref:OffState a saref:State ;
        skos:broader saref:OnOffState .
    s4abcd:Switch a saref:FeatureKind ;
    saref:hasState saref:OnOffState .

NOTE 1:

SAREF is not restricted to binary states such as the saref:OnOffState, but allows to define also n-ary states (see, for example, the saref:MultiLevelState class).

States can be organized in a taxonomy using properties skos:narrower and skos:broader.

NOTE 2:

Concepts from existing code lists, vocabularies, and taxonomies, may be used as instances of saref:State.

The OP saref:hasState may be used to link a feature kind to its states. Its inverse is saref:isStateOf.

EXAMPLE 2:

s4abcd:TwoButtonsOneWaySwitch a saref:FeatureKind ;
    saref:hasState s4abcd:Button1UpDownState , s4abcd:Button2UpDownState .
s4abcd:Button1UpDownState a saref:State ;
    skos:broader s4abcd:ButtonUpDownState .
s4abcd:Button2UpDownState a saref:State ;
    skos:broader s4abcd:ButtonUpDownState .

The narrowest states of the taxonomy of states can be considered as the state values.

EXAMPLE 3:

s4abcd:ButtonUp and s4abcd:ButtonDown can be considered as the possible values for state s4abcd:ButtonUpDownState.

s4abcd:ButtonUp a saref:State ;
    skos:broader s4abcd:ButtonUpDownState .
s4abcd:ButtonDown a saref:State ;
    skos:broader s4abcd:ButtonUpDownState .

NOTE 3:

Feature kinds inherit the states of their broader feature kinds.

skos:broader o saref:hasStatesaref:hasState

NOTE 4:

Features of interest inherit the states of their feature kinds.

saref:hasFeatureKind o saref:hasStatesaref:hasState

States of Interest

An instance of saref:StateOfInterest is specific to a feature of interest. It is inherent to and cannot exist without that feature of interest.

The OP saref:hasStateOfInterest may be used to link a feature of interest to its states of interest. Its inverse is saref:isStateOfInterestOf and is functional.

A state of interest is the state of (OP saref:isStateOfInterestOf) exactly one feature of interest.

NOTE 1:

States of interest need not always be explicited. It depends on the use case. Typically, states of interest are useful in applications where the association between a feature of interest and a state (i.e. the state of interest) needs to be identified and related to other states of interest.

Given a state of interest belongs to exactly one feature of interest, it is recommended that its identifier consists of the identifier of the feature of interest, followed by character '#' and a fragment identifier. The fragment identifier part of the IRI of a property of interest should not contain "state".

EXAMPLE 1:

Switch <switch_sdf5ze4fz3> has two up/down states of interest.

<switch_sdf5ze4fz3> a saref:Device ;
saref:hasDeviceKind s4abcd:TwoButtonsOneWaySwitch ; 
saref:hasState <switch_sdf5ze4fz3#btn1>, <switch_sdf5ze4fz3#btn2> .

<switch_sdf5ze4fz3#btn1> a saref:StateOfInterest ; saref:hasStateKind s4abcd:Button1UpDownState . <switch_sdf5ze4fz3#btn2> a saref:StateOfInterest ; saref:hasStateKind s4abcd:Button2UpDownState .

A state of interest can be linked to its kind(s) using OP saref:hasStateKind.

NOTE 2:

States of interest inherit broader states.

saref:hasStateKind o skos:broadersaref:hasStateKind

NOTE 3:

Features of interest inherit the state kinds of their states of interest.

saref:hasStateOfInterest o saref:hasStateKindsaref:hasState

As the narrowest states of the taxonomy of states can be thought of as the state values, it is possible to assign a stable value to a state as follows:

EXAMPLE 2:

Button 2 of switch <switch_sdf5ze4fz3> is in stable up position.

<switch_sdf5ze4fz3#btn2> a saref:StateOfInterest ;
        saref:hasStateKind s4abcd:Button2UpDownState ;
        saref:hasState s4abcd:ButtonUp .

Functions and functions of interest

Introduction

In SAREF, functions are logical groups of commands that devices support to accomplish their tasks. Function can act upon (OP saref:actsUpon and its sub-properties) features, properties, or states. While functions are independent of any devices, functions of interest are functions actually supported by a device.

Figure 12 illustrates the main classes and properties for describing functions and functions of interest.

SAREF extensions and applications may create, specialize, and categorize functions as specified in ETSI TS 103 548 [4], clause 5.8.

Functions and functions of interest
Figure 12: Functions and functions of interest

Functions

An instance of saref:Function can apply to different devices.

EXAMPLE 1:

To accomplish the task of controlling the light, a smart light switch may have a function for turning on and off the light, and another to set the luminosity of the light.

EXAMPLE 2:

To accomplish the task of sensing the temperature, a temperature sensor should have a sensing function.

EXAMPLE 3:

To accomplish the task of washing clothes, a washing machine should have a function for washing.

Functions can be organized in a taxonomy using properties skos:narrower and skos:broader.

NOTE 1:

Concepts from existing code lists, vocabularies, and taxonomies, may be used as instances of saref:Function.

Kinds of devices can be defined from pre-defined building blocks, based on the functions they have.

EXAMPLE 4:

s4abcd:AAHeatPumpDryer a saref:FeatureKind ;
saref:hasFunction s4acd:WashingFunction .

The OP saref:hasFunction may be used to link a feature kind or device to its functions. Its inverse is saref:isFunctionOf.

NOTE 2:

Feature kinds inherit the functions of their broader feature kinds.

skos:broader o saref:hasFunctionsaref:hasFunction

NOTE 3:

Devices inherit the functions of their device kinds.

saref:hasDeviceKind o saref:hasFunctionsaref:hasFunction

Functions of Interest

An instance of saref:FunctionOfInterest is supported by exactly one device.

The OP saref:hasFunctionOfInterest may be used to link a device to its function of interest. Its inverse is saref:isFunctionOfInterestOf and is functional.

A function of interest is the function of (OP saref:isFunctionOfInterestOf) exactly one device.

NOTE 1:

Functions of interest need not always be explicited. It depends on the use case. Typically, functions of interest are useful to specify which command is actually exposed, and which actual property of interest or state of interest it acts upon.

A function of interest can be linked to its kind(s) using OP saref:hasFunctionKind.

NOTE 2:

Functions of interest inherit broader functions.

saref:hasFunctionKind o skos:broadersaref:hasFunctionKind

NOTE 3:

Devices inherit the function kinds of their functions of interest.

saref:hasFunctionOfInterest o saref:hasFunctionKindsaref:hasFunction

Commands and commands of interest

Introduction

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.

Figure 13 illustrates the main classes and properties for describing commands and device commands.

SAREF extensions and applications may create, specialize, and categorize commands as specified in ETSI TS 103 548 [4], clause 5.8.

Command kinds and device commands
Figure 13: Command kinds and device commands

Commands

An instance of saref:Command is independent of any device.

EXAMPLE 1:

Observe property, control property, observe state, control state, invoke action, cancel action, turn on or off, change color, subscribe, publish, etc. are all commands.

Commands can be organized in a taxonomy using OPs skos:narrower and skos:broader.

Functions can be defined from pre-defined building blocks, based on the commands they have.

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, that only apply to functions:

  • saref:hasMandatoryCommand for when the command is mandatory to the function;
  • saref:hasOptionalCommand for when the command is optional to the function.

NOTE 1:

Functions inherit the mandatory commands of their broader functions.

skos:broader o saref:hasMandatoryCommandsaref:hasMandatoryCommand

NOTE 2:

Functions of interest inherit the mandatory commands of their function kinds.

saref:hasFunctionKind o saref:hasMandatoryCommandsaref:hasCommand

A command may be described in terms of its input parameters using OP saref:hasInput. Typically, input parameters are feature kinds, properties, or states.

EXAMPLE 2:

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.

A command may be described in terms of its outputs using OP saref:hasOutput. Typically, outputs are properties or states.

EXAMPLE 3:

Different complementary commands can be defined for observing a smart home. Observe the temperature once will output the indoor temperature property; observe status of the entry door will output an open/close state.

A command may be described in terms of the properties or states it acts upon, such as observe, or control.

Commands of Interest

A saref:CommandOfInterest is a directives actually supported by a device and exposed to some network.

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.

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.

A command of interest is the command of (OP saref:isCommandOfInterestOf) exactly one function.

NOTE 1:

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.

EXAMPLE 4:

The corridor smart light switch supports a command of kind "turn on/off", which controls the state of the outdoor light.

EXAMPLE 5:

The smart fridge supports a command of kind "observes temperature", which observes the temperature of the fridge.

A command of interest can be linked to its kind(s) using OP saref:hasCommandKind.

NOTE 2:

Commands of interest inherit broader commands.

saref:hasCommandKind o skos:broadersaref:hasCommandKind

NOTE 3:

Devices inherit the commands of their commands of interest.

saref:hasCommandOfInterest o saref:hasCommandKindsaref:hasCommand

Services and Operations

Figure 14 illustrates the main classes and properties for describing services and operations.

Services and operations
Figure 14: 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.

OP saref:represents links a service to some function or function of interest it exposes to the network.

A service represents at least one function of interest.

OP saref:offers links a device to a service it exposes to a network. Its inverse if saref:isOfferedBy.

A service is offered by exactly one device.

NOTE 1:

Typically, a device connected to a given network offers one service for each of its functions of interest.

EXAMPLE 1:

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.

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.

An operation may be described in terms of its inputs and outputs using OP saref:hasInput and saref:hasOutput. Inputs and outputs of operations typically describe the expected schema or shape of network messages.

EXAMPLE 2:

To turn on a light, send a CoAP PUT request with CBOR content 0xf5 (true).

OP saref:represents also links an operation to some command or command of interest it exposes to the network.

An operation represents at least one command of interest.

OP saref:hasOperation links a service to its operations. Its inverse is saref:isOperationOf.

An operation belongs to exactly one service.

NOTE 2:

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.

EXAMPLE 3:

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).

EXAMPLE 4:

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.

NOTE 3:

The concept of service is further elaborated in the oneM2M Base Ontology [1], to which the reader is referred in order to model the details of a service that are out of the scope of SAREF.

Procedure executions and sub-classes

Procedure executions

A saref:ProcedureExecution represents the act of carrying out a procedure.

Figure 15 illustrates the main properties for describing procedure executions.

Procedure executions
Figure 15: Procedure executions

OP saref:madeBy links a procedure execution to the device that made it.

A procedure execution may be linked to its inputs using OP saref:hasInput.

A procedure execution may be linked to its result using OP saref:hasResult.

DP saref:hasResultTime links a procedure execution to the instant of time when the procedure is completed, expressed as an xsd:dateTime literal.

OP saref:hasPhenomenonTime links a procedure execution to the time that the result applies. It may be an interval or an instant, or some other compound temporal entity expressed using OWL Time [7].

When the execution time and the phenomenon time are the same time instants, then DP saref:hasTimestamp can be used to simply link a procedure execution to the time of these instants, expressed as an xsd:dateTime literal.

Optionally, a procedure execution can act upon (OP saref:actsUpon) a feature, property, or state.

Command executions and operation executions

Figure 16 illustrates the main classes and properties for describing command executions and operation executions.

Command executions and operation executions
Figure 16: Command executions and operation executions

A saref:CommandExecution describes the execution of a command. Typically, its inputs and outputs are human understandable and relate to some feature of interest, such as its state (e.g. s4abcd:On), or the value of its temperature (e.g. property value 21,0 °C).

A saref:OperationExecution describes the execution of an operation in a network: the-machine interpretable- description of a communication between devices over the network. Typically, its input and result are network messages, that conform to the input and output of the executed operation.

EXAMPLE 1:

A CoAP PUT request with CBOR content 0xf5 (true), a CoAP response with code 2.04 (Changed).

OP saref:isExecutionOf links a command execution to the command or command of interest that was executed. It also liks an operation execution to the operation that was executed.

NOTE 1:

If a command execution is an execution of a command, it is also the execution of its broader commands.

saref:isExecutionOf o skos:broadersaref:isExecutionOf

NOTE 2:

If a command execution is an execution of a command of interest, it is also the execution of the command kind of that command of interest.

saref:isExecutionOf o saref:hasCommandKindsaref:isExecutionOf

Observations, Measurements, and Actuations

Figure 17 illustrates the main classes and properties for describing observations, measurements, and actuations.

Observations, measurements, and actuations
Figure 17: Observations, measurements, and actuations

A saref:Observation is the act of carrying out a procedure to estimate or calculate a value of a property of a feature of interest, or a state of a feature of interest. It links to a sensor to describe what made the observation, and to the observed feature, property, property of interest, state, or state of interest. Typically, its result is a property value or a state. An observation of a state (OP saref:observes) should have a state as a result (OP saref:hasResult). Respectively, an observation of a property should have a property value as a result.

EXAMPLE 2:

ex:DTSObservation106 a saref:Observation ;
    saref:madeBy <meter> ;
saref:hasTimestamp "2023-12-06T21:01:10"^^xsd:dateTime ;
    saref:observes s4watr:Cadmium ;
saref:hasResult ex:Meter4837QW123Value184 .
    ex:Meter4837QW123Value184 a saref:PropertyValue ;
    saref:isValueOfProperty s4watr:Cadmium ;
    saref:hasValue 0.005 .

EXAMPLE 3:

[] a saref:Observation ;

saref:madeBy <sensor> ;
    saref:hasTimestamp "2023-12-06T21:47:10"^^xsd:dateTime .
saref:observes <door_zef53ze7> ;
saref:observes <door_zef53ze7#openclose> ;
    saref:observes saref:OpenClose ;
saref:hasResult saref:Open .

NOTE 3:

saref:Observation is more general than saref:Measurement, as it apply to states in addition to properties. The indirection saref:hasResult to a property value improves its semantic correctness. It also improves the alignment with the OGC® and W3C® SOSA/SSN ontology [6]. Therefore, saref:Measurement has been deprecated in the present document, and may be deleted in the next release of SAREF.

A saref:Actuation is the act of carrying out a procedure to control the state of the world using an actuator. It links to an actuator to describe what made the actuation, and to the controlled feature, property, property of interest, state, or state of interest. Typically, its input is a property value or a state. An actuation of a state (OP saref:controls) should have a state as input (OP saref:hasInput). Respectively, an actuation of a property should have a property value as input.

NOTE 4:

An observation or an actuation may also be a command execution, if it corresponds to the execution of a directives a device supports and exposes to some network. However, an observation or an actuation should not be an operation execution, as these are intended to be machine interpretable descriptions of network communications.

NOTE 5:

It is acceptable that the inputs or results of a command execution are observations or actuations. For example:

  • A command execution to aggregate observations will have these observations as input.
  • A command execution to retrieve the past five observations will have these observations as output.
  • A command execution to plan a series of actuations will have these actuations as input, and potentially also as result if successful.

Profiles

A device in SAREF can be further characterized by profiles. Figure 18 illustrates the main classes and properties for describing profiles.

Profiles
Figure 18: Profiles

A saref:Profile describes the money earned (negative values) or paied (positive values) for the use (production or consumption) of a commodity by a device in a certain context.

OP saref:hasProfile links a device to its profile. Its inverse is saref:isProfileOf. The device should be linked to a certain commodity using OP saref:isUsedFor or its sub-properties, and optionally to some property or state using OP saref:actsUpon or its sub-properties.

EXAMPLE 1:

ex:Device_1 a saref:Device ;
    saref:isUsedFor s4abcd:Electricity ;
    saref:hasProfile ex:FlexibilityProfile ;
    saref:controls <house#temperature> .
ex:FlexibilityProfile a saref:Profile ;
    saref:hasPrice <pricePropertyValue> .

The applicable context of a profile can be bound temporally using DP saref:hasTimestamp or its subproperties defined by SAREF extensions, or OP saref:hasApplicableTime which links to instant or interval or other compound temporal entity expressed using OWL Time [7].

NOTE:

saref:hasApplicableTime may be applied to other entities, such as functions, commands, or procedure executions.

EXAMPLE 2:

ex:FlexibilityProfile
saref:hasTimestamp "2023-12-15T11:00:00"^^xsd:dateTime .

EXAMPLE 3:

ex:FlexibilityProfile
    rdfs:comment "applies only on Saturdays"@en ;

saref:hasApplicableTime [ 
        a time:DateTimeDescription ;
        time:dayOfWeek time:Saturday ] .

The applicable context can be restricted to when the property of a feature of interest has some value (OPs saref:whenPropertyValue).

EXAMPLE 4:

ex:FlexibilityProfile
saref:whenPropertyValue [
        a saref:PropertyValue ;
        saref:hasValue 22.0 ;
        saref:isMeasuredIn <http://qudt.org/vocab/unit/DEG_C> ;
    saref:isValueForProperty <house#comfort_temperature_setpoint> ] .

The applicable context can be restricted to when a feature of interest has a certain state (OPs saref:whenState).

EXAMPLE 5:

ex:FlexibilityProfile
saref:whenState [
        a saref:State ;
        skos:broader s4abcd:ComfortSetpoint ;
    saref:isStateOf <house#temperature_setpoint> ] .

OP saref:profileHasPrice links a profile to the money earned (negative values) or paid (positive values) for the use (production or consumption) of the commodity by the device.

EXAMPLE 6:

ex:FlexibilityProfile
saref:profileHasPrice [
        a saref:PropertyValue ;
        saref:hasValue 0.2 ;
        saref:isMeasuredIn <http://qudt.org/vocab/currency/EUR> ] .  

A set of specializations of a Profile is given via the Flexibility Profile defined in the SAREF4ENER extension in ETSI TS 103 410-1 [i.8]. Each Flexibility Profile describes the ways in which a device can regulate its energy consumption and production. Therefore, the Flexibility Profile is a static set of options to choose from and a set of user preferences, instead of a pre-calculated energy usage time series. The details of each Flexibility Profile can be specified using the related extensions.

A specialization of a Profile may additionally relate to other SAREF classes via properties defined in the extensions, including, but not limited to a state, property, property value, function, and command.

EXAMPLE 7:

ex:FlexibilityProfile a saref:Profile ;
    s4abcd:{someConditionDefinedBySAREF4ABCD} <conditionSpecification> .

Features of Interest, devices, and spatial objects

An instance may be classified as both saref:FeatureOfInterest and geo:SpatialObject.

The class saref:Device is a sub-class of geo:Feature from the GeoSPARQL standard [8], section 6.2.

SAREF application may attach a geometry to a saref:FeatureOfInterest or a saref:Device using geo:hasGeometry or its sub-properties geo:hasBoundingBox, geo:hasCentroid, geo:hasDefaultGeometry [8], section 6.4.

EXAMPLE 1:

<etsi_premises> a saref:FeatureOfInterest , geo:Feature ; 
    geo:hasCentroid "POINT( 7.052986 43.6169446 )"^^geo:wktLiteral .

SAREF application may describe how things are spatially related using different families of topological relations from GeoSPARQL, such as the Simple Features relation family (e.g. geo:sfWithin, geo:sfOverlaps), the Egenhoer Relation Family (e.g. geo:ehInside, geo:ehOverlap), the RCC8 Relation Family (e.g. geo:rcc8tpp, geo:rcc8po) [8], section 7.

EXAMPLE 2:

<etsi_premises/athena> a saref:FeatureOfInterest , geo:Feature ; 
    geo:sfWithin <etsi_premises> .

Mapping between SAREF and oneM2M Base Ontology

Introduction

In ETSI TS 118 112 [1], oneM2M has created a base ontology that describes key classes, relations and properties that are relevant for enabling semantic functionalities within oneM2M systems, as well as enabling interoperability between applications and interworking with existing non-oneM2M technologies. The approach is that given a semantic description of instances according to the oneM2M Base Ontology, a oneM2M resource structure can be automatically created.

General oneM2M resources are created for those ontology instances that are related to functions, e.g. creating an Application Entity resource for a device like a washing machine and creating containers, e.g. for storing the status of the washing machine. They will enable application interactions and thus concern dynamic aspects. Other, more static aspects like the manufacturer of a device will be stored in special semantic descriptor resources that are attached to general oneM2M resources, e.g. there is oneM2M resource representing a device which has a semantic descriptor resource attached that contains semantic information related to the device, e.g. the manufacturer. Such a semantic descriptor resource also contains information concerning the relation to other resources, e.g. operations that can be executed.

A two-step approach for the mapping of SAREF instances to oneM2M resources is used. In the first step, key SAREF classes are mapped to oneM2M Base Ontology classes by defining relations between the SAREF and the oneM2M classes. In the second step, instances modelled according to those SAREF classes for which such a definition exists, are also automatically modelled according to the corresponding oneM2M Base Ontology classes. In the second step, the oneM2M instantiation rules are applied to those instances of SAREF classes that are derived from oneM2M classes. Not all SAREF classes can be mapped to base ontology classes as SAREF models certain aspects that are closely related to the smart applications domain and the base ontology is meant to be agnostic to specific application domains. If no equivalent oneM2M Base Ontology classes exist, e.g. for saref:Commodity, the respective SAREF instances are stored together with SAREF instances with which they are connected through an object property and which are mapped to the oneM2M Base Ontology.

Mapping between SAREF and oneM2M Base Ontology

Figure 19 shows the mapping between SAREF and the oneM2M Base Ontology. Relationships based on owl:equivalentClass and owl:equivalentProperty are considered to link the key classes and object properties of SAREF and the oneM2M Base Ontology. These are needed to be able to apply the oneM2M instantiation rules to the semantic description of entities that are described according to SAREF.

Mapping between SAREF and the oneM2M Base Ontology
Figure 19: Mapping between SAREF and the oneM2M Base Ontology

Table 2 shows which SAREF class is mapped to which oneM2M class (and vice-versa). As a result, all oneM2M instantiation rules defined for the oneM2M class can also be applied to the instance of the respective SAREF class, and oneM2M instances can be discovered from SAREF when querying for devices, functions, commands and services.

Table 2: Mapping of SAREF classes and oneM2M Base Ontology classes
SAREF Mapping oneM2M
saref:Device Equivalent class of oneM2M:Device
saref:Service Equivalent class of oneM2M:Service
saref:Function Equivalent class of oneM2M:Function
saref:SensingFunction Equivalent class of oneM2M:MeasuringFunction
saref:ActuatingFunction Equivalent class of oneM2M:ControllingFunction
saref:Command Equivalent class of oneM2M:Command

Table 3 shows which SAREF object property is mapped to which oneM2M object property.

Table 3: Mapping of SAREF object properties and oneM2M Base Ontology object properties
SAREF Mapping oneM2M
saref:offers Equivalent property of oneM2M:hasService
saref:hasFunction Equivalent property of oneM2M:hasFunction
saref:exposesFunction Equivalent property of oneM2M:exposesFunction
saref:hasCommand Equivalent property of oneM2M:hasCommand
saref:consistsOf Super property of oneM2M:consistsOf
saref:hasInput Equivalent property of oneM2M:hasInput
saref:hasOutput Equivalent property of oneM2M:hasOutput

Instantiation Rules for Creating the oneM2M Resource Structure

The Smart Applications oneM2M Mapping shall follow the instantiation rules defined in clause 7 of ETSI TS 118 112 [1].

Ontology Reference

Classes

saref:ActuatingFunction — Actuating function is deprecated top Classes ToC

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)

saref:Actuation — Actuation top Classes ToC

A saref:Actuation is the act of carrying out a procedure to control the state of the world using an actuator. It links to an actuator to describe what made the actuation, and to the controlled feature, property, property of interest, state, or state of interest. Typically, its input is a property value or a state. An actuation of a state (OP saref:controls) should have a state as input (OP saref:hasInput). Respectively, an actuation of a property should have a property value as input.

saref:Actuator — Actuator top Classes ToC

A device designed to control one or more properties or states of one or more features of interest.

has super-classes
saref:controls min 1
saref:Device
has sub-classes
saref:Switch

saref:Appliance — Appliance top Classes ToC

A device designed to accomplish a particular task for occupant use. It consumes, produces, or stores, some commodity.

has super-classes
saref:isUsedFor min 1
saref:Device

saref:CloseCommand — Close command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:CloseState — Close state is deprecated top Classes ToC

The state of a device that is CLOSE

has super-classes
saref:OpenCloseState

saref:Coal — Coal is deprecated top Classes ToC

A type of commodity

has super-classes
saref:Commodity

saref:Command — Command top Classes ToC

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.

saref:CommandExecution — Command Execution top Classes ToC

Describes the execution of a command. Typically, its inputs and outputs are human understandable and relate to some feature of interest, such as its state (e.g., s4abcd:On), or the value of its temperature (e.g., property value 21.0 °C).

saref:CommandOfInterest — Command Of Interest top Classes ToC

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.

saref:Commodity — Commodity top Classes ToC

A marketable item which may be supplied without qualitative differentiation.

saref:Currency — Currency is deprecated top Classes ToC

The class of units of measure for price

has super-classes
saref:UnitOfMeasure

saref:Device — Device top Classes ToC

A tangible object designed to accomplish a particular task. In order to accomplish this task, the device performs one or more functions. An instance of saref:Device represents one specific real world entity.

saref:DoorSwitch — Door switch is deprecated top Classes ToC

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.

has super-classes
saref:Switch

saref:Electricity — Electricity is deprecated top Classes ToC

A type of energy commodity

has super-classes
saref:Commodity

saref:Energy — Energy is deprecated top Classes ToC

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.

has super-classes
saref:Property

saref:EnergyCommodity — Energy Commodity top Classes ToC

The class of energy commodities

has super-classes
saref:Commodity

saref:EnergyUnit — Energy unit is deprecated top Classes ToC

The unit of measure for energy

has super-classes
saref:UnitOfMeasure

saref:EventFunction — Event function is deprecated top Classes ToC

A function that allows to notify about some relevant activity; e.g., that a certain threshold value has been exceeded or that some object has moved.

has super-classes
saref:Function
is in domain of
saref:hasThresholdMeasurement

saref:FeatureKind — Feature kinds top Classes ToC

Feature kinds allow to describe kinds of features of interest, with common properties having the same value, and common states being the same. An instance of saref:FeatureKind represents an archetype of real world entities, for example to populate product catalogs.

saref:FeatureOfInterest — Feature of interest top Classes ToC

A feature of interest represents any real world entity from which a property or a state may be acted upon, such as observed and controlled. An instance of saref:FeatureOfInterest represents one specific real world entity.

saref:Function — Function top Classes ToC

Logical groups of commands that devices support to accomplish their tasks. Function can act upon (OP saref:actsUpon and its sub-properties) features, properties, or states. An instance of saref:Function can apply to different devices.

saref:FunctionOfInterest — Function of Interest top Classes ToC

Logical groups of commands that devices support to accomplish their tasks. Function can act upon (OP saref:actsUpon and its sub-properties) features, properties, or states. An instance of saref:FunctionOfInterest is supported by exactly one device.

saref:Gas — Gas is deprecated top Classes ToC

A type of energy commodity

has super-classes
saref:Commodity

saref:GetCommand — Get command is deprecated top Classes ToC

saref:GetCurrentMeterValueCommand — Get current meter value command is deprecated top Classes ToC

A type of get command

has super-classes
saref:GetCommand

saref:GetMeterDataCommand — Get meter data command is deprecated top Classes ToC

A type of get command

has super-classes
saref:GetCommand

saref:GetMeterHistoryCommand — Get meter history command is deprecated top Classes ToC

A type of get command

has super-classes
saref:GetCommand

saref:GetSensingDataCommand — Get sensing data command is deprecated top Classes ToC

A type of get command

has super-classes
saref:Command

saref:HVAC — HVAC is deprecated top Classes ToC

Heating, Ventilation and Air Conditioning (HVAC) device that provides indoor environmental comfort. A saref:HVAC is typically used to accomplish saref:Comfort.

has super-classes
saref:Device

saref:Humidity — Humidity is deprecated top Classes ToC

A saref:Property related to some measurements that are characterized by a certain value that is measured in a humidity unit

has super-classes
saref:Property

saref:IlluminanceUnit — Illuminance unit is deprecated top Classes ToC

The unit of measure for light

has super-classes
saref:UnitOfMeasure

saref:LevelControlFunction — Level control function is deprecated top Classes ToC

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.

has super-classes
saref:ActuatingFunction

saref:Light — Light is deprecated top Classes ToC

A saref:Property related to some measurements that are characterized by a certain value that is measured in a illuminance unit (lux)

has super-classes
saref:Property

saref:LightSwitch — Light switch is deprecated top Classes ToC

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.

has super-classes
saref:Switch

saref:Measurement — Measurement is deprecated top Classes ToC

saref:Meter — Meter top Classes ToC

A device designed to observe and measure one or more properties of one or more features of interest.

has super-classes
saref:observes min 1
saref:Device

saref:MeteringFunction — Metering function is deprecated top Classes ToC

A function that allows to get data from a meter, such as current meter reading or instantaneous demand

saref:Motion — Motion is deprecated top Classes ToC

A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for motion

has super-classes
saref:Property

saref:MultiLevelState — Multi level state is deprecated top Classes ToC

A type of state

has super-classes
saref:State

saref:NaturalResourceCommodity — Natural Resource Commodity top Classes ToC

The class of natural resource commodities

has super-classes
saref:Commodity

saref:NotifyCommand — Notify command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:Observation — Observation top Classes ToC

A saref:Observation is the act of carrying out a procedure to estimate or calculate a value of a property of a feature of interest, or a state of a feature of interest. It links to a sensor to describe what made the observation, and to the observed feature, property, property of interest, state, or state of interest. Typically, its result is a property value or a state. An observation of a state (OP saref:observes) should have a state as a result (OP saref:hasResult). Respectively, an observation of a property should have a property value as a result.

saref:Occupancy — Occupancy is deprecated top Classes ToC

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

has super-classes
saref:Property

saref:OffCommand — Off command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:OffState — Off state is deprecated top Classes ToC

The state of a device that is Off

has super-classes
saref:OnOffState

saref:OnCommand — On command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:OnOffFunction — On off function is deprecated top Classes ToC

An actuating function that allows to switch on and off an actuator

has super-classes
saref:ActuatingFunction

saref:OnOffState — On off state is deprecated top Classes ToC

A type of state

has super-classes
saref:State
has sub-classes
saref:OffState
saref:OnState

saref:OnState — On state is deprecated top Classes ToC

The state of a device that is On

has super-classes
saref:OnOffState

saref:OpenCloseFunction — Open close function is deprecated top Classes ToC

An actuating function that allows to open and close a device

has super-classes
saref:ActuatingFunction

saref:OpenCloseState — Open close state is deprecated top Classes ToC

A type of state

has super-classes
saref:State
has sub-classes
saref:CloseState
saref:OpenState

saref:OpenCommand — Open command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:OpenState — Open state is deprecated top Classes ToC

The state of a device that is OPEN

has super-classes
saref:OpenCloseState

saref:Operation — Operation top Classes ToC

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:OperationExecution — Operation Execution top Classes ToC

Describes the execution of an operation in a network: the–machine interpretable– description of a communication between devices over the network. Typically, its input and result are network messages, that conform to the input and output of the executed operation.

saref:PauseCommand — Pause command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:Power — Power is deprecated top Classes ToC

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.

has super-classes
saref:Property

saref:PowerUnit — Power unit is deprecated top Classes ToC

The unit of measure for power

has super-classes
saref:UnitOfMeasure

saref:Pressure — Pressure is deprecated top Classes ToC

A saref:Property related to some measurements that are characterized by a certain value that is measured in a pressure unit (bar or pascal)

has super-classes
saref:Property

saref:PressureUnit — Pressure unit is deprecated top Classes ToC

The unit of measure for pressure

has super-classes
saref:UnitOfMeasure

saref:Price — Price is deprecated top Classes ToC

A saref:Property crelated to some measurements that are characterized by a certain value that is measured using saref:Currency

has super-classes
saref:Property
is in range of
saref:hasPrice

saref:ProcedureExecution — Procedure Execution top Classes ToC

saref:Profile — Profile top Classes ToC

A saref:Profile describes the money earned (negative values) or paied (positive values) for the use (production or consumption) of a commodity by a device in a certain context.

saref:Property — Property top Classes ToC

saref:PropertyOfInterest — Property of Interest top Classes ToC

Identifiable qualities of features of interest that can be acted upon by devices, such as observed or controlled. An instance of saref:PropertyOfInterest is specific to a feature of interest. It is inherent to and cannot exist without that feature of interest.

saref:PropertyValue — Property Value top Classes ToC

Describes the value for a property. The property value is linked to its value expressed as an RDF literal (DP saref:hasValue), optionally to the unit of measurement (OP saref:isMeasuredIn), and optionally to the properties or properties of interest it is a value of (OP saref:isValueOfProperty).

saref:SensingFunction — Sensing function is deprecated top Classes ToC

A function that allows to transmit data from sensors, such as measurement values (e.g., temperature) or sensing data (e.g., occupancy)

has super-classes
saref:Function
is in domain of
saref:hasSensingRange
saref:hasSensorType

saref:Sensor — Sensor top Classes ToC

A device designed to observe one or more properties or states of one or more features of interest.

has super-classes
saref:observes min 1
saref:Device
has sub-classes
saref:SmokeSensor
saref:TemperatureSensor

saref:Service — Service top Classes ToC

A saref:Service is a digital representation of a function in a network, making it discoverable, registerable and remotely controllable in the network.

saref:SetAbsoluteLevelCommand — Set absolute level command is deprecated top Classes ToC

A type of set level command

has super-classes
saref:Command

saref:SetLevelCommand — Set level command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command
has sub-classes
saref:SetRelativeLevelCommand

saref:SetRelativeLevelCommand — Set relative level command is deprecated top Classes ToC

A type of set level command

has super-classes
saref:SetLevelCommand

saref:Smoke — Smoke is deprecated top Classes ToC

A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for smoke

has super-classes
saref:Property

saref:SmokeSensor — Smoke sensor is deprecated top Classes ToC

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.

has super-classes
saref:Sensor

saref:StartCommand — Start command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:StartState — Start state is deprecated top Classes ToC

The state of a device that is STARTED

has super-classes
saref:StartStopState

saref:StartStopFunction — Start stop function is deprecated top Classes ToC

An actuating function that allows to start and stop a device

has super-classes
saref:ActuatingFunction

saref:StartStopState — Start stop state is deprecated top Classes ToC

A type of state

has super-classes
saref:State
has sub-classes
saref:StartState
saref:StopState

saref:State — State top Classes ToC

Identifiable conditions that features of interest are or may be in, and that can be acted upon by devices, such as observed and controlled. A state can apply to different features of interest.

saref:StateOfInterest — State of Interest top Classes ToC

Identifiable conditions that features of interest are or may be in, and that can be acted upon by devices, such as observed and controlled. An instance of saref:StateOfInterest is specific to a feature of interest. It is inherent to and cannot exist without that feature of interest.

has super-classes
saref:isStateOfInterestOf exactly 1
is in domain of
saref:hasStateKind
saref:isStateOfInterestOf
is in range of
saref:hasStateOfInterest

saref:StepDownCommand — Step down command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:StepUpCommand — Step up command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:StopCommand — Stop command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:StopState — Stop state is deprecated top Classes ToC

The state of a device that is STOPPED

has super-classes
saref:StartStopState

saref:Switch — Switch is deprecated top Classes ToC

A device of category saref:Actuator that performs an actuating function of type saref:OnOffFunction or saref:OpenCloseFunction

has super-classes
saref:Actuator
has sub-classes
saref:DoorSwitch
saref:LightSwitch

saref:SwitchOnService — Switch on service is deprecated top Classes ToC

A type of service that represents an on/off function to the network

has super-classes
saref:Service

saref:Task — Task top Classes ToC

The goal for which a device is designed, from a user perspective.

saref:Temperature — Temperature is deprecated top Classes ToC

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)

has super-classes
saref:Property

saref:TemperatureSensor — Temperature sensor is deprecated top Classes ToC

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.

has super-classes
saref:Sensor

saref:TemperatureUnit — Temperature unit is deprecated top Classes ToC

The unit of measure for temperature

has super-classes
saref:UnitOfMeasure

saref:Time — Time is deprecated top Classes ToC

A class that allows to specify the time concept.

is in range of
saref:hasTime

saref:ToggleCommand — Toggle command is deprecated top Classes ToC

A type of command

has super-classes
saref:Command

saref:UnitOfMeasure — Unit of measure top Classes ToC

The unit of measure is a standard for measurement of a quantity, such as a Property.

saref:Water — Water is deprecated top Classes ToC

A type of commodity

has super-classes
saref:Commodity

Object Properties

saref:accomplishes — accomplishes top Object Properties ToC

Links a certain entity (e.g., a device) to the task it accomplishes.

saref:actsUpon — acts upon top Object Properties ToC

Links a device, function, command, or procedure execution, to the feature, property, or state, it acts upon.

saref:consistsOf — consists of top Object Properties ToC

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)

saref:consumes — consumes top Object Properties ToC

Links a feature kind, feature of interest, or device, to the commodity it consumes

has super-properties
saref:isUsedFor
is inverse of
saref:isConsumedBy
saref:isConsumedBy

saref:controls — controls top Object Properties ToC

Links a device, function, command, or procedure execution, to the feature, property, or state, it controls.

saref:controlsProperty — controls property is deprecated top Object Properties ToC

A relationship specifying the property that can be controlled by a certain device

has super-properties
saref:controls
has domain
saref:Device
has range
saref:Property

saref:hasApplicableTime — has applicable time top Object Properties ToC

Links an entity (e.g., a profile) to an instant or interval or other compound temporal entity expressed using OWL Time, which bounds temporally the applicable context of that entity.

saref:hasCommand — has command top Object Properties ToC

Links a function or function of interest and the command it supports.

saref:hasCommandKind — has command kind top Object Properties ToC

links a command of interest to its kind, a command.

has domain
saref:CommandOfInterest
has range
saref:Command
has sub-property chains
( saref:hasCommandKind o skos:broader)

saref:hasCommandOfInterest — has command of interest top Object Properties ToC

Links a function of interest to one of its commands of interest.

saref:hasDeviceKind — has device kind top Object Properties ToC

Links a device to its kind, a feature kind. Kinds of devices describe models of devices, with common properties having the same value, common states being the same, common functions, and common services.

has super-properties
saref:hasFeatureKind
has domain
saref:Device
has range
saref:FeatureKind

saref:hasFeatureKind — has feature kind top Object Properties ToC

links a feature of interest to its kind, a feature kind

has sub-properties
saref:hasDeviceKind
has domain
saref:FeatureOfInterest
has range
saref:FeatureKind
has sub-property chains
( saref:hasFeatureKind o skos:broader)

saref:hasFunction — has function top Object Properties ToC

Links a feature kind or a device to one of its functions.

saref:hasFunctionKind — has function kind top Object Properties ToC

links a function of interest to its kind, a function

has domain
saref:FunctionOfInterest
has range
saref:Function
has sub-property chains
( saref:hasFunctionKind o skos:broader)

saref:hasFunctionOfInterest — has function of interest top Object Properties ToC

Links a device to one of its functions of interest.

saref:hasInput — has input top Object Properties ToC

Links a command, operation, or procedure execution, to its inputs.

saref:hasMandatoryCommand — has mandatory command top Object Properties ToC

Links a function and one of its mandatory commands

has super-properties
saref:hasCommand
has domain
saref:Function
has sub-property chains
( skos:broader o saref:hasMandatoryCommand)

saref:hasMeasurement — has measurement is deprecated top Object Properties ToC

A relationship between a feature of interest and a measurement about it

saref:hasMeterReading — has meter reading is deprecated top Object Properties ToC

A relationship between a metering function and the measurement of the reading

saref:hasMeterReadingType — has meter reading type is deprecated top Object Properties ToC

A relationship identifying the reading type of a metering function (e.g., Water, Gas, Pressure , Energy , Power, etc.)

has domain
saref:MeteringFunction
has range
saref:Property

saref:hasOperation — has operation top Object Properties ToC

Links a service to one of its operations.

saref:hasOptionalCommand — has optional command top Object Properties ToC

Links a function and one of its optional commands

has super-properties
saref:hasCommand
has domain
saref:Function

saref:hasOutput — has output top Object Properties ToC

Links a command or operation to its outputs.

saref:hasPhenomenonTime — has phenomenon time top Object Properties ToC

Links a procedure execution to the time that the result applies. It may be an interval or an instant, or some other compound temporal entity expressed using OWL Time.

saref:hasPrice — has price is deprecated top Object Properties ToC

A relationship indentifying the price associated to an entity

has range
saref:Price

saref:hasProfile — has profile top Object Properties ToC

Links a device to its profile. Its inverse is saref:isProfileOf. The device should be linked to a certain commodity using OP saref:isUsedFor or its sub-properties, and optionally to some property or state using OP saref:actsUpon or its sub-properties.

saref:hasProperty — has property top Object Properties ToC

Links a feature kind or a feature of interest to one of its properties.

saref:hasPropertyKind — has property kind top Object Properties ToC

links a property of interest to its kind, a property.

has domain
saref:PropertyOfInterest
has range
saref:Property
has sub-property chains
( saref:hasPropertyKind o skos:broader)

saref:hasPropertyOfInterest — has property of interest top Object Properties ToC

Links a feature of interest to one of its properties of interest.

saref:hasPropertyValue — has property value top Object Properties ToC

Links a feature kind, a feature of interest, or a property of interest, to a property value.

saref:hasResult — has result top Object Properties ToC

Links a procedure execution (e.g., an observation) to its result (e.g., a property value).

saref:hasSensingRange — has sensing range is deprecated top Object Properties ToC

A relationship between a sensing function and a measurement identifying the range of a sensor detection

saref:hasSensorType — has sensor type is deprecated top Object Properties ToC

A relationship identifying the sensing type of a sensor detection (i.e., Temperature, Occupancy, Humidity, Motion , Smoke, Pressure, etc.)

has domain
saref:SensingFunction
has range
saref:Property

saref:hasState — has state top Object Properties ToC

Links a feature kind or a feature of interest to one of its states.

saref:hasStateKind — has state kind top Object Properties ToC

links a state of interest to its kind, a state

has domain
saref:StateOfInterest
has range
saref:State
has sub-property chains
( saref:hasStateKind o skos:broader)

saref:hasStateOfInterest — has state of interest top Object Properties ToC

Links a feature of interest to one of its states of interest.

saref:hasThresholdMeasurement — has threshold measurement is deprecated top Object Properties ToC

A relationship associated with an event function to notify that a certain threshold measurement has been exceeded

has domain
saref:EventFunction
has range
saref:Measurement

saref:hasTime — has time is deprecated top Object Properties ToC

A relationship to associate time information to an entity

has range
saref:Time

saref:hasTypicalConsumption — has typical consumption is deprecated top Object Properties ToC

A relationship identifying the typical (energy or power) consumption of a device

saref:isAbout — isAbout is deprecated top Object Properties ToC

A relationship identifying what an entity, such as a profile, is about

saref:isAccomplishedBy — is accomplished by top Object Properties ToC

A relationship identifying an entity (e.g., a device) that can accomplish a task.

saref:isActedUponBy — is acted upon by top Object Properties ToC

Links a feature, property, or state, to the device, function, command, or procedure execution, that acts on it.

saref:isCommandOf — is command of top Object Properties ToC

Links a command and a function or function of interest that supports it.

saref:isCommandOfInterestOf — is command of interest of top Object Properties ToC

Links a command of interest to the function of interest it is a command of.

has characteristics
functional
has domain
saref:CommandOfInterest
has range
saref:FunctionOfInterest
is inverse of
saref:hasCommandOfInterest
saref:hasCommandOfInterest

saref:isConsumedBy — is consumed by top Object Properties ToC

Links a commodity to the feature kind, feature of interest, or device, that consumes it

saref:isControlledBy — is controlled by top Object Properties ToC

Links a feature, property, or state, to the device, function, command, or procedure execution, that controls it.

has super-properties
saref:isActedUponBy
has sub-properties
saref:isControlledByDevice
is inverse of
saref:controls
saref:controls

saref:isControlledByDevice — is controlled by device is deprecated top Object Properties ToC

A relationship specifying the devices that can control a certain property

has super-properties
saref:isControlledBy
has domain
saref:Property
has range
saref:Device

saref:isExecutionOf — is execution of top Object Properties ToC

Links a command execution to the command or command of interest that was executed. Also liks an operation execution to the operation that was executed

saref:isFunctionOf — is function of top Object Properties ToC

Links a function to the feature kind or device it is a function of.

saref:isFunctionOfInterestOf — is function of interest of top Object Properties ToC

Links a function of interest to the device it is a function of.

has characteristics
functional
has domain
saref:FunctionOfInterest
has range
saref:Device
is inverse of
saref:hasFunctionOfInterest
saref:hasFunctionOfInterest

saref:isMeasuredByDevice — is measured by device is deprecated top Object Properties ToC

A relationship specifying the devices that can measure a certain property

has super-properties
saref:isObservedBy
has domain
saref:Property
has range
saref:Device

saref:isMeasuredIn — is measured in top Object Properties ToC

A relationship identifying the unit of measure used for a certain entity.

saref:isMeasurementOf — isMeasurementOf is deprecated top Object Properties ToC

A relationship between a measurement and the feature of interest whose quality was measured

saref:isObservedBy — is observed by top Object Properties ToC

Links a feature, property, or state, to the device, function, command, or procedure execution, that observes it.

has super-properties
saref:isActedUponBy
has sub-properties
saref:isMeasuredByDevice
is inverse of
saref:observes
saref:observes

saref:isOfferedBy — is offered by top Object Properties ToC

Links a service to the device that exposes it to a network

has characteristics
functional
has domain
saref:Service
has range
saref:Device
is inverse of
saref:offers
saref:offers

saref:isOperationOf — is operation of top Object Properties ToC

Links an operation to the service it belongs to.

has characteristics
functional
has domain
saref:Operation
has range
saref:Service
is inverse of
saref:hasOperation
saref:hasOperation

saref:isProducedBy — is produced by top Object Properties ToC

Links a commodity to the feature kind, feature of interest, or device, that produces it

saref:isProfileOf — is profile of top Object Properties ToC

Links a profile to the device it describes. The device should be linked to a certain commodity using OP saref:isUsedFor or its sub-properties, and optionally to some property or state using OP saref:actsUpon or its sub-properties.

saref:isPropertyOf — is property of top Object Properties ToC

Links a property to the feature kind or feature of interest it is a property of.

saref:isPropertyOfInterestOf — is property of interest of top Object Properties ToC

Links a property of interest to the feature of interest it is a property of.

has characteristics
functional
has domain
saref:PropertyOfInterest
has range
saref:FeatureOfInterest
is inverse of
saref:hasPropertyOfInterest
saref:hasPropertyOfInterest

saref:isStateOf — is state of top Object Properties ToC

Links a state to the feature kind or feature of interest it is a state of.

saref:isStateOfInterestOf — is state of interest of top Object Properties ToC

Links a state of interest to the feature of interest it is a state of.

has characteristics
functional
has domain
saref:StateOfInterest
has range
saref:FeatureOfInterest
is inverse of
saref:hasStateOfInterest
saref:hasStateOfInterest

saref:isStoredBy — is stored by top Object Properties ToC

Links a commodity to the feature kind, feature of interest, or device, that stores it

is inverse of
saref:stores
saref:stores

saref:isUsedFor — is used for is deprecated top Object Properties ToC

Links a feature kind, feature of interest, or device, to the commodity it is used for

saref:isValueOfProperty — is value of property top Object Properties ToC

Links a property value to the property or property of interest it is a value of.

saref:madeBy — made by top Object Properties ToC

Links a procedure execution to the entity (e.g., device) that made it.

saref:madeExecution — made execution top Object Properties ToC

Links an entity (e.g., device) to the procedure execution it made.

saref:makesMeasurement — makes measurement is deprecated top Object Properties ToC

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.

has domain
saref:Device
has range
saref:Measurement
is inverse of
saref:measurementMadeBy

saref:measurementMadeBy — measurement made by is deprecated top Object Properties ToC

A relation between a measurement and the device that made it.

has domain
saref:Measurement
has range
saref:Device
is inverse of
saref:makesMeasurement

saref:measuresProperty — measures property is deprecated top Object Properties ToC

A relationship specifying the property that can be measured by a certain device

has super-properties
saref:observes
has domain
saref:Device
has range
saref:Property

saref:observes — observes top Object Properties ToC

Links a device, function, command, or procedure execution, to the feature, property, or state, it observes.

saref:offers — offers top Object Properties ToC

Links a device to a service it exposes to a network.

has domain
saref:Device
has range
saref:Service
is inverse of
saref:isOfferedBy
saref:isOfferedBy

saref:produces — produces top Object Properties ToC

Links a feature kind, feature of interest, or device, to the commodity it produces

has super-properties
saref:isUsedFor
is inverse of
saref:isProducedBy
saref:isProducedBy

saref:profileHasPrice — has price top Object Properties ToC

Links a profile to the money earned (negative values) or paid (positive values) for the use (production or consumption) of the commodity by the device

has domain
saref:Profile
has range
saref:PropertyValue

saref:relatesToMeasurement — relates to measurement is deprecated top Object Properties ToC

A relationship between a property and the measurements it relates to

has domain
saref:Property
has range
saref:Measurement
is inverse of
saref:relatesToProperty

saref:relatesToProperty — relates to property is deprecated top Object Properties ToC

A relationship between a measurement and the property it relates to

has domain
saref:Measurement
has range
saref:Property
is inverse of
saref:relatesToMeasurement

saref:represents — represents top Object Properties ToC

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.

saref:stores — stores top Object Properties ToC

Links a feature kind, feature of interest, or device, to the commodity it stores

has super-properties
saref:isUsedFor
is inverse of
saref:isStoredBy
saref:isStoredBy

saref:whenPropertyValue — when property value top Object Properties ToC

Links a profile to a property value that contributes to restricting its applicable context.

has domain
saref:Profile
has range
saref:PropertyValue

saref:whenState — when state top Object Properties ToC

Links a profile to a state that contributes to restricting its applicable context.

has domain
saref:Profile
has range
saref:State

saref:hasDescription — has description is deprecated top Data Properties ToC

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.

saref:hasIdentifier — has identifier top Data Properties ToC

Links some entity to its identifier. Extensions of SAREF may define sub-properties such as s4abcd:hasUUID, s4abcd:hasGTIN12, etc.

saref:hasManufacturer — has manufacturer top Data Properties ToC

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.

saref:hasModel — has model top Data Properties ToC

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.

saref:hasResultTime — has result time top Data Properties ToC

Links a procedure execution to the instant of time when the activity was completed, expressed as an xsd:dateTime literal.

has domain
saref:ProcedureExecution
has range
xsd:dateTime

saref:hasTimestamp — has timestamp top Data Properties ToC

Links a procedure execution or a profile to an instant.

saref:hasValue — has value top Data Properties ToC

Value of a property value expressed as an RDF literal. Note that, even if decimal values are expected, values could use other datatypes.

saref:Cleaning — Cleaning is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Cleaning is deprecated: may be deleted in the next major revision of SAREF"@en

saref:Comfort — Comfort is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Comfort is deprecated: may be deleted in the next major revision of SAREF"@en

saref:Drying — Drying is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Drying is deprecated: may be deleted in the next major revision of SAREF"@en

saref:EnergyEfficiency — EnergyEfficiency is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:EnergyEfficiency is deprecated: may be deleted in the next major revision of SAREF"@en

saref:Entertainment — Entertainment is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Entertainment is deprecated: may be deleted in the next major revision of SAREF"@en

saref:Lighting — Lighting is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Lighting is deprecated: may be deleted in the next major revision of SAREF"@en

saref:MeterReading — Meter reading is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:MeterReading is deprecated: may be deleted in the next major revision of SAREF"@en

saref:Safety — Safety is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Safety is deprecated: may be deleted in the next major revision of SAREF"@en

saref:Washing — Washing is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:Washing is deprecated: may be deleted in the next major revision of SAREF"@en

saref:WellBeing — WellBeing is deprecated top Named Individuals ToC

A type of task for which a device is designed

belongs to
saref:Task
skos:historyNote
"V3.2.1: saref:WellBeing is deprecated: may be deleted in the next major revision of SAREF"@en

References

Normative references

Informative references

  • [i.1] European Commission and TNO: "Study on Semantic Assets for Smart Appliances Interoperability", final report, April 2015.
  • [i.2] ETSI SAREF: "SAREF: the Smart Applications REFerence ontology".
  • [i.3] ETSI TR 103 411: "SmartM2M Smart Appliances SAREF Extension Investigation".
  • [i.4] European Commission and TNO D-S4 - SMART 2013-0077: "Smart Appliances - Mapping SAREF to short list assets.xlsx", February 2015.
  • [i.5] ETSI TS 103 264 (V1.1.1): "SmartM2M; Smart Appliances; Reference Ontology and oneM2M Mapping".
  • [i.6] ETSI TS 103 264 (V2.1.1): "SmartM2M; Smart Appliances; Reference Ontology and oneM2M Mapping".
  • [i.7] ETSI TS 103 264 (V3.1.1): "SmartM2M; Smart Applications; Reference Ontology and oneM2M Mapping".
  • [i.8] ETSI TS 103 410-1: "SmartM2M; Extension to SAREF; Part 1: Energy Domain".
  • [i.9] ETSI TS 103 410-2: "SmartM2M; Extension to SAREF; Part 2: Environment Domain".
  • [i.10] ETSI TS 103 410-3: "SmartM2M; Extension to SAREF; Part 3: Building Domain".
  • [i.11] ETSI TS 103 410-4: "SmartM2M; Extension to SAREF; Part 4: Smart Cities Domain".
  • [i.12] ETSI TS 103 410-5: "SmartM2M; Extension to SAREF; Part 5: Industry and Manufacturing Domains".
  • [i.13] ETSI TS 103 410-6: "SmartM2M; Extension to SAREF; Part 6: Smart Agriculture and Food Chain Domain".
  • [i.14] ETSI TS 103 410-7: "SmartM2M; Extension to SAREF; Part 7: Automotive Domain ".
  • [i.15] ETSI TS 103 410-8: "SmartM2M; Extension to SAREF; Part 8: eHealth/Ageing-well Domain".
  • [i.16] ETSI TS 103 410-9: "SmartM2M; Extension to SAREF; Part 9: Wearables Domain".
  • [i.17] ETSI TS 103 410-10: "SmartM2M; Extension to SAREF; Part 10: Water Domain".
  • [i.18] ETSI TS 103 410-11: "SmartM2M; Extension to SAREF; Part 11: Lift Domain".
  • [i.19] ETSI TS 103 410-12: "SmartM2M; Extension to SAREF; Part 12: Smart Grid Domain".
  • [i.20] ETSI TR 103 549: "SmartM2M; Guidelines for consolidating SAREF with new reference ontology patterns, based on the experience from the ITEA SEAS project".
  • [i.21] ETSI TR 103 781: "SmartM2M; Study for SAREF ontology patterns and usage guidelines".
  • [i.22] QUDT.org Quantity Kind: "QUDT Quantity Kind Vocabulary Version 2.1".
  • [i.23] QUDT.org Unit: "QUDT Unit Vocabulary Version 2.1".
  • [i.24] British Oceanographic Data Centre: "BODC Parameter Usage Vocabulary - P01".

Acknowledgements

The editors would like to thank the ETSI SmartM2M technical committee for providing guidance and expertise.

Also, many thanks to the ETSI staff and all other current and former active Participants of the ETSI SmartM2M group for their support, technical input and suggestions that led to improvements to this ontology.

Also, special thanks goes to the ETSI SmartM2M Technical Officer Guillemin Patrick.