DimensionalDataStructure#

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

Definition#

Structure of a dimensional data set (organized collection of multidimensional data). It is described by dimension, measure and attribute components.

Examples#

The structure described by [City, Average Income, Total Population] where City is a dimension and Average Income and Total Population are measures.

Diagram#

Diagram

Inheritance#

Inheritance
    ᐊ── Dimensional::DimensionalDataStructure

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

Components::DataStructureComponent

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

Identifier

0..1

semantic

Components::DataStructureComponent

Qualifies the purpose or use expressed as a paired external controlled vocabulary.

PairedControlledVocabularyEntry

0..*

specialization

Components::DataStructureComponent

The role played by the component for the data set for purposes of harmonization and integration, typically regarding geography, time, etc.

SpecializationRole

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of DimensionalDataStructure

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

to

DataSet isStructuredBy DataStructure

0..*

DataDescription

DataSet

0..*

none

DataDescription::DataStructure

from

DataStructure has ComponentPosition

1..1

Components

ComponentPosition

0..*

composite

DataDescription::DataStructure

from

DataStructure has DataStructureComponent

0..1

Components

DataStructureComponent

0..*

composite

DataDescription::DataStructure

from

DataStructure has ForeignKey

1..1

Components

ForeignKey

0..*

composite

DataDescription::DataStructure

from

DataStructure has PrimaryKey

1..1

Components

PrimaryKey

0..1

composite

DataDescription::DataStructure

to

PhysicalDataSetStructure correspondsTo DataStructure

0..1

FormatDescription

PhysicalDataSetStructure

0..*

none

DataDescription::DataStructure

from

DataStructureComponent isDefinedBy RepresentedVariable

Data structure component is defined by zero to one represented variable.

0..*

Conceptual

RepresentedVariable

0..1

none

Components::DataStructureComponent

to

DataPoint correspondsTo DataStructureComponent

0..*

DataDescription

DataPoint

0..*

none

Components::DataStructureComponent

to

DataStructure has DataStructureComponent

0..*

DataDescription

DataStructure

0..1

none

Components::DataStructureComponent

to

KeyMember isBasedOn DataStructureComponent

0..*

DataDescription

KeyMember

0..*

none

Components::DataStructureComponent

to

AttributeComponent qualifies DataStructureComponent

0..*

Components

AttributeComponent

0..*

none

Components::DataStructureComponent

to

ComponentPosition indexes DataStructureComponent

0..1

Components

ComponentPosition

0..*

none

Components::DataStructureComponent

to

ForeignKeyComponent correspondsTo DataStructureComponent

1..1

Components

ForeignKeyComponent

0..1

none

Components::DataStructureComponent

to

PrimaryKeyComponent correspondsTo DataStructureComponent

1..1

Components

PrimaryKeyComponent

0..1

none

Components::DataStructureComponent

from

DimensionalDataStructure uses DimensionGroup

0..*

- own package -

