From 13d98ff2c3bbaad75562edef18f7c309d2bc9e6d Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:57:25 +0100 Subject: [PATCH 01/10] Create metadata.json --- io.catenax.iot_sensor_data/1.0.0/metadata.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 io.catenax.iot_sensor_data/1.0.0/metadata.json diff --git a/io.catenax.iot_sensor_data/1.0.0/metadata.json b/io.catenax.iot_sensor_data/1.0.0/metadata.json new file mode 100644 index 00000000..c22749ae --- /dev/null +++ b/io.catenax.iot_sensor_data/1.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release"} From 829ec02f443b71f4942ac72e6eebfcee8ecb554e Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Wed, 22 Feb 2023 14:11:33 +0100 Subject: [PATCH 02/10] Upload of .ttl file --- .../1.0.0/IoTSensorData.ttl | 275 ++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl diff --git a/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl new file mode 100644 index 00000000..5c74768f --- /dev/null +++ b/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl @@ -0,0 +1,275 @@ +####################################################################### +# Copyright (c) 2022 BASF SE +# Copyright (c) 2022 Henkel AG & Co. KGaA +# Copyright (c) 2022 ZF Friedrichshafen AG +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This work is made available under the terms of the +# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, +# which is available at +# https://creativecommons.org/licenses/by/4.0/legalcode. +# +# SPDX-License-Identifier: CC-BY-4.0 +####################################################################### + +@prefix bamm: . +@prefix bamm-c: . +@prefix bamm-e: . +@prefix unit: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix : . + +:IoTSensorData a bamm:Aspect; + bamm:properties ([ + bamm:property :geoData; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :batteryLevel; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :humidity; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :fillingLevel; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :temperature; + bamm:optional "true"^^xsd:boolean +] :timestampSensoric [ + bamm:property :light; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :acceleration; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :weight; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :pressure; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :binarySensor; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :soundSensor; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :transmissionMethod; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :analogSensor; + bamm:optional "true"^^xsd:boolean +] :catenaXId); + bamm:operations (); + bamm:events (); + bamm:preferredName "IoT Sensor Data"@en; + bamm:description "The data collected by an IoT Sensor Device"@en. +:geoData a bamm:Property; + bamm:preferredName "Geo Data"@en; + bamm:description "Geodata, geographic data or geospatial data, refers to data and information that has explicit or implicit association with a location relative to Earth"@en; + bamm:characteristic :GeoDataCharacteristic. +:batteryLevel a bamm:Property; + bamm:preferredName "Battery Level"@en; + bamm:description "The battery level displays how much charge of the battery has been left."@en; + bamm:characteristic :BatteryLevelCharacteristic; + bamm:exampleValue "50"^^xsd:decimal. +:humidity a bamm:Property; + bamm:preferredName "Humidity"@en; + bamm:description "describes the concentration of water vapor present in the air."@en; + bamm:characteristic :HumidityCharacteristic; + bamm:exampleValue "74"^^xsd:decimal. +:fillingLevel a bamm:Property; + bamm:preferredName "Filling Level"@en; + bamm:description "Volume percentage of a liquid or solid filling material in a container or vessel"@en; + bamm:characteristic :FillingLevelCharacteristic; + bamm:exampleValue "45"^^xsd:decimal; + bamm:see . +:temperature a bamm:Property; + bamm:preferredName "Temperature"@en; + bamm:description "physical quantity that expresses quantitatively the perceptions of hotness and coldness.?"@en; + bamm:characteristic :TemperatureCharacteristic; + bamm:exampleValue "25"^^xsd:decimal. +:timestampSensoric a bamm:Property; + bamm:preferredName "Timestamp Sensoric"@en; + bamm:description "The timestamp of the latest sensor reading"@en; + bamm:characteristic bamm-c:Timestamp; + bamm:exampleValue "2023-02-05T15:48:54"^^xsd:dateTime. +:light a bamm:Property; + bamm:preferredName "Light"@en; + bamm:description "The measure of brightness of a light source in terms of energy being emitted"@en; + bamm:characteristic :LightCharacteristic; + bamm:exampleValue "450.00"^^xsd:decimal; + bamm:see . +:acceleration a bamm:Property; + bamm:preferredName "Acceleration"@en; + bamm:description "the rate of change of the velocity of an object with respect to time"@en; + bamm:characteristic :AccelerationCharacteristic; + bamm:exampleValue "33.528"^^xsd:decimal. +:weight a bamm:Property; + bamm:preferredName "Weight"@en; + bamm:description "measured weight at timestamp"@en; + bamm:characteristic :WeightCharacteristic; + bamm:exampleValue "15.5"^^xsd:decimal. +:pressure a bamm:Property; + bamm:preferredName "Pressure"@en; + bamm:description "Force applied over an area\n"@en; + bamm:characteristic :PressureCharacteristic; + bamm:exampleValue "2.60"^^xsd:decimal; + bamm:see . +:binarySensor a bamm:Property; + bamm:preferredName "Binary Sensor"@en; + bamm:description "Binary sensor monitors the state of condition of the parent assets."@en; + bamm:characteristic :BinarySensorCharacteristic; + bamm:exampleValue "1"^^xsd:integer. +:soundSensor a bamm:Property; + bamm:preferredName "Sound Sensor"@en; + bamm:description "Measured sound pressure level - local pressure deviation from the ambient pressure, caused by a sound wave.\n"@en; + bamm:characteristic :SoundSensorCharacteristic; + bamm:exampleValue "48"^^xsd:decimal; + bamm:see . +:transmissionMethod a bamm:Property; + bamm:preferredName "Transmission Method"@en; + bamm:description "The method under which the sensing data is transmitted from the source to the remote node "@en; + bamm:characteristic :TransmissionMethodCharacteristic; + bamm:exampleValue "LORA WAN". +:analogSensor a bamm:Property; + bamm:preferredName "Analog Sensor 1-10"@en; + bamm:description "Sensor that produce continuous analog output signal"@en; + bamm:characteristic :AnalogSensorCharacteristic; + bamm:exampleValue " 2.44"^^xsd:float. +:GeoDataCharacteristic a bamm:Characteristic; + bamm:preferredName "Geo Data Characteristic"@en; + bamm:description "Characteristic to describe the related Geo data"@en; + bamm:dataType :GeoDataEntity. +:BatteryLevelCharacteristic a bamm-c:Measurement; + bamm:preferredName "Battery Level Characteristic"@en; + bamm:description "Characteristic to describe the property battery level"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:percent. +:HumidityCharacteristic a bamm-c:Measurement; + bamm:preferredName "Humidity Characteristic"@en; + bamm:description "Characteristic that describes the property humidity"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:percent. +:FillingLevelCharacteristic a bamm-c:Measurement; + bamm:preferredName "Filling Level Characteristic"@en; + bamm:description "Characteristic that describes the property filling level"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:percent. +:TemperatureCharacteristic a bamm-c:Measurement; + bamm:preferredName "Temperature Characteristic"@en; + bamm:description "Characteristic that describes the property temperature"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:degreeCelsius. +:LightCharacteristic a bamm-c:Measurement; + bamm:preferredName "Light Characteristic"@en; + bamm:description "Characteristic that describes the property light "@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:lumen. +:AccelerationCharacteristic a bamm-c:Measurement; + bamm:preferredName "Acceleration Characteristic"@en; + bamm:description "Characteristic that describes the property acceleration"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:metrePerSecondSquared. +:WeightCharacteristic a bamm-c:Measurement; + bamm:preferredName "Weight Characteristic"@en; + bamm:description "Characteristic that describes the property weight"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:kilogram. +:PressureCharacteristic a bamm-c:Measurement; + bamm:preferredName "Pressure Characteristic"@en; + bamm:description "Characteristic that describes the property pressure"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:pascal. +:BinarySensorCharacteristic a bamm-c:Enumeration; + bamm:preferredName "Binary Sensor Characteristic"@en; + bamm:description "Characteristic that describes the property binary sensor\n"@en; + bamm:dataType xsd:integer; + bamm-c:values ("0"^^xsd:integer "1"^^xsd:integer). +:SoundSensorCharacteristic a bamm-c:Measurement; + bamm:preferredName "Sound Sensor Characteristic"@en; + bamm:description "Characteristic that describes the property sound sensor"@en; + bamm:dataType xsd:decimal; + bamm-c:unit unit:decibel. +:TransmissionMethodCharacteristic a bamm:Characteristic; + bamm:preferredName "Transmission Method Characteristic"@en; + bamm:description "Characteristic that describes the property transmission method"@en; + bamm:dataType xsd:string. +:AnalogSensorCharacteristic a bamm:Characteristic; + bamm:preferredName "Analog Sensor 1-10 Characteristic"@en; + bamm:description "Characteristic that describes the property analog sensor"@en; + bamm:dataType xsd:float. +:GeoDataEntity a bamm:Entity; + bamm:properties ([ + bamm:property :latitude; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :longitude; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :altitude; + bamm:optional "true"^^xsd:boolean +] [ + bamm:property :geoDataTimestamp; + bamm:optional "true"^^xsd:boolean +]); + bamm:preferredName "Geo Data Entity"@en; + bamm:description "Encapsulates the Geo Data relevant attributes"@en. +:latitude a bamm:Property; + bamm:preferredName "Latitude"@en; + bamm:description "The angle between zenith and a plane parallel to the equator.\n"@en; + bamm:characteristic :LatitudeCharacteristic; + bamm:exampleValue "4807.03"^^xsd:decimal; + bamm:see . +:longitude a bamm:Property; + bamm:preferredName "Longitude"@en; + bamm:description "geographic coordinate that specifies the east-west position of a point on the Earth's surface\n"@en; + bamm:characteristic :LongitudeCharacteristic; + bamm:exampleValue "01131.02"^^xsd:decimal; + bamm:see . +:altitude a bamm:Property; + bamm:preferredName "Altitude"@en; + bamm:description "height in relation to a certain reference point; (general) distance measurement, usually in the vertical or \"up\" direction, between a reference datum and a point or object. The reference datum also often varies according to the context\n"@en; + bamm:characteristic :AltitudeCharacteristic; + bamm:exampleValue "280.2"^^xsd:decimal; + bamm:see . +:geoDataTimestamp a bamm:Property; + bamm:preferredName "Geo Data Timestamp"@en; + bamm:description "The timestamp of the latest sensor reading of the geo data."@en; + bamm:characteristic bamm-c:Timestamp; + bamm:exampleValue "2023-02-04T14:48:54"^^xsd:dateTime. +:LatitudeCharacteristic a bamm:Characteristic; + bamm:preferredName "Latitude Characteristic"@en; + bamm:dataType xsd:decimal; + bamm:see . +:LongitudeCharacteristic a bamm:Characteristic; + bamm:preferredName "Longitude Characteristic"@en; + bamm:dataType xsd:decimal; + bamm:see . +:AltitudeCharacteristic a bamm:Characteristic; + bamm:preferredName "Altitude Characteristic"@en; + bamm:dataType xsd:decimal; + bamm:see . +:catenaXId a bamm:Property; + bamm:preferredName "Catena-X Identifier"@en; + bamm:description "The fully anonymous Catena-X ID of the asset , valid for the Catena-X dataspace.\t"@en; + bamm:characteristic :CatenaXIdTrait; + bamm:exampleValue "urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f". +:CatenaXIdTrait a bamm-c:Trait; + bamm:preferredName "Catena-X Id Trait"@en; + bamm:description "Trait to ensure UUID v4 data format"@en; + bamm-c:baseCharacteristic :UUIDv4; + bamm-c:constraint :Constraint1. +:UUIDv4 a bamm:Characteristic; + bamm:preferredName "UUIDv4"@en; + bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en; + bamm:dataType xsd:string. +:Constraint1 a bamm-c:RegularExpressionConstraint; + bamm:preferredName "Catena-X Id Regular Expression"@en; + bamm:description "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI."@en; + bamm:see ; + bamm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)". From e6f08cd419e227afb44df507d70a2e0ba5bf17e2 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Wed, 22 Feb 2023 14:12:26 +0100 Subject: [PATCH 03/10] Upload of RELEASE_NOTES.md --- io.catenax.iot_sensor_data/RELEASE_NOTES.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 io.catenax.iot_sensor_data/RELEASE_NOTES.md diff --git a/io.catenax.iot_sensor_data/RELEASE_NOTES.md b/io.catenax.iot_sensor_data/RELEASE_NOTES.md new file mode 100644 index 00000000..35833d3a --- /dev/null +++ b/io.catenax.iot_sensor_data/RELEASE_NOTES.md @@ -0,0 +1,14 @@ +# Changelog +All notable changes to this model will be documented in this file. + +## [Unreleased] + +## [1.0.0] - 2023-02-22 +### Added +- initial model + +### Changed +n/a + +### Removed + From 624f4996a74aaecd348f271e95785141ba50e366 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:12:32 +0100 Subject: [PATCH 04/10] Requested changes applied --- .../1.0.0/IoTSensorData.ttl | 154 +++++++++--------- 1 file changed, 81 insertions(+), 73 deletions(-) diff --git a/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl index 5c74768f..338eb7cf 100644 --- a/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl +++ b/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl @@ -1,19 +1,3 @@ -####################################################################### -# Copyright (c) 2022 BASF SE -# Copyright (c) 2022 Henkel AG & Co. KGaA -# Copyright (c) 2022 ZF Friedrichshafen AG -# -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. -# -# This work is made available under the terms of the -# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, -# which is available at -# https://creativecommons.org/licenses/by/4.0/legalcode. -# -# SPDX-License-Identifier: CC-BY-4.0 -####################################################################### - @prefix bamm: . @prefix bamm-c: . @prefix bamm-e: . @@ -21,9 +5,9 @@ @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . +@prefix : . -:IoTSensorData a bamm:Aspect; +:IotSensorData a bamm:Aspect; bamm:properties ([ bamm:property :geoData; bamm:optional "true"^^xsd:boolean @@ -67,56 +51,56 @@ bamm:operations (); bamm:events (); bamm:preferredName "IoT Sensor Data"@en; - bamm:description "The data collected by an IoT Sensor Device"@en. + bamm:description "The data collected by an IoT Sensor Device."@en. :geoData a bamm:Property; bamm:preferredName "Geo Data"@en; - bamm:description "Geodata, geographic data or geospatial data, refers to data and information that has explicit or implicit association with a location relative to Earth"@en; + bamm:description "Geodata, geographic data or geospatial data, refers to data and information that has explicit or implicit association with a location relative to Earth."@en; bamm:characteristic :GeoDataCharacteristic. :batteryLevel a bamm:Property; bamm:preferredName "Battery Level"@en; bamm:description "The battery level displays how much charge of the battery has been left."@en; bamm:characteristic :BatteryLevelCharacteristic; - bamm:exampleValue "50"^^xsd:decimal. + bamm:exampleValue "50.00"^^xsd:decimal. :humidity a bamm:Property; bamm:preferredName "Humidity"@en; - bamm:description "describes the concentration of water vapor present in the air."@en; + bamm:description "Describes the concentration of water vapor present in the air."@en; bamm:characteristic :HumidityCharacteristic; - bamm:exampleValue "74"^^xsd:decimal. + bamm:exampleValue "74.00"^^xsd:decimal. :fillingLevel a bamm:Property; bamm:preferredName "Filling Level"@en; - bamm:description "Volume percentage of a liquid or solid filling material in a container or vessel"@en; + bamm:description "Volume percentage of a liquid or solid filling material in a container or vessel."@en; bamm:characteristic :FillingLevelCharacteristic; - bamm:exampleValue "45"^^xsd:decimal; + bamm:exampleValue "45.00"^^xsd:decimal; bamm:see . :temperature a bamm:Property; bamm:preferredName "Temperature"@en; - bamm:description "physical quantity that expresses quantitatively the perceptions of hotness and coldness.?"@en; + bamm:description "Physical quantity that expresses quantitatively the perceptions of hotness and coldness."@en; bamm:characteristic :TemperatureCharacteristic; - bamm:exampleValue "25"^^xsd:decimal. + bamm:exampleValue "25.00"^^xsd:decimal. :timestampSensoric a bamm:Property; bamm:preferredName "Timestamp Sensoric"@en; - bamm:description "The timestamp of the latest sensor reading"@en; + bamm:description "The timestamp of the latest sensor reading."@en; bamm:characteristic bamm-c:Timestamp; bamm:exampleValue "2023-02-05T15:48:54"^^xsd:dateTime. :light a bamm:Property; bamm:preferredName "Light"@en; - bamm:description "The measure of brightness of a light source in terms of energy being emitted"@en; + bamm:description "The measure of brightness of a light source in terms of energy being emitted."@en; bamm:characteristic :LightCharacteristic; bamm:exampleValue "450.00"^^xsd:decimal; bamm:see . :acceleration a bamm:Property; bamm:preferredName "Acceleration"@en; - bamm:description "the rate of change of the velocity of an object with respect to time"@en; + bamm:description "The rate of change of the velocity of an object with respect to time."@en; bamm:characteristic :AccelerationCharacteristic; bamm:exampleValue "33.528"^^xsd:decimal. :weight a bamm:Property; bamm:preferredName "Weight"@en; - bamm:description "measured weight at timestamp"@en; + bamm:description "Measured weight at timestamp."@en; bamm:characteristic :WeightCharacteristic; - bamm:exampleValue "15.5"^^xsd:decimal. + bamm:exampleValue "15.50"^^xsd:decimal. :pressure a bamm:Property; bamm:preferredName "Pressure"@en; - bamm:description "Force applied over an area\n"@en; + bamm:description "Force applied over an area."@en; bamm:characteristic :PressureCharacteristic; bamm:exampleValue "2.60"^^xsd:decimal; bamm:see . @@ -127,82 +111,86 @@ bamm:exampleValue "1"^^xsd:integer. :soundSensor a bamm:Property; bamm:preferredName "Sound Sensor"@en; - bamm:description "Measured sound pressure level - local pressure deviation from the ambient pressure, caused by a sound wave.\n"@en; + bamm:description "Measured sound pressure level - local pressure deviation from the ambient pressure, caused by a sound wave."@en; bamm:characteristic :SoundSensorCharacteristic; - bamm:exampleValue "48"^^xsd:decimal; + bamm:exampleValue "48.00"^^xsd:decimal; bamm:see . :transmissionMethod a bamm:Property; bamm:preferredName "Transmission Method"@en; - bamm:description "The method under which the sensing data is transmitted from the source to the remote node "@en; + bamm:description "The method under which the sensing data is transmitted from the source to the remote node."@en; bamm:characteristic :TransmissionMethodCharacteristic; - bamm:exampleValue "LORA WAN". + bamm:exampleValue "LoRaWAN". :analogSensor a bamm:Property; bamm:preferredName "Analog Sensor 1-10"@en; - bamm:description "Sensor that produce continuous analog output signal"@en; - bamm:characteristic :AnalogSensorCharacteristic; - bamm:exampleValue " 2.44"^^xsd:float. + bamm:description "Sensor that produce continuous analog output signal."@en; + bamm:characteristic :AnalogSensorCharacteristic. +:catenaXId a bamm:Property; + bamm:preferredName "Catena-X Identifier"@en; + bamm:description "The fully anonymous Catena-X ID of the asset, valid for the Catena-X dataspace."@en; + bamm:characteristic :CatenaXIdTrait; + bamm:exampleValue "urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f". :GeoDataCharacteristic a bamm:Characteristic; bamm:preferredName "Geo Data Characteristic"@en; - bamm:description "Characteristic to describe the related Geo data"@en; + bamm:description "Characteristic to describe the related Geo data."@en; bamm:dataType :GeoDataEntity. :BatteryLevelCharacteristic a bamm-c:Measurement; bamm:preferredName "Battery Level Characteristic"@en; - bamm:description "Characteristic to describe the property battery level"@en; + bamm:description "Characteristic to describe the property battery level."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:percent. :HumidityCharacteristic a bamm-c:Measurement; bamm:preferredName "Humidity Characteristic"@en; - bamm:description "Characteristic that describes the property humidity"@en; + bamm:description "Characteristic that describes the property humidity."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:percent. :FillingLevelCharacteristic a bamm-c:Measurement; bamm:preferredName "Filling Level Characteristic"@en; - bamm:description "Characteristic that describes the property filling level"@en; + bamm:description "Characteristic that describes the property filling level."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:percent. :TemperatureCharacteristic a bamm-c:Measurement; bamm:preferredName "Temperature Characteristic"@en; - bamm:description "Characteristic that describes the property temperature"@en; + bamm:description "Characteristic that describes the property temperature."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:degreeCelsius. :LightCharacteristic a bamm-c:Measurement; bamm:preferredName "Light Characteristic"@en; - bamm:description "Characteristic that describes the property light "@en; + bamm:description "Characteristic that describes the property light."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:lumen. :AccelerationCharacteristic a bamm-c:Measurement; bamm:preferredName "Acceleration Characteristic"@en; - bamm:description "Characteristic that describes the property acceleration"@en; + bamm:description "Characteristic that describes the property acceleration."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:metrePerSecondSquared. :WeightCharacteristic a bamm-c:Measurement; bamm:preferredName "Weight Characteristic"@en; - bamm:description "Characteristic that describes the property weight"@en; + bamm:description "Characteristic that describes the property weight."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:kilogram. :PressureCharacteristic a bamm-c:Measurement; bamm:preferredName "Pressure Characteristic"@en; - bamm:description "Characteristic that describes the property pressure"@en; + bamm:description "Characteristic that describes the property pressure."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:pascal. :BinarySensorCharacteristic a bamm-c:Enumeration; bamm:preferredName "Binary Sensor Characteristic"@en; - bamm:description "Characteristic that describes the property binary sensor\n"@en; + bamm:description "Characteristic that describes the property binary sensor."@en; bamm:dataType xsd:integer; bamm-c:values ("0"^^xsd:integer "1"^^xsd:integer). :SoundSensorCharacteristic a bamm-c:Measurement; bamm:preferredName "Sound Sensor Characteristic"@en; - bamm:description "Characteristic that describes the property sound sensor"@en; + bamm:description "Characteristic that describes the property sound sensor."@en; bamm:dataType xsd:decimal; bamm-c:unit unit:decibel. :TransmissionMethodCharacteristic a bamm:Characteristic; bamm:preferredName "Transmission Method Characteristic"@en; - bamm:description "Characteristic that describes the property transmission method"@en; + bamm:description "Characteristic that describes the property transmission method."@en; bamm:dataType xsd:string. -:AnalogSensorCharacteristic a bamm:Characteristic; +:AnalogSensorCharacteristic a bamm-c:List; bamm:preferredName "Analog Sensor 1-10 Characteristic"@en; - bamm:description "Characteristic that describes the property analog sensor"@en; - bamm:dataType xsd:float. + bamm:description "Characteristic that describes the property analog sensor."@en; + bamm:dataType :AnalogSensorEntity. :GeoDataEntity a bamm:Entity; bamm:properties ([ bamm:property :latitude; @@ -218,25 +206,25 @@ bamm:optional "true"^^xsd:boolean ]); bamm:preferredName "Geo Data Entity"@en; - bamm:description "Encapsulates the Geo Data relevant attributes"@en. + bamm:description "Encapsulates the Geo Data relevant attributes."@en. :latitude a bamm:Property; bamm:preferredName "Latitude"@en; - bamm:description "The angle between zenith and a plane parallel to the equator.\n"@en; + bamm:description "The angle between zenith and a plane parallel to the equator."@en; bamm:characteristic :LatitudeCharacteristic; bamm:exampleValue "4807.03"^^xsd:decimal; bamm:see . :longitude a bamm:Property; bamm:preferredName "Longitude"@en; - bamm:description "geographic coordinate that specifies the east-west position of a point on the Earth's surface\n"@en; + bamm:description "Geographic coordinate that specifies the east-west position of a point on the Earth's surface."@en; bamm:characteristic :LongitudeCharacteristic; bamm:exampleValue "01131.02"^^xsd:decimal; bamm:see . :altitude a bamm:Property; bamm:preferredName "Altitude"@en; - bamm:description "height in relation to a certain reference point; (general) distance measurement, usually in the vertical or \"up\" direction, between a reference datum and a point or object. The reference datum also often varies according to the context\n"@en; + bamm:description "Antenna Altitude above/below mean-sea-level (geoid)."@en; bamm:characteristic :AltitudeCharacteristic; - bamm:exampleValue "280.2"^^xsd:decimal; - bamm:see . + bamm:exampleValue "280.20"^^xsd:decimal; + bamm:see . :geoDataTimestamp a bamm:Property; bamm:preferredName "Geo Data Timestamp"@en; bamm:description "The timestamp of the latest sensor reading of the geo data."@en; @@ -244,24 +232,22 @@ bamm:exampleValue "2023-02-04T14:48:54"^^xsd:dateTime. :LatitudeCharacteristic a bamm:Characteristic; bamm:preferredName "Latitude Characteristic"@en; - bamm:dataType xsd:decimal; - bamm:see . + bamm:description "Characteristic describing the property latitude."@en; + bamm:see ; + bamm:dataType xsd:decimal. :LongitudeCharacteristic a bamm:Characteristic; bamm:preferredName "Longitude Characteristic"@en; - bamm:dataType xsd:decimal; - bamm:see . + bamm:description "Characteristic describing the property longitude."@en; + bamm:see ; + bamm:dataType xsd:decimal. :AltitudeCharacteristic a bamm:Characteristic; bamm:preferredName "Altitude Characteristic"@en; - bamm:dataType xsd:decimal; - bamm:see . -:catenaXId a bamm:Property; - bamm:preferredName "Catena-X Identifier"@en; - bamm:description "The fully anonymous Catena-X ID of the asset , valid for the Catena-X dataspace.\t"@en; - bamm:characteristic :CatenaXIdTrait; - bamm:exampleValue "urn:uuid:ed85f17e-29dd-473c-9cb8-d7ad1dc44d2f". + bamm:description "Characteristic describing the property altitude."@en; + bamm:see ; + bamm:dataType xsd:decimal. :CatenaXIdTrait a bamm-c:Trait; bamm:preferredName "Catena-X Id Trait"@en; - bamm:description "Trait to ensure UUID v4 data format"@en; + bamm:description "Trait to ensure UUID v4 data format."@en; bamm-c:baseCharacteristic :UUIDv4; bamm-c:constraint :Constraint1. :UUIDv4 a bamm:Characteristic; @@ -273,3 +259,25 @@ bamm:description "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI."@en; bamm:see ; bamm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)". +:AnalogSensorEntity a bamm:Entity; + bamm:properties (:analogSensorNumber :analogSensorValue); + bamm:preferredName "Analog Sensor Entity"@en; + bamm:description "Encapsulates all analog sensor properties."@en. +:analogSensorNumber a bamm:Property; + bamm:preferredName "Analog Sensor Number"@en; + bamm:description "Characteristic describing the number of Analog sensor."@en; + bamm:characteristic :AnalogSensorNumberCharacteristic; + bamm:exampleValue "1"^^xsd:integer. +:analogSensorValue a bamm:Property; + bamm:preferredName "Analog Sensor Value"@en; + bamm:description "The value of the analog sensor. "@en; + bamm:characteristic :AnalogSensorValueCharacteristic; + bamm:exampleValue "2.55"^^xsd:float. +:AnalogSensorNumberCharacteristic a bamm-c:Enumeration; + bamm:description "Characteristic of the analog sensor number property."@en; + bamm:dataType xsd:integer; + bamm-c:values ("1"^^xsd:integer "2"^^xsd:integer "3"^^xsd:integer "4"^^xsd:integer "5"^^xsd:integer "6"^^xsd:integer "7"^^xsd:integer "8"^^xsd:integer "9"^^xsd:integer "10"^^xsd:integer). +:AnalogSensorValueCharacteristic a bamm:Characteristic; + bamm:preferredName "Analog Sensor Value Characteristic"@en; + bamm:description "Characteristic describing the property analog sensor value. "@en; + bamm:dataType xsd:float. From 23ba8710d76ffa524770f3f550e9bae9e4294195 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:13:57 +0100 Subject: [PATCH 05/10] Added Contributing Companies --- .../1.0.0/IoTSensorData.ttl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl index 338eb7cf..24e7c2d7 100644 --- a/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl +++ b/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl @@ -1,3 +1,19 @@ +####################################################################### +# Copyright (c) 2022 BASF SE +# Copyright (c) 2022 Henkel AG & Co. KGaA +# Copyright (c) 2022 ZF Friedrichshafen AG +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This work is made available under the terms of the +# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, +# which is available at +# https://creativecommons.org/licenses/by/4.0/legalcode. +# +# SPDX-License-Identifier: CC-BY-4.0 +####################################################################### + @prefix bamm: . @prefix bamm-c: . @prefix bamm-e: . From a215140e94c7cb3e26e7844db7c23be2b6f1fb03 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:12:40 +0100 Subject: [PATCH 06/10] Rename IoTSensorData.ttl to IotSensorData.ttl --- .../1.0.0/{IoTSensorData.ttl => IotSensorData.ttl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename io.catenax.iot_sensor_data/1.0.0/{IoTSensorData.ttl => IotSensorData.ttl} (100%) diff --git a/io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl similarity index 100% rename from io.catenax.iot_sensor_data/1.0.0/IoTSensorData.ttl rename to io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl From a553d0eed9ab2fca6c1dac515d1eb64a0fd803f2 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:35:25 +0100 Subject: [PATCH 07/10] Preferred Name change Analog Sensor Preferred name change. --- io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl index 24e7c2d7..05a385e7 100644 --- a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl +++ b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl @@ -204,7 +204,7 @@ bamm:description "Characteristic that describes the property transmission method."@en; bamm:dataType xsd:string. :AnalogSensorCharacteristic a bamm-c:List; - bamm:preferredName "Analog Sensor 1-10 Characteristic"@en; + bamm:preferredName "Analog Sensor Characteristic"@en; bamm:description "Characteristic that describes the property analog sensor."@en; bamm:dataType :AnalogSensorEntity. :GeoDataEntity a bamm:Entity; From 87d6440eaf43e7c38484777188219da866eeecc7 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Thu, 16 Mar 2023 14:21:15 +0100 Subject: [PATCH 08/10] New property added "Error Code" --- .../1.0.0/IotSensorData.ttl | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl index 05a385e7..f269d27c 100644 --- a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl +++ b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl @@ -1,7 +1,7 @@ ####################################################################### -# Copyright (c) 2022 BASF SE -# Copyright (c) 2022 Henkel AG & Co. KGaA -# Copyright (c) 2022 ZF Friedrichshafen AG +# Copyright (c) 2023 BASF SE +# Copyright (c) 2023 Henkel AG & Co. KGaA +# Copyright (c) 2023 ZF Friedrichshafen AG # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership. @@ -63,7 +63,7 @@ ] [ bamm:property :analogSensor; bamm:optional "true"^^xsd:boolean -] :catenaXId); +] :catenaXId :errorCode); bamm:operations (); bamm:events (); bamm:preferredName "IoT Sensor Data"@en; @@ -297,3 +297,12 @@ bamm:preferredName "Analog Sensor Value Characteristic"@en; bamm:description "Characteristic describing the property analog sensor value. "@en; bamm:dataType xsd:float. +:errorCode a bamm:Property; + bamm:preferredName "Error Code"@en; + bamm:description "A numeric code that is used to determine the nature of an error and why it occured. The mapping is defined by the Asset Tracking Platform"@en; + bamm:characteristic :ErrorCodeCharacteristic; + bamm:exampleValue "105"^^xsd:integer. +:ErrorCodeCharacteristic a bamm-c:Code; + bamm:preferredName "Error Code Characteristic"@en; + bamm:description "A characteristic describing the property error code."@en; + bamm:dataType xsd:integer. From e09c0cd7e379fac8af26a79a9446ceb3014d89a0 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Thu, 23 Mar 2023 11:55:04 +0100 Subject: [PATCH 09/10] added Contributors to the Eclipse Foundation --- io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl index f269d27c..4754a198 100644 --- a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl +++ b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl @@ -2,6 +2,7 @@ # Copyright (c) 2023 BASF SE # Copyright (c) 2023 Henkel AG & Co. KGaA # Copyright (c) 2023 ZF Friedrichshafen AG +# Copyright (c) 2023 Contributors to the Eclipse Foundation # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership. From 031c0b286b3885d74ac0082f45f23fb229cd3de9 Mon Sep 17 00:00:00 2001 From: Cvetanka Drevon <107257966+Cvetanka-ZF@users.noreply.github.com> Date: Tue, 4 Apr 2023 10:04:19 +0200 Subject: [PATCH 10/10] set ErrorCode optional --- io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl index 4754a198..a0e40693 100644 --- a/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl +++ b/io.catenax.iot_sensor_data/1.0.0/IotSensorData.ttl @@ -64,7 +64,10 @@ ] [ bamm:property :analogSensor; bamm:optional "true"^^xsd:boolean -] :catenaXId :errorCode); +] :catenaXId [ + bamm:property :errorCode; + bamm:optional "true"^^xsd:boolean +]); bamm:operations (); bamm:events (); bamm:preferredName "IoT Sensor Data"@en;