Sensor Data ontology
type: Ontology
created: 2020-02-01
creator: María Poveda-Villalón
creator: Serge Chávez-Feria.
description: The Sensor Data ontology has been developed to represent measurements generated by sensors located inside building spaces. It also includes specific concepts and properties to model sensors and actuators records that follow the SenML standard. This model allows the representation of resolved and unresolved records if required. (Check SenML standard for more details: https://tools.ietf.org/html/rfc8428#)
publisher: http://www.oeg-upm.net/
license: http://purl.org/NET/rdflicense/cc-by4.0
preferred namespace prefix: sd
version info: 0.0.3

is controlled by device
type: ObjectProperty
comment: A relationship specifying the devices that can control a certain property.

is measured by device
type: ObjectProperty
comment: A relationship specifying the devices that can measure a certain property.

is measured in
type: ObjectProperty
comment: A relationship identifying the unit of measure used for a certain entity.

is measurement of
type: ObjectProperty
comment: A relationship between a measurement and the feature of interest whose quality was measured.

makes measurement
type: ObjectProperty
comment: A relation between a device and the measurements it makes. Such measurement will link together the value of the measurement, its unit of measure and the property to which it relates.

relates to property
type: ObjectProperty
comment: A relationship between a measurement and the property it relates to.

base name
type: DatatypeProperty
domain: SenML device
range: string
comment: This is a string that is prepended to the names found in the records.

base sum
type: DatatypeProperty
domain: SenML record
range: double
comment: A base sum is added to the sum found in a record.

base time
type: DatatypeProperty
domain: SenML record
range: double
comment: A base time that is added to the time found in a record.

base value
type: DatatypeProperty
domain: SenML record
range: double
comment: A base value is added to the value found in a record.

has version
type: DatatypeProperty
domain: SenML device
range: integer
comment: Version number of the media type format.

name
type: DatatypeProperty
domain: SenML device
range: string
comment: Name of the sensor or parameter. When appended to the Base Name field, this must result in a globally unique identifier for the resource.

sum
type: DatatypeProperty
domain: SenML record
range: double
comment: Integrated sum of the values over time. Optional. This field is in the unit specified in the Unit value multiplied by seconds.

time
type: DatatypeProperty
domain: SenML record
range: double
comment: Time when the value was recorded.

update time
type: DatatypeProperty
domain: Sensor
range: double
comment: Period of time in seconds that represents the maximum time before this sensor will provide an updated reading for a measurement. This can be used to detect the failure of sensors or the communications path from the sensor.

has value
type: DatatypeProperty
comment: A relationship defining the value of a certain property, e.g., energy or power. Note that, even if numeric values are expected to enable reasoning, measurement values could use other datatypes.

Element
type: Class
comment: Building component or construction element which can be described by a set of properties.

Actuator
type: Class
subclass of: SenML device
comment: A device that is able to receive command signals in the SenML standard, and act over building components in order to change their state.

SenML device
type: Class
subclass of: Element
subclass of: Device
subclass of: Restriction
  on property: base name
  max cardinality: 1
subclass of: Restriction
  on property: has version
  max cardinality: 1
subclass of: Restriction
  on property: name
  max cardinality: 1
comment: A device that produces or receives records following the SenML standard. A record could mean either a measurement or a control signal.

SenML record
type: Class
subclass of: Measurement
subclass of: Restriction
  on property: time
  cardinality: 1
subclass of: Restriction
  on property: base sum
  max cardinality: 1
subclass of: Restriction
  on property: base time
  max cardinality: 1
subclass of: Restriction
  on property: base value
  max cardinality: 1
subclass of: Restriction
  on property: sum
  max cardinality: 1
comment: A meaurement or a command signal that follows the SenML specification (https://tools.ietf.org/html/rfc8428)

Sensor
type: Class
subclass of: SenML device
subclass of: Restriction
  on property: update time
  max cardinality: 1
comment: A device that is able to produce measurement signals following the SenML standard. A sensor detects and responds to events or changes in the physical environment.

Device
type: Class
subclass of: Restriction
  on property: makes measurement
  all values from: Measurement
comment: A tangible object designed to accomplish a particular task. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function.

Feature of interest
type: Class
comment: A feature of interest represents any real world entity from which a property is measured.

Measurement
type: Class
subclass of: Restriction
  on property: is measured in
  all values from: Unit of measure
subclass of: Restriction
  on property: is measurement of
  all values from: Feature of interest
subclass of: Restriction
  on property: relates to property
  all values from: Property
subclass of: Restriction
  on property: is measured in
  qualified cardinality: 1
  on class: Unit of measure
subclass of: Restriction
  on property: relates to property
  qualified cardinality: 1
  on class: Property
comment: Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement.

Property
type: Class
subclass of: Restriction
  on property: is controlled by device
  all values from: Device
subclass of: Restriction
  on property: is measured by device
  all values from: Device
comment: A quality of a feature of interest that can be measured; an aspect of a feature of interest that is intrinsic to and cannot exist without the feature

Unit of measure
type: Class
comment: The unit of measure is a standard for measurement of a quantity, such as a Property. For example, Power is a property and Watt is a unit of power that represents a definite predetermined power: when we say 10 Watt, we actually mean 10 times the definite predetermined power called \"watt\". Our definition is based on the definition of unit of measure in the Ontology of units of Measure (OM). We propose here a list of some units of measure that are relevant for the purpose of SAREF, but this list can be extended, also using some other ontologies rather than the Ontology of units of Measure (OM).