DimensionalKeyDefinition#

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

Definition#

Collection of concepts that uniquely defines a collection of data points in a dimensional dataset.

Examples#

Collection of [Male], [Ontario] and [Married] categories in a dimensional dataset where data points are defined by Sex, Province and Marital Status dimensions.

Diagram#

Diagram

Inheritance#

Inheritance
  ᐊ── Dimensional::DimensionalKeyDefinition

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

DataDescription::KeyDefinition

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

Identifier

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of DimensionalKeyDefinition

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

KeyDefinition correspondsTo Unit

0..*

Conceptual

Unit

0..1

none

DataDescription::KeyDefinition

from

KeyDefinition correspondsTo Universe

0..*

Conceptual

Universe

0..1

none

DataDescription::KeyDefinition

to

Key represents KeyDefinition

0..1

DataDescription

Key

1..*

none

DataDescription::KeyDefinition

from

KeyDefinition has KeyDefinitionMember

0..1

DataDescription

KeyDefinitionMember

0..*

shared

DataDescription::KeyDefinition

to

ScopedMeasure circumscribes DimensionalKeyDefinition

A universe is specific to the specific cell associated with a scoped measure.

0..1

- own package -

ScopedMeasure

0..*

none

own class

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 DimensionalKeyDefinition (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-DimensionalKeyDefinition"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalKeyDefinition"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKeyDefinition-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalKeyDefinition-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKeyDefinition"/>
11      <body>Definition
12============
13Collection of concepts that uniquely defines a collection of data points in a dimensional dataset.
14
15Examples
16==========
17Collection of [Male], [Ontario] and [Married] categories in a dimensional dataset where data points are defined by Sex, Province and Marital Status dimensions.</body>
18   </ownedComment>
19   <name>DimensionalKeyDefinition</name>
20   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalKeyDefinition-generalization"
21                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalKeyDefinition-generalization"
22                    xmi:type="uml:Generalization">
23      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition"/>
24   </generalization>
25</packagedElement>

Fragment for the class DimensionalKeyDefinition (entire XML Schema)

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

Fragment for the class DimensionalKeyDefinition (entire JSON Schema)

 1"cls-DimensionalKeyDefinition": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalKeyDefinition",
 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": "DimensionalKeyDefinition"
14    },
15    "identifier": {
16      "$comment": "cardinality 0..1 – from cdi:KeyDefinition",
17      "$ref": "#/defs/dt-Identifier"
18    },
19    "correspondsTo_Unit": {
20      "description": "KeyDefinition_correspondsTo_Unit",
21      "$comment": "cardinality 0..1",
22       "$ref": "#/defs/target-Unit"
23    },
24    "correspondsTo_Universe": {
25      "description": "KeyDefinition_correspondsTo_Universe",
26      "$comment": "cardinality 0..1",
27       "$ref": "#/defs/target-Universe"
28    },
29    "has_KeyDefinitionMember": {
30      "description": "KeyDefinition_has_KeyDefinitionMember",
31      "$comment": "cardinality 0..-1",
32      "anyOf": [
33        {
34          "$ref": "#/defs/target-KeyDefinitionMember"
35        },
36        {
37          "type": "array",
38          "items": {
39            "$ref": "#/defs/target-KeyDefinitionMember"
40          }
41        }
42      ]
43    },
44    "circumscribes_OF_ScopedMeasure": {
45      "description": "ScopedMeasure_circumscribes_DimensionalKeyDefinition",
46      "$comment": "cardinality 0..-1",
47      "anyOf": [
48        {
49          "$ref": "#/defs/target-ScopedMeasure"
50        },
51        {
52          "type": "array",
53          "items": {
54            "$ref": "#/defs/target-ScopedMeasure"
55          }
56        }
57      ]
58    },
59    "represents_OF_Key": {
60      "description": "Key_represents_KeyDefinition",
61      "$comment": "cardinality 1..-1",
62      "anyOf": [
63        {
64          "$ref": "#/defs/target-Key"
65        },
66        {
67          "type": "array",
68          "items": {
69            "$ref": "#/defs/target-Key"
70          }
71        }
72      ]
73    },
74    "sameAs": {
75      "$ref": "#/defs/owl:sameAs"
76    }
77  },
78  "required": ["@type"],
79  "additionalProperties": false
80},
81"target-DimensionalKeyDefinition": {
82  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalKeyDefinition",
83  "anyOf": [
84    { "$ref": "#/defs/cls-DimensionalKeyDefinition" },
85    { "type": "string", "format": "iri-reference" }
86  ]
87},

Fragment for the class DimensionalKeyDefinition (main ontology)

1# class DimensionalKeyDefinition
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKeyDefinition
3cdi:DimensionalKeyDefinition
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "DimensionalKeyDefinition";
6  rdfs:comment "Definition\n============\nCollection of concepts that uniquely defines a collection of data points in a dimensional dataset.\n\nExamples\n==========\nCollection of [Male], [Ontario] and [Married] categories in a dimensional dataset where data points are defined by Sex, Province and Marital Status dimensions."@en;
7  rdfs:subClassOf cdi:KeyDefinition;
8.

Fragment for the class DimensionalKeyDefinition (entire JSON-LD)

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

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

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

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

1# class DimensionalKeyDefinition
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalKeyDefinition
3cdi:DimensionalKeyDefinitionShape CLOSED {
4	a [cdi:DimensionalKeyDefinition];
5	^cdi:ScopedMeasure_circumscribes_DimensionalKeyDefinition @cdi:ScopedMeasureShape *;
6		&cdi:KeyDefinitionProperties;
7	}