DimensionGroup

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 DimensionalDataStructure (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-DimensionalDataStructure"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalDataStructure"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalDataStructure-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure"/>
11      <body>Definition
12============
13Structure of a dimensional data set (organized collection of multidimensional data). It is described by dimension, measure and attribute components.
14
15Examples
16==========
17The structure described by [City, Average Income, Total Population] where City is a dimension and Average Income and Total Population are measures.</body>
18   </ownedComment>
19   <name>DimensionalDataStructure</name>
20   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure-generalization"
21                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalDataStructure-generalization"
22                    xmi:type="uml:Generalization">
23      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataStructure"/>
24   </generalization>
25   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure-ownedAttribute"
26                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalDataStructure-ownedAttribute"
27                    xmi:type="uml:Property">
28      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure-ownedAttribute-lowerValue"
29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalDataStructure-ownedAttribute-lowerValue"
30                   xmi:type="uml:LiteralInteger"/>
31      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure-ownedAttribute-upperValue"
32                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DimensionalDataStructure-ownedAttribute-upperValue"
33                   xmi:type="uml:LiteralUnlimitedNatural">
34         <value>*</value>
35      </upperValue>
36      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionalDataStructure_uses_DimensionGroup"/>
37      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-DimensionGroup"/>
38   </ownedAttribute>
39</packagedElement>

Fragment for the class DimensionalDataStructure (entire XML Schema)

 1<xs:element name="DimensionalDataStructure"
 2            type="DimensionalDataStructureXsdType"
 3            xml:id="DimensionalDataStructure">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalDataStructure -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Structure of a dimensional data set (organized collection of multidimensional data). It is described by dimension, measure and attribute components.
 9          
10          Examples
11          ==========
12          The structure described by [City, Average Income, Total Population] where City is a dimension and Average Income and Total Population are measures.</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="DimensionalDataStructureXsdType"
16                xml:id="DimensionalDataStructureXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition
19          ============
20          Structure of a dimensional data set (organized collection of multidimensional data). It is described by dimension, measure and attribute components.
21          
22          Examples
23          ==========
24          The structure described by [City, Average Income, Total Population] where City is a dimension and Average Income and Total Population are measures.</xs:documentation>
25  </xs:annotation>
26  <xs:complexContent>
27    <xs:extension base="DataStructureXsdType">
28      <xs:sequence>
29        <xs:element name="DimensionalDataStructure_uses_DimensionGroup"
30                    minOccurs="0"
31                    maxOccurs="unbounded"
32                    xml:id="DimensionalDataStructure_uses_DimensionGroup">
33          <xs:annotation>
34            <xs:documentation></xs:documentation>
35          </xs:annotation>
36          <xs:complexType>
37            <xs:complexContent>
38              <xs:restriction base="AssociationReferenceXsdType">
39                <xs:sequence>
40                  <xs:element name="ddiReference"
41                              type="InternationalRegistrationDataIdentifierXsdType"
42                              minOccurs="0"
43                              maxOccurs="1"
44                              xml:id="DimensionalDataStructure_uses_DimensionGroup-ddiReference"/>
45                  <xs:element name="validType"
46                              minOccurs="0"
47                              maxOccurs="unbounded"
48                              xml:id="DimensionalDataStructure_uses_DimensionGroup-validType">
49                    <xs:simpleType>
50                      <xs:restriction base="xs:NMTOKEN">
51                        <xs:enumeration value="DimensionGroup"/>
52                      </xs:restriction>
53                    </xs:simpleType>
54                  </xs:element>
55                </xs:sequence>
56              </xs:restriction>
57            </xs:complexContent>
58          </xs:complexType>
59        </xs:element>
60      </xs:sequence>
61    </xs:extension>
62  </xs:complexContent>
63</xs:complexType>

Fragment for the class DimensionalDataStructure (entire JSON Schema)

  1"cls-DimensionalDataStructure": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalDataStructure",
  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": "DimensionalDataStructure"
 14    },
 15    "identifier": {
 16      "$comment": "cardinality 0..1 – from cdi:DataStructureComponent",
 17      "$ref": "#/defs/dt-Identifier"
 18    },
 19    "semantic": {
 20      "$comment": "cardinality 0..-1 – from cdi:DataStructureComponent",
 21      "if": { "type": "array" },
 22      "then": { "items": { "$ref": "#/defs/dt-PairedControlledVocabularyEntry" } },
 23      "else": { "$ref": "#/defs/dt-PairedControlledVocabularyEntry" }
 24    },
 25    "specialization": {
 26      "$comment": "cardinality 0..1 – from cdi:DataStructureComponent",
 27      "$ref": "#/defs/dt-SpecializationRole"
 28    },
 29    "uses_DimensionGroup": {
 30      "description": "DimensionalDataStructure_uses_DimensionGroup",
 31      "$comment": "cardinality 0..-1",
 32      "anyOf": [
 33        {
 34          "$ref": "#/defs/target-DimensionGroup"
 35        },
 36        {
 37          "type": "array",
 38          "items": {
 39            "$ref": "#/defs/target-DimensionGroup"
 40          }
 41        }
 42      ]
 43    },
 44    "has_ComponentPosition": {
 45      "description": "DataStructure_has_ComponentPosition",
 46      "$comment": "cardinality 0..-1",
 47      "anyOf": [
 48        {
 49          "$ref": "#/defs/target-ComponentPosition"
 50        },
 51        {
 52          "type": "array",
 53          "items": {
 54            "$ref": "#/defs/target-ComponentPosition"
 55          }
 56        }
 57      ]
 58    },
 59    "has_DataStructureComponent": {
 60      "description": "DataStructure_has_DataStructureComponent",
 61      "$comment": "cardinality 0..-1",
 62      "anyOf": [
 63        {
 64          "$ref": "#/defs/target-DataStructureComponent"
 65        },
 66        {
 67          "type": "array",
 68          "items": {
 69            "$ref": "#/defs/target-DataStructureComponent"
 70          }
 71        }
 72      ]
 73    },
 74    "has_ForeignKey": {
 75      "description": "DataStructure_has_ForeignKey",
 76      "$comment": "cardinality 0..-1",
 77      "anyOf": [
 78        {
 79          "$ref": "#/defs/target-ForeignKey"
 80        },
 81        {
 82          "type": "array",
 83          "items": {
 84            "$ref": "#/defs/target-ForeignKey"
 85          }
 86        }
 87      ]
 88    },
 89    "has_PrimaryKey": {
 90      "description": "DataStructure_has_PrimaryKey",
 91      "$comment": "cardinality 0..1",
 92       "$ref": "#/defs/target-PrimaryKey"
 93    },
 94    "isDefinedBy_RepresentedVariable": {
 95      "description": "DataStructureComponent_isDefinedBy_RepresentedVariable",
 96      "$comment": "cardinality 0..1",
 97       "$ref": "#/defs/target-RepresentedVariable"
 98    },
 99    "isStructuredBy_OF_DataSet": {
100      "description": "DataSet_isStructuredBy_DataStructure",
101      "$comment": "cardinality 0..-1",
102      "anyOf": [
103        {
104          "$ref": "#/defs/target-DataSet"
105        },
106        {
107          "type": "array",
108          "items": {
109            "$ref": "#/defs/target-DataSet"
110          }
111        }
112      ]
113    },
114    "correspondsTo_DataStructure_OF_PhysicalDataSetStructure": {
115      "description": "PhysicalDataSetStructure_correspondsTo_DataStructure",
116      "$comment": "cardinality 0..-1",
117      "anyOf": [
118        {
119          "$ref": "#/defs/target-PhysicalDataSetStructure"
120        },
121        {
122          "type": "array",
123          "items": {
124            "$ref": "#/defs/target-PhysicalDataSetStructure"
125          }
126        }
127      ]
128    },
129    "correspondsTo_DataStructureComponent_OF_DataPoint": {
130      "description": "DataPoint_correspondsTo_DataStructureComponent",
131      "$comment": "cardinality 0..-1",
132      "anyOf": [
133        {
134          "$ref": "#/defs/target-DataPoint"
135        },
136        {
137          "type": "array",
138          "items": {
139            "$ref": "#/defs/target-DataPoint"
140          }
141        }
142      ]
143    },
144    "has_DataStructureComponent_OF_DataStructure": {
145      "description": "DataStructure_has_DataStructureComponent",
146      "$comment": "cardinality 0..1",
147      "$ref": "#/defs/target-DataStructure"
148    },
149    "isBasedOn_OF_KeyMember": {
150      "description": "KeyMember_isBasedOn_DataStructureComponent",
151      "$comment": "cardinality 0..-1",
152      "anyOf": [
153        {
154          "$ref": "#/defs/target-KeyMember"
155        },
156        {
157          "type": "array",
158          "items": {
159            "$ref": "#/defs/target-KeyMember"
160          }
161        }
162      ]
163    },
164    "qualifies_OF_AttributeComponent": {
165      "description": "AttributeComponent_qualifies_DataStructureComponent",
166      "$comment": "cardinality 0..-1",
167      "anyOf": [
168        {
169          "$ref": "#/defs/target-AttributeComponent"
170        },
171        {
172          "type": "array",
173          "items": {
174            "$ref": "#/defs/target-AttributeComponent"
175          }
176        }
177      ]
178    },
179    "indexes_OF_ComponentPosition": {
180      "description": "ComponentPosition_indexes_DataStructureComponent",
181      "$comment": "cardinality 0..-1",
182      "anyOf": [
183        {
184          "$ref": "#/defs/target-ComponentPosition"
185        },
186        {
187          "type": "array",
188          "items": {
189            "$ref": "#/defs/target-ComponentPosition"
190          }
191        }
192      ]
193    },
194    "correspondsTo_DataStructureComponent_OF_ForeignKeyComponent": {
195      "description": "ForeignKeyComponent_correspondsTo_DataStructureComponent",
196      "$comment": "cardinality 0..1",
197      "$ref": "#/defs/target-ForeignKeyComponent"
198    },
199    "correspondsTo_DataStructureComponent_OF_PrimaryKeyComponent": {
200      "description": "PrimaryKeyComponent_correspondsTo_DataStructureComponent",
201      "$comment": "cardinality 0..1",
202      "$ref": "#/defs/target-PrimaryKeyComponent"
203    },
204    "sameAs": {
205      "$ref": "#/defs/owl:sameAs"
206    }
207  },
208  "required": ["@type"],
209  "additionalProperties": false
210},
211"target-DimensionalDataStructure": {
212  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalDataStructure",
213  "anyOf": [
214    { "$ref": "#/defs/cls-DimensionalDataStructure" },
215    { "type": "string", "format": "iri-reference" }
216  ]
217},

