MeasureComponent#

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

Definition#

Role given to a represented variable in the context of a data structure to hold the observed/derived values.

Examples#

Height of a person in a wide or long dataset or number of citizens in a country in a dataset for multiple countries (dimensional dataset).

Diagram#

Diagram

Inheritance#

Inheritance
  ᐊ── Components::MeasureComponent

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

name

- own class -

Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.

ObjectName

0..*

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 MeasureComponent

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

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..*

- own package -

AttributeComponent

0..*

none

Components::DataStructureComponent

to

ComponentPosition indexes DataStructureComponent

0..1

- own package -

ComponentPosition

0..*

none

Components::DataStructureComponent

to

ForeignKeyComponent correspondsTo DataStructureComponent

1..1

- own package -

ForeignKeyComponent

0..1

none

Components::DataStructureComponent

to

PrimaryKeyComponent correspondsTo DataStructureComponent

1..1

- own package -

PrimaryKeyComponent

0..1

none

Components::DataStructureComponent

to

QualifiedMeasure refines MeasureComponent

0..1

Dimensional

QualifiedMeasure

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 MeasureComponent (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-Components-MeasureComponent"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent"/>
11      <body>Definition 
12============ 
13Role given to a represented variable in the context of a data structure to hold the observed/derived values.  
14
15Examples 
16========== 
17Height of a person in a wide or long dataset or number of citizens in a country in a dataset for multiple countries (dimensional dataset).</body>
18   </ownedComment>
19   <name>MeasureComponent</name>
20   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-generalization"
21                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent-generalization"
22                    xmi:type="uml:Generalization">
23      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-DataStructureComponent"/>
24   </generalization>
25   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-name"
26                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent-name"
27                    xmi:type="uml:Property">
28      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-name-ownedComment"
29                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent-name-ownedComment"
30                     xmi:type="uml:Comment">
31         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-name"/>
32         <body>Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</body>
33      </ownedComment>
34      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-name-lowerValue"
35                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent-name-lowerValue"
36                   xmi:type="uml:LiteralInteger"/>
37      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-MeasureComponent-name-upperValue"
38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MeasureComponent-name-upperValue"
39                   xmi:type="uml:LiteralUnlimitedNatural">
40         <value>*</value>
41      </upperValue>
42      <name>name</name>
43      <isOrdered>true</isOrdered>
44      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
45   </ownedAttribute>
46</packagedElement>

Fragment for the class MeasureComponent (entire XML Schema)

 1<xs:element name="MeasureComponent"
 2            type="MeasureComponentXsdType"
 3            xml:id="MeasureComponent">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::MeasureComponent -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Role given to a represented variable in the context of a data structure to hold the observed/derived values.  
 9          
10          Examples 
11          ========== 
12          Height of a person in a wide or long dataset or number of citizens in a country in a dataset for multiple countries (dimensional dataset).</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="MeasureComponentXsdType"
16                xml:id="MeasureComponentXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition 
19          ============ 
20          Role given to a represented variable in the context of a data structure to hold the observed/derived values.  
21          
22          Examples 
23          ========== 
24          Height of a person in a wide or long dataset or number of citizens in a country in a dataset for multiple countries (dimensional dataset).</xs:documentation>
25  </xs:annotation>
26  <xs:complexContent>
27    <xs:extension base="DataStructureComponentXsdType">
28      <xs:sequence>
29        <xs:element name="name"
30                    type="ObjectNameXsdType"
31                    minOccurs="0"
32                    maxOccurs="unbounded"
33                    xml:id="MeasureComponent-name">
34          <xs:annotation>
35            <xs:documentation>Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</xs:documentation>
36          </xs:annotation>
37        </xs:element>
38      </xs:sequence>
39    </xs:extension>
40  </xs:complexContent>
41</xs:complexType>

Fragment for the class MeasureComponent (entire JSON Schema)

  1"cls-MeasureComponent": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/MeasureComponent",
  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": "MeasureComponent"
 14    },
 15    "name": {
 16      "$comment": "cardinality 0..-1 – from cdi:MeasureComponent",
 17      "if": { "type": "array" },
 18      "then": { "items": { "$ref": "#/defs/dt-ObjectName" } },
 19      "else": { "$ref": "#/defs/dt-ObjectName" }
 20    },
 21    "identifier": {
 22      "$comment": "cardinality 0..1 – from cdi:DataStructureComponent",
 23      "$ref": "#/defs/dt-Identifier"
 24    },
 25    "semantic": {
 26      "$comment": "cardinality 0..-1 – from cdi:DataStructureComponent",
 27      "if": { "type": "array" },
 28      "then": { "items": { "$ref": "#/defs/dt-PairedControlledVocabularyEntry" } },
 29      "else": { "$ref": "#/defs/dt-PairedControlledVocabularyEntry" }
 30    },
 31    "specialization": {
 32      "$comment": "cardinality 0..1 – from cdi:DataStructureComponent",
 33      "$ref": "#/defs/dt-SpecializationRole"
 34    },
 35    "isDefinedBy_RepresentedVariable": {
 36      "description": "DataStructureComponent_isDefinedBy_RepresentedVariable",
 37      "$comment": "cardinality 0..1",
 38       "$ref": "#/defs/target-RepresentedVariable"
 39    },
 40    "refines_OF_QualifiedMeasure": {
 41      "description": "QualifiedMeasure_refines_MeasureComponent",
 42      "$comment": "cardinality 0..-1",
 43      "anyOf": [
 44        {
 45          "$ref": "#/defs/target-QualifiedMeasure"
 46        },
 47        {
 48          "type": "array",
 49          "items": {
 50            "$ref": "#/defs/target-QualifiedMeasure"
 51          }
 52        }
 53      ]
 54    },
 55    "correspondsTo_DataStructureComponent_OF_DataPoint": {
 56      "description": "DataPoint_correspondsTo_DataStructureComponent",
 57      "$comment": "cardinality 0..-1",
 58      "anyOf": [
 59        {
 60          "$ref": "#/defs/target-DataPoint"
 61        },
 62        {
 63          "type": "array",
 64          "items": {
 65            "$ref": "#/defs/target-DataPoint"
 66          }
 67        }
 68      ]
 69    },
 70    "has_DataStructureComponent_OF_DataStructure": {
 71      "description": "DataStructure_has_DataStructureComponent",
 72      "$comment": "cardinality 0..1",
 73      "$ref": "#/defs/target-DataStructure"
 74    },
 75    "isBasedOn_OF_KeyMember": {
 76      "description": "KeyMember_isBasedOn_DataStructureComponent",
 77      "$comment": "cardinality 0..-1",
 78      "anyOf": [
 79        {
 80          "$ref": "#/defs/target-KeyMember"
 81        },
 82        {
 83          "type": "array",
 84          "items": {
 85            "$ref": "#/defs/target-KeyMember"
 86          }
 87        }
 88      ]
 89    },
 90    "qualifies_OF_AttributeComponent": {
 91      "description": "AttributeComponent_qualifies_DataStructureComponent",
 92      "$comment": "cardinality 0..-1",
 93      "anyOf": [
 94        {
 95          "$ref": "#/defs/target-AttributeComponent"
 96        },
 97        {
 98          "type": "array",
 99          "items": {
100            "$ref": "#/defs/target-AttributeComponent"
101          }
102        }
103      ]
104    },
105    "indexes_OF_ComponentPosition": {
106      "description": "ComponentPosition_indexes_DataStructureComponent",
107      "$comment": "cardinality 0..-1",
108      "anyOf": [
109        {
110          "$ref": "#/defs/target-ComponentPosition"
111        },
112        {
113          "type": "array",
114          "items": {
115            "$ref": "#/defs/target-ComponentPosition"
116          }
117        }
118      ]
119    },
120    "correspondsTo_DataStructureComponent_OF_ForeignKeyComponent": {
121      "description": "ForeignKeyComponent_correspondsTo_DataStructureComponent",
122      "$comment": "cardinality 0..1",
123      "$ref": "#/defs/target-ForeignKeyComponent"
124    },
125    "correspondsTo_DataStructureComponent_OF_PrimaryKeyComponent": {
126      "description": "PrimaryKeyComponent_correspondsTo_DataStructureComponent",
127      "$comment": "cardinality 0..1",
128      "$ref": "#/defs/target-PrimaryKeyComponent"
129    },
130    "sameAs": {
131      "$ref": "#/defs/owl:sameAs"
132    }
133  },
134  "required": ["@type"],
135  "additionalProperties": false
136},
137"target-MeasureComponent": {
138  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/MeasureComponent",
139  "anyOf": [
140    { "$ref": "#/defs/cls-MeasureComponent" },
141    { "$ref": "#/defs/cls-QualifiedMeasure" },
142    { "type": "string", "format": "iri-reference" }
143  ]
144},

