Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Model]: Time Series Reference #108

Merged
156 changes: 156 additions & 0 deletions io.catenax.time_series_reference/1.0.0/TimeSeriesReference.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
#######################################################################
# Copyright (c) 2022 Allgemeine Deutsche Automobil-Club (ADAC) e.V
# Copyright (c) 2022 Bayerische Motoren Werke Aktiengesellschaft
# Copyright (c) 2022 Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)
# Copyright (c) 2022 Siemens AG
# Copyright (c) 2022 ZF Friedrichshafen AG
# Copyright (c) 2022 Contributors to the Eclipse Foundation
#
# 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: <urn:bamm:io.openmanufacturing:meta-model:2.0.0#> .
@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:2.0.0#> .
@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:2.0.0#> .
@prefix unit: <urn:bamm:io.openmanufacturing:unit:2.0.0#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <urn:bamm:io.catenax.time_series_reference:1.0.0#> .

:TimeSeriesReference a bamm:Aspect ;
bamm:preferredName "time series reference"@en ;
TobiasHamacherDLR marked this conversation as resolved.
Show resolved Hide resolved
bamm:properties ( :decimalSeperator :sourceFile :fileExtension :delimiter :payload ) ;
bamm:operations ( ) ;
bamm:events ( ) ;
bamm:name "TimeSeriesReference" .

:decimalSeperator a bamm:Property ;
bamm:preferredName "decimal seperator"@en ;
TobiasHamacherDLR marked this conversation as resolved.
Show resolved Hide resolved
bamm:description "indicates whether a dot, comma or semicolon is used to separate the decimal place in the source file"@en ;
TobiasHamacherDLR marked this conversation as resolved.
Show resolved Hide resolved
bamm:characteristic :DecimalSeperatorChoice ;
bamm:exampleValue "dot" ;
bs-jokri marked this conversation as resolved.
Show resolved Hide resolved
bamm:name "decimalSeperator" .

:sourceFile a bamm:Property ;
bamm:preferredName "source file"@en ;
bamm:description "contains the URI to the referenced time series file"@en ;
bamm:characteristic :ResourcePath ;
bamm:name "sourceFile" .

:fileExtension a bamm:Property ;
bamm:description "indicates whether csv, none or txt is used as file extension"@en ;
bamm:characteristic :FileExtensionChoice ;
bamm:exampleValue "csv" ;
bamm:name "fileExtension" .

:delimiter a bamm:Property ;
bamm:description "indicates whether a semicolon, comma or tab is used as a deliniter between datapoints"@en ;
bamm:characteristic :DelimiterChoice ;
bamm:exampleValue "semicolon" ;
bamm:name "delimiter" .

:payload a bamm:Property ;
bamm:preferredName "payload"@en ;
bamm:description "contains the information about units and variable names"@en ;
bamm:characteristic :PayloadCharacteristic ;
bamm:name "payload" .

:DecimalSeperatorChoice a bamm-c:Enumeration ;
TobiasHamacherDLR marked this conversation as resolved.
Show resolved Hide resolved
bamm:dataType xsd:string ;
bamm-c:values ( "dot" "comma" ) ;
bamm:name "DecimalSeperatorChoice" .

:ResourcePath a bamm:Characteristic ;
bamm:preferredName "Resource Path"@en ;
bamm:description "The path of a resource."@en ;
bamm:dataType xsd:anyURI ;
bamm:name "ResourcePath" .

:FileExtensionChoice a bamm-c:Enumeration ;
TobiasHamacherDLR marked this conversation as resolved.
Show resolved Hide resolved
bamm:dataType xsd:string ;
bamm-c:values ( "csv" "none" "txt" "dat" "data" ) ;
bamm:name "FileExtensionChoice" .

:DelimiterChoice a bamm-c:Enumeration ;
bamm:dataType xsd:string ;
bamm-c:values ( "semicolon" "comma" "tab" ) ;
bs-jokri marked this conversation as resolved.
Show resolved Hide resolved
bamm:name "DelimiterChoice" .

:PayloadCharacteristic a bamm-c:TimeSeries ;
bamm:preferredName "payload characteristic"@en ;
bamm:dataType :PayloadEntity ;
bamm:name "PayloadCharacteristic" .

:PayloadEntity a bamm:Entity ;
bamm:preferredName "payload entity"@en ;
bamm:description "header payload"@en ;
bamm:properties ( :units :variableNames :timeColumnName ) ;
bs-jokri marked this conversation as resolved.
Show resolved Hide resolved
bamm:name "PayloadEntity" .

:units a bamm:Property ;
bamm:description "lists the unit for each datapoint"@en ;
bamm:characteristic :UnitsListCharacteristic ;
bamm:name "units" .

:variableNames a bamm:Property ;
bamm:description "lists the name for each datapoint"@en ;
bamm:characteristic :VariableListCharacteristic ;
bamm:name "variableNames" .

:timeColumnName a bamm:Property ;
bamm:preferredName "time column"@en ;
bamm:description "specifies the name of the variableNames entry which contains the time column"@en ;
bamm:characteristic :TimeColumnChoice ;
bamm:name "timeColumnName" .

:UnitsListCharacteristic a bamm-c:List ;
bamm:description "lists the unit for each datapoint"@en ;
bamm:dataType :Unit ;
bamm:name "UnitsListCharacteristic" .

:VariableListCharacteristic a bamm-c:List ;
bamm:description "lists the name for each datapoint"@en ;
bamm:dataType :VariableName ;
bamm:name "VariableListCharacteristic" .

:TimeColumnChoice a bamm-c:Enumeration ;
bamm:preferredName "time column name"@en ;
bamm:description "specifies the name of the time colums variable"@en ;
bamm:dataType xsd:string ;
bamm-c:values ( "Time" "TIME" "time" "t" ) ;
bamm:name "TimeColumnChoice" .

:Unit a bamm:Entity ;
bamm:description "unit of a column"@en ;
bamm:properties ( :unit ) ;
bamm:name "Unit" .

:VariableName a bamm:Entity ;
bamm:description "name of a column "@en ;
bamm:properties ( :variableName ) ;
TobiasHamacherDLR marked this conversation as resolved.
Show resolved Hide resolved
bamm:name "VariableName" .

:unit a bamm:Property ;
bamm:description "unit of a column"@en ;
bamm:characteristic bamm-c:UnitReference ;
bamm:name "unit" .

:variableName a bamm:Property ;
bamm:description "name of a column "@en ;
bamm:characteristic :VariableNameCharacteristic ;
bamm:exampleValue "Torque"@ ;
bamm:name "variableName" .

:VariableNameCharacteristic a bamm:Characteristic ;
bamm:dataType rdf:langString ;
bamm:name "VariableNameCharacteristic" .

1 change: 1 addition & 0 deletions io.catenax.time_series_reference/1.0.0/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "status" : "draft"}
bs-jokri marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions io.catenax.time_series_reference/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog
All notable changes to this model will be documented in this file.

## [Unreleased]

## [1.0.0] - 2023-03-20
### Added
- initial version of this model

### Changed
n/a

### Removed