Fragment for the class DimensionalDataStructure (main ontology)

 1# class DimensionalDataStructure
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalDataStructure
 3cdi:DimensionalDataStructure
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "DimensionalDataStructure";
 6  rdfs:comment "Definition\n============\nStructure of a dimensional data set (organized collection of multidimensional data). It is described by dimension, measure and attribute components.\n\nExamples\n==========\nThe structure described by [City, Average Income, Total Population] where City is a dimension and Average Income and Total Population are measures."@en;
 7  rdfs:subClassOf cdi:DataStructure;
 8.
 9
10
11cdi:DimensionalDataStructure_uses_DimensionGroup
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "uses_DimensionGroup";
15  skos:altLabel "DimensionalDataStructure_uses_DimensionGroup";
16  
17  rdfs:domain cdi:DimensionalDataStructure;
18  rdfs:range cdi:DimensionGroup;
19.

Fragment for the class DimensionalDataStructure (entire JSON-LD)

 1{
 2  "@context": [
 3    "DataStructure.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      
 9      "uses_DimensionGroup": {
10        "@id": "cdi:DimensionalDataStructure_uses_DimensionGroup",
11        "@type": "@id",
12        "@context": "DimensionGroup.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::DimensionalDataStructure"
19}

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

 1# class DimensionalDataStructure
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalDataStructure
 3<#DimensionalDataStructure> a sh:NodeShape;
 4    sh:targetClass cdi:DimensionalDataStructure;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DimensionalDataStructure";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:DimensionalDataStructure
11			 ) ;
12    ];
13    # attributes
14    # associations from DimensionalDataStructure
15    sh:property <#DimensionalDataStructure_uses_DimensionGroup>;
16    # associations to DimensionalDataStructure
17
18    # ---- superclass: DataStructure
19    # attributes
20    # associations from DataStructure
21    sh:property <#DataStructure_has_ComponentPosition>;
22    sh:property <#DataStructure_has_DataStructureComponent>;
23    sh:property <#DataStructure_has_ForeignKey>;
24    sh:property <#DataStructure_has_PrimaryKey>;
25    # associations to DataStructure
26    sh:property <#rev_DataSet_isStructuredBy_DataStructure>;
27    sh:property <#rev_PhysicalDataSetStructure_correspondsTo_DataStructure>;
28
29    # ---- superclass: DataStructureComponent
30    # attributes
31    sh:property <#DataStructureComponent-identifier>;
32    sh:property <#DataStructureComponent-semantic>;
33    sh:property <#DataStructureComponent-specialization>;
34    # associations from DataStructureComponent
35    sh:property <#DataStructureComponent_isDefinedBy_RepresentedVariable>;
36    # associations to DataStructureComponent
37    sh:property <#rev_DataPoint_correspondsTo_DataStructureComponent>;
38    sh:property <#rev_DataStructure_has_DataStructureComponent>;
39    sh:property <#rev_KeyMember_isBasedOn_DataStructureComponent>;
40    sh:property <#rev_AttributeComponent_qualifies_DataStructureComponent>;
41    sh:property <#rev_ComponentPosition_indexes_DataStructureComponent>;
42    sh:property <#rev_ForeignKeyComponent_correspondsTo_DataStructureComponent>;
43    sh:property <#rev_PrimaryKeyComponent_correspondsTo_DataStructureComponent>;
44
45
46
47
48
49
50
51.
52
53
54<#DimensionalDataStructure_uses_DimensionGroup> a sh:PropertyShape ;
55    sh:path cdi:DimensionalDataStructure_uses_DimensionGroup;
56	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
57        cdi:DimensionGroup
58      
59    ) ]];
60.
61<#rev_DimensionalDataStructure_uses_DimensionGroup> a sh:PropertyShape ;
62    sh:path [ sh:inversePath cdi:DimensionalDataStructure_uses_DimensionGroup ];
63.

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

1# class DimensionalDataStructure
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalDataStructure
3cdi:DimensionalDataStructureShape CLOSED {
4	a [cdi:DimensionalDataStructure];
5	cdi:DimensionalDataStructure_uses_DimensionGroup	@cdi:DimensionGroupShape *;
6	
7		&cdi:DataStructureProperties;
8	}