DimensionalKey#

Fully qualified class name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKey

Definition#

Collection of data instances that uniquely identify a collection of data points in a dimensional dataset.

Examples#

Collection of “male”, “Ontario” and “married” strings in a dimensional dataset where data points are identified by Sex, Province and Marital Status dimensions.

Diagram#

Diagram

Inheritance#

Inheritance
  ᐊ── Dimensional::DimensionalKey

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

DataDescription::Key

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of DimensionalKey

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

Key correspondsTo Unit

0..*

Conceptual

Unit

0..1

none

DataDescription::Key

from

Key correspondsTo Universe

0..*

Conceptual

Universe

0..1

none

DataDescription::Key

to

DataSet has Key

0..*

DataDescription

DataSet

1..1

none

DataDescription::Key

from

Key has KeyMember

0..1

DataDescription

KeyMember

0..*

shared

DataDescription::Key

from

Key identifies DataPoint

0..1

DataDescription

DataPoint

1..*

none

DataDescription::Key

from

Key represents KeyDefinition

1..*

DataDescription

KeyDefinition

0..1

none

DataDescription::Key

Encodings#

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the class DimensionalKey (entire model as XMI)

 1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
 2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
 3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
 4                  xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKey"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalKey"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKey-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalKey-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKey"/>
11      <body>Definition
12============
13Collection of data instances that uniquely identify a collection of data points in a dimensional dataset.
14
15Examples
16==========
17Collection of "male", "Ontario" and "married" strings in a dimensional dataset where data points are identified by Sex, Province and Marital Status dimensions.</body>
18   </ownedComment>
19   <name>DimensionalKey</name>
20   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKey-generalization"
21                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalKey-generalization"
22                    xmi:type="uml:Generalization">
23      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Key"/>
24   </generalization>
25</packagedElement>

Fragment for the class DimensionalKey (entire XML Schema)

 1<xs:element name="DimensionalKey"
 2            type="DimensionalKeyXsdType"
 3            xml:id="DimensionalKey">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKey -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Collection of data instances that uniquely identify a collection of data points in a dimensional dataset.
 9          
10          Examples
11          ==========
12          Collection of "male", "Ontario" and "married" strings in a dimensional dataset where data points are identified by Sex, Province and Marital Status dimensions.</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="DimensionalKeyXsdType"
16                xml:id="DimensionalKeyXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition
19          ============
20          Collection of data instances that uniquely identify a collection of data points in a dimensional dataset.
21          
22          Examples
23          ==========
24          Collection of "male", "Ontario" and "married" strings in a dimensional dataset where data points are identified by Sex, Province and Marital Status dimensions.</xs:documentation>
25  </xs:annotation>
26  <xs:complexContent>
27    <xs:extension base="KeyXsdType">
28      
29    </xs:extension>
30  </xs:complexContent>
31</xs:complexType>

Fragment for the class DimensionalKey (entire JSON Schema)

 1"cls-DimensionalKey": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalKey",
 3  "type": "object",
 4  "properties": {
 5    "@context": {
 6      "$ref": "#/defs/at-context"
 7    },
 8    "@id": {
 9      "type": "string",
10      "format": "iri-reference"
11    },
12    "@type": {
13      "const": "DimensionalKey"
14    },
15    "identifier": {
16      "$comment": "cardinality 0..1 – from cdi:Key",
17      "$ref": "#/defs/dt-Identifier"
18    },
19    "correspondsTo_Unit": {
20      "description": "Key_correspondsTo_Unit",
21      "$comment": "cardinality 0..1",
22       "$ref": "#/defs/target-Unit"
23    },
24    "correspondsTo_Universe": {
25      "description": "Key_correspondsTo_Universe",
26      "$comment": "cardinality 0..1",
27       "$ref": "#/defs/target-Universe"
28    },
29    "has_KeyMember": {
30      "description": "Key_has_KeyMember",
31      "$comment": "cardinality 0..-1",
32      "anyOf": [
33        {
34          "$ref": "#/defs/target-KeyMember"
35        },
36        {
37          "type": "array",
38          "items": {
39            "$ref": "#/defs/target-KeyMember"
40          }
41        }
42      ]
43    },
44    "identifies": {
45      "description": "Key_identifies_DataPoint",
46      "$comment": "cardinality 1..-1",
47      "anyOf": [
48        {
49          "$ref": "#/defs/target-DataPoint"
50        },
51        {
52          "type": "array",
53          "items": {
54            "$ref": "#/defs/target-DataPoint"
55          }
56        }
57      ]
58    },
59    "represents": {
60      "description": "Key_represents_KeyDefinition",
61      "$comment": "cardinality 0..1",
62       "$ref": "#/defs/target-KeyDefinition"
63    },
64    "has_Key_OF_DataSet": {
65      "description": "DataSet_has_Key",
66      "$comment": "cardinality 1..1",
67      "$ref": "#/defs/target-DataSet"
68    },
69    "sameAs": {
70      "$ref": "#/defs/owl:sameAs"
71    }
72  },
73  "required": ["identifies","@type"],
74  "additionalProperties": false
75},
76"target-DimensionalKey": {
77  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalKey",
78  "anyOf": [
79    { "$ref": "#/defs/cls-DimensionalKey" },
80    { "type": "string", "format": "iri-reference" }
81  ]
82},

Fragment for the class DimensionalKey (main ontology)

1# class DimensionalKey
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKey
3cdi:DimensionalKey
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "DimensionalKey";
6  rdfs:comment "Definition\n============\nCollection of data instances that uniquely identify a collection of data points in a dimensional dataset.\n\nExamples\n==========\nCollection of \"male\", \"Ontario\" and \"married\" strings in a dimensional dataset where data points are identified by Sex, Province and Marital Status dimensions."@en;
7  rdfs:subClassOf cdi:Key;
8.

Fragment for the class DimensionalKey (entire JSON-LD)

 1{
 2  "@context": [
 3    "Key.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      
 9      " comment ": "tag:json-should-support-trailing-commas"
10    }
11  ],
12  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:50.",
13  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKey"
14}

Fragment for the class DimensionalKey (entire SHACL - Shapes Constraint Language)

 1# class DimensionalKey
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKey
 3<#DimensionalKey> a sh:NodeShape;
 4    sh:targetClass cdi:DimensionalKey;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalKey";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:DimensionalKey
11			 ) ;
12    ];
13    # attributes
14    # associations from DimensionalKey
15    # associations to DimensionalKey
16
17    # ---- superclass: Key
18    # attributes
19    sh:property <#Key-identifier>;
20    # associations from Key
21    sh:property <#Key_correspondsTo_Unit>;
22    sh:property <#Key_correspondsTo_Universe>;
23    sh:property <#Key_has_KeyMember>;
24    sh:property <#Key_identifies_DataPoint>;
25    sh:property <#Key_represents_KeyDefinition>;
26    # associations to Key
27    sh:property <#rev_DataSet_has_Key>;
28
29
30
31
32
33.

Fragment for the class DimensionalKey (entire ShEx - Shape Expressions)

1# class DimensionalKey
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKey
3cdi:DimensionalKeyShape CLOSED {
4	a [cdi:DimensionalKey];
5		&cdi:KeyProperties;
6	}