DimensionalDataStructure

Fully qualified class name: 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

Inheritance
    ᐊ── Dimensional::DimensionalDataStructure
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

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 -

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.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
 2                 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
 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 (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";
15  skos:altLabel "DimensionalDataStructure_uses_DimensionGroup";
16  
17  rdfs:domain cdi:DimensionalDataStructure;
18  rdfs:range cdi:DimensionGroup;
19.

Fragment for the class DimensionalDataStructure (main 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      "DimensionalDataStructure": "cdi:DimensionalDataStructure",
 8      
 9      "uses": {
10        "@id": "cdi:DimensionalDataStructure_uses_DimensionGroup",
11        "@type": "@id"      },
12      " comment ": "tag:json-should-support-trailing-commas" 
13    }
14  ],
15  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:07.",
16  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::DimensionalDataStructure"
17}