From 6952528d2daa263e2669ebc28cfd084f780e1286 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Mon, 29 May 2023 23:09:28 +0200 Subject: [PATCH 1/6] Create metadata.json --- io.catenax.traction_battery_code/1.0.0/metadata.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 io.catenax.traction_battery_code/1.0.0/metadata.json diff --git a/io.catenax.traction_battery_code/1.0.0/metadata.json b/io.catenax.traction_battery_code/1.0.0/metadata.json new file mode 100644 index 00000000..eb94ac1e --- /dev/null +++ b/io.catenax.traction_battery_code/1.0.0/metadata.json @@ -0,0 +1 @@ +{ "status" : "release"} From f584d7cd47e43db93eeb722f9681b82b467b888f Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Mon, 29 May 2023 23:11:25 +0200 Subject: [PATCH 2/6] Create TractionBatteryCode.ttl --- .../1.0.0/TractionBatteryCode.ttl | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl diff --git a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl new file mode 100644 index 00000000..aaaa97e5 --- /dev/null +++ b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl @@ -0,0 +1,89 @@ +####################################################################### +# Copyright (c) 2023 BASF SE +# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer ISST & Fraunhofer IML) +# Copyright (c) 2023 German Edge Cloud GmbH & Co. KG +# Copyright (c) 2023 Henkel AG & Co. KGaA +# Copyright (c) 2023 Mercedes Benz AG +# Copyright (c) 2023 Robert Bosch Manufacturing Solutions GmbH +# Copyright (c) 2023 SAP SE +# Copyright (c) 2023 Siemens AG +# Copyright (c) 2023 T-Systems International GmbH +# 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. +# +# 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 samm: . +@prefix samm-c: . +@prefix samm-e: . +@prefix unit: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix : . + +:TractionBatteryCode a samm:Aspect ; + samm:preferredName "Traction Battery Code"@en ; + samm:description "The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC)."@en ; + samm:see ; + samm:properties ( :tractionBatteryCode [ samm:property :subcomponents; samm:optional true ] :productType ) ; + samm:operations ( ) ; + samm:events ( ) . + +:tractionBatteryCode a samm:Property ; + samm:preferredName "Traction Battery Code"@en ; + samm:description "Traction Battery Code identifying a single traction battery component like a pack, module or cell. "@en ; + samm:characteristic :BatteryCodeTrait ; + samm:exampleValue "X12MCPM27KLPCLX2M2382320" . + +:subcomponents a samm:Property ; + samm:preferredName "Subcomponents"@en ; + samm:description "Subcomponents of the component, if any. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively)."@en ; + samm:characteristic :ComponentList . + +:productType a samm:Property ; + samm:preferredName "Product Type"@en ; + samm:description "The type of the battery component, e.g. a pack, a module or a cell."@en ; + samm:characteristic :ComponentTypeCharacterstic ; + samm:exampleValue "pack" . + +:BatteryCodeTrait a samm-c:Trait ; + samm-c:baseCharacteristic :BatteryCodeCharacterisitc ; + samm-c:constraint :TractionBatteryCodeRegularExpression . + +:ComponentList a samm-c:List ; + samm:preferredName "List of Components"@en ; + samm:description "A list of battery components like modules or cells."@en ; + samm:dataType :BatteryComponent . + +:ComponentTypeCharacterstic a samm-c:Enumeration ; + samm:preferredName "Component Type Characterstic"@en ; + samm:dataType xsd:string ; + samm-c:values ( "pack" "module" "cell" ) . + +:BatteryCodeCharacterisitc a samm-c:Code ; + samm:preferredName "Batery Code Characteristic"@en ; + samm:description "A code identifying a traction battery component like a pack, module or cell."@en ; + samm:dataType xsd:string . + +:TractionBatteryCodeRegularExpression a samm-c:RegularExpressionConstraint ; + samm:preferredName "Traction Battery Code Regular Expression"@en ; + samm:description "The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can be have a length of either 24 or 18 characters."@en ; + samm:see ; + samm:value "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" . + +:BatteryComponent a samm:Entity ; + samm:preferredName "Battery Component"@en ; + samm:description "A battery component like a cell or a module."@en ; + samm:properties ( :tractionBatteryCode [ samm:property :subcomponents; samm:optional true ] :productType ) . + From 0699cfadb74b878716473979e2df36a7652e371a Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Wed, 31 May 2023 10:32:10 +0200 Subject: [PATCH 3/6] improved element naming and descriptions --- .../1.0.0/TractionBatteryCode.ttl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl index aaaa97e5..702ab179 100644 --- a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl +++ b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl @@ -43,12 +43,12 @@ :tractionBatteryCode a samm:Property ; samm:preferredName "Traction Battery Code"@en ; samm:description "Traction Battery Code identifying a single traction battery component like a pack, module or cell. "@en ; - samm:characteristic :BatteryCodeTrait ; + samm:characteristic :TractionBatteryCodeTrait ; samm:exampleValue "X12MCPM27KLPCLX2M2382320" . :subcomponents a samm:Property ; samm:preferredName "Subcomponents"@en ; - samm:description "Subcomponents of the component, if any. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively)."@en ; + samm:description "Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively)."@en ; samm:characteristic :ComponentList . :productType a samm:Property ; @@ -57,21 +57,21 @@ samm:characteristic :ComponentTypeCharacterstic ; samm:exampleValue "pack" . -:BatteryCodeTrait a samm-c:Trait ; - samm-c:baseCharacteristic :BatteryCodeCharacterisitc ; +:TractionBatteryCodeTrait a samm-c:Trait ; + samm-c:baseCharacteristic :TractionBatteryCodeCharacteristic; samm-c:constraint :TractionBatteryCodeRegularExpression . :ComponentList a samm-c:List ; samm:preferredName "List of Components"@en ; samm:description "A list of battery components like modules or cells."@en ; - samm:dataType :BatteryComponent . + samm:dataType :TractionBatteryComponent . :ComponentTypeCharacterstic a samm-c:Enumeration ; samm:preferredName "Component Type Characterstic"@en ; samm:dataType xsd:string ; samm-c:values ( "pack" "module" "cell" ) . -:BatteryCodeCharacterisitc a samm-c:Code ; +:TractionBatteryCodeCharacteristic a samm-c:Code ; samm:preferredName "Batery Code Characteristic"@en ; samm:description "A code identifying a traction battery component like a pack, module or cell."@en ; samm:dataType xsd:string . @@ -82,7 +82,7 @@ samm:see ; samm:value "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" . -:BatteryComponent a samm:Entity ; +:TractionBatteryComponent a samm:Entity ; samm:preferredName "Battery Component"@en ; samm:description "A battery component like a cell or a module."@en ; samm:properties ( :tractionBatteryCode [ samm:property :subcomponents; samm:optional true ] :productType ) . From 0af36336a4c1216f3ce67d6d252a2a391b3b42ef Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Thu, 1 Jun 2023 12:25:21 +0200 Subject: [PATCH 4/6] added release notes --- io.catenax.traction_battery_code/RELEASE_NOTES.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 io.catenax.traction_battery_code/RELEASE_NOTES.md diff --git a/io.catenax.traction_battery_code/RELEASE_NOTES.md b/io.catenax.traction_battery_code/RELEASE_NOTES.md new file mode 100644 index 00000000..d736eb62 --- /dev/null +++ b/io.catenax.traction_battery_code/RELEASE_NOTES.md @@ -0,0 +1,15 @@ +# Changelog +All notable changes to this model will be documented in this file. + +## [Unreleased] + + +## [1.0.0] +### Added +- initial model + +### Changed +n/a + +### Removed +n/a \ No newline at end of file From 3a7109fd0a2ad2dcd86b5f7e070273110260c927 Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Thu, 1 Jun 2023 12:26:12 +0200 Subject: [PATCH 5/6] fixed typo --- io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl index 702ab179..7fd7c208 100644 --- a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl +++ b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl @@ -78,7 +78,7 @@ :TractionBatteryCodeRegularExpression a samm-c:RegularExpressionConstraint ; samm:preferredName "Traction Battery Code Regular Expression"@en ; - samm:description "The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can be have a length of either 24 or 18 characters."@en ; + samm:description "The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can have a length of either 24 or 18 characters."@en ; samm:see ; samm:value "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" . From 50fabcb742141d6fbd1ff6ee3736e9374f2dc11b Mon Sep 17 00:00:00 2001 From: Tomasz Jacewski Date: Tue, 13 Jun 2023 09:59:22 +0200 Subject: [PATCH 6/6] switched from SAMM 2.0.0 to BAMM 2.0.0 --- .../1.0.0/TractionBatteryCode.ttl | 100 +++++++++--------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl index 7fd7c208..83368e84 100644 --- a/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl +++ b/io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl @@ -23,67 +23,67 @@ # SPDX-License-Identifier: CC-BY-4.0 ####################################################################### -@prefix samm: . -@prefix samm-c: . -@prefix samm-e: . -@prefix unit: . +@prefix bamm: . +@prefix bamm-c: . +@prefix bamm-e: . +@prefix unit: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . -@prefix : . +@prefix : . -:TractionBatteryCode a samm:Aspect ; - samm:preferredName "Traction Battery Code"@en ; - samm:description "The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC)."@en ; - samm:see ; - samm:properties ( :tractionBatteryCode [ samm:property :subcomponents; samm:optional true ] :productType ) ; - samm:operations ( ) ; - samm:events ( ) . +:TractionBatteryCode a bamm:Aspect ; + bamm:preferredName "Traction Battery Code"@en ; + bamm:description "The traction battery code is an identification code for any automotive traction battery, ultracapacitor and other reachargeble energy storage device. It allows to carry information as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC)."@en ; + bamm:see ; + bamm:properties ( :tractionBatteryCode [ bamm:property :subcomponents; bamm:optional true ] :productType ) ; + bamm:operations ( ) ; + bamm:events ( ) . -:tractionBatteryCode a samm:Property ; - samm:preferredName "Traction Battery Code"@en ; - samm:description "Traction Battery Code identifying a single traction battery component like a pack, module or cell. "@en ; - samm:characteristic :TractionBatteryCodeTrait ; - samm:exampleValue "X12MCPM27KLPCLX2M2382320" . +:tractionBatteryCode a bamm:Property ; + bamm:preferredName "Traction Battery Code"@en ; + bamm:description "Traction Battery Code identifying a single traction battery component like a pack, module or cell. "@en ; + bamm:characteristic :TractionBatteryCodeTrait ; + bamm:exampleValue "X12MCPM27KLPCLX2M2382320" . -:subcomponents a samm:Property ; - samm:preferredName "Subcomponents"@en ; - samm:description "Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively)."@en ; - samm:characteristic :ComponentList . +:subcomponents a bamm:Property ; + bamm:preferredName "Subcomponents"@en ; + bamm:description "Subcomponents of the component, if applicable. The relationship between traction battery codes are as follows:\n\nIf this traction battery code is given for a cell subcomponents are not required. \nIf this traction battery code is given for a battery module a list of cells are required to be registered as subcomponents.\nIf this traction battery code is given for a battery pack a list of modules are required to be registered as subcomponents (containing each a list of cell subcomponents respectively)."@en ; + bamm:characteristic :ComponentList . -:productType a samm:Property ; - samm:preferredName "Product Type"@en ; - samm:description "The type of the battery component, e.g. a pack, a module or a cell."@en ; - samm:characteristic :ComponentTypeCharacterstic ; - samm:exampleValue "pack" . +:productType a bamm:Property ; + bamm:preferredName "Product Type"@en ; + bamm:description "The type of the battery component, e.g. a pack, a module or a cell."@en ; + bamm:characteristic :ComponentTypeCharacterstic ; + bamm:exampleValue "pack" . -:TractionBatteryCodeTrait a samm-c:Trait ; - samm-c:baseCharacteristic :TractionBatteryCodeCharacteristic; - samm-c:constraint :TractionBatteryCodeRegularExpression . +:TractionBatteryCodeTrait a bamm-c:Trait ; + bamm-c:baseCharacteristic :TractionBatteryCodeCharacteristic; + bamm-c:constraint :TractionBatteryCodeRegularExpression . -:ComponentList a samm-c:List ; - samm:preferredName "List of Components"@en ; - samm:description "A list of battery components like modules or cells."@en ; - samm:dataType :TractionBatteryComponent . +:ComponentList a bamm-c:List ; + bamm:preferredName "List of Components"@en ; + bamm:description "A list of battery components like modules or cells."@en ; + bamm:dataType :TractionBatteryComponent . -:ComponentTypeCharacterstic a samm-c:Enumeration ; - samm:preferredName "Component Type Characterstic"@en ; - samm:dataType xsd:string ; - samm-c:values ( "pack" "module" "cell" ) . +:ComponentTypeCharacterstic a bamm-c:Enumeration ; + bamm:preferredName "Component Type Characterstic"@en ; + bamm:dataType xsd:string ; + bamm-c:values ( "pack" "module" "cell" ) . -:TractionBatteryCodeCharacteristic a samm-c:Code ; - samm:preferredName "Batery Code Characteristic"@en ; - samm:description "A code identifying a traction battery component like a pack, module or cell."@en ; - samm:dataType xsd:string . +:TractionBatteryCodeCharacteristic a bamm-c:Code ; + bamm:preferredName "Batery Code Characteristic"@en ; + bamm:description "A code identifying a traction battery component like a pack, module or cell."@en ; + bamm:dataType xsd:string . -:TractionBatteryCodeRegularExpression a samm-c:RegularExpressionConstraint ; - samm:preferredName "Traction Battery Code Regular Expression"@en ; - samm:description "The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can have a length of either 24 or 18 characters."@en ; - samm:see ; - samm:value "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" . +:TractionBatteryCodeRegularExpression a bamm-c:RegularExpressionConstraint ; + bamm:preferredName "Traction Battery Code Regular Expression"@en ; + bamm:description "The traction battery code as required by the National Standard of the People's Republic of China according to GB/T 34014-2017 published by the Standardization Administration of China (SAC). It can have a length of either 24 or 18 characters."@en ; + bamm:see ; + bamm:value "(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[A-Z0-9]{7}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}$)|(^[A-Z0-9]{3}[PMC]{1}[A-GZ]{1}[A-Z0-9]{2}[1-9A-GH-NPR-Y]{1}[1-9A-C]{1}[0-9A-GH-NPR-Y]{1}[0-9]{7}[R]{1}[PMC]{1}$)" . -:TractionBatteryComponent a samm:Entity ; - samm:preferredName "Battery Component"@en ; - samm:description "A battery component like a cell or a module."@en ; - samm:properties ( :tractionBatteryCode [ samm:property :subcomponents; samm:optional true ] :productType ) . +:TractionBatteryComponent a bamm:Entity ; + bamm:preferredName "Battery Component"@en ; + bamm:description "A battery component like a cell or a module."@en ; + bamm:properties ( :tractionBatteryCode [ bamm:property :subcomponents; bamm:optional true ] :productType ) .