Skip to content

Commit

Permalink
switched from SAMM 2.0.0 to BAMM 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jacewski-bosch committed Jun 13, 2023
1 parent 3a7109f commit 50fabcb
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions io.catenax.traction_battery_code/1.0.0/TractionBatteryCode.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -23,67 +23,67 @@
# SPDX-License-Identifier: CC-BY-4.0
#######################################################################

@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.0.0#> .
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.0.0#> .
@prefix samm-e: <urn:samm:org.eclipse.esmf.samm:entity:2.0.0#> .
@prefix unit: <urn:samm:org.eclipse.esmf.samm:unit:2.0.0#> .
@prefix bamm: <urn:bamm:io.openmanufacturing:meta-model:1.0.0#> .
@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:1.0.0#> .
@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:1.0.0#> .
@prefix unit: <urn:bamm:io.openmanufacturing:unit:1.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:samm:io.catenax.traction_battery_code:1.0.0#> .
@prefix : <urn:bamm:io.catenax.traction_battery_code:1.0.0#> .

: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 <https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A> ;
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 <https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A> ;
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 <https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A> ;
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 <https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D818B4D3A7E05397BE0A0AB82A> ;
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 ) .

0 comments on commit 50fabcb

Please sign in to comment.