Fragment for the class MeasureComponent (main ontology)

 1# class MeasureComponent
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::MeasureComponent
 3cdi:MeasureComponent
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "MeasureComponent";
 6  rdfs:comment "Definition \n============ \nRole given to a represented variable in the context of a data structure to hold the observed/derived values.  \n\nExamples \n========== \nHeight of a person in a wide or long dataset or number of citizens in a country in a dataset for multiple countries (dimensional dataset)."@en;
 7  rdfs:subClassOf cdi:DataStructureComponent;
 8.
 9
10cdi:MeasureComponent-name
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "name";
13  rdfs:comment "Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage."@en;
14  rdfs:domain cdi:MeasureComponent;
15  rdfs:range cdi:ObjectName;
16.

Fragment for the class MeasureComponent (entire JSON-LD)

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

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

 1# class MeasureComponent
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::MeasureComponent
 3<#MeasureComponent> a sh:NodeShape;
 4    sh:targetClass cdi:MeasureComponent;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/MeasureComponent";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:MeasureComponent
11			  cdi:QualifiedMeasure
12			 ) ;
13    ];
14    # attributes
15    sh:property <#MeasureComponent-name>;
16    # associations from MeasureComponent
17    # associations to MeasureComponent
18    sh:property <#rev_QualifiedMeasure_refines_MeasureComponent>;
19
20    # ---- superclass: DataStructureComponent
21    # attributes
22    sh:property <#DataStructureComponent-identifier>;
23    sh:property <#DataStructureComponent-semantic>;
24    sh:property <#DataStructureComponent-specialization>;
25    # associations from DataStructureComponent
26    sh:property <#DataStructureComponent_isDefinedBy_RepresentedVariable>;
27    # associations to DataStructureComponent
28    sh:property <#rev_DataPoint_correspondsTo_DataStructureComponent>;
29    sh:property <#rev_DataStructure_has_DataStructureComponent>;
30    sh:property <#rev_KeyMember_isBasedOn_DataStructureComponent>;
31    sh:property <#rev_AttributeComponent_qualifies_DataStructureComponent>;
32    sh:property <#rev_ComponentPosition_indexes_DataStructureComponent>;
33    sh:property <#rev_ForeignKeyComponent_correspondsTo_DataStructureComponent>;
34    sh:property <#rev_PrimaryKeyComponent_correspondsTo_DataStructureComponent>;
35
36
37
38
39
40.
41
42<#MeasureComponent-name> a sh:PropertyShape ;
43    sh:path cdi:MeasureComponent-name;
44    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
45        cdi:ObjectName
46        cdi:OrganizationName
47      
48    ) ]];
49.

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

 1# class MeasureComponent
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::MeasureComponent
 3cdi:MeasureComponentShape CLOSED {
 4	a [cdi:MeasureComponent];
 5	$cdi:MeasureComponentProperties (
 6	cdi:MeasureComponent-name	@cdi:ObjectNameShape*;
 7	^cdi:QualifiedMeasure_refines_MeasureComponent @cdi:QualifiedMeasureShape *;
 8		&cdi:DataStructureComponentProperties;
 9		);
10}