Changes for page 5 Data Structure Definition and Dataset
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -153,108 +153,111 @@ 153 153 154 154 **Figure 30: Representation of DSD Components** 155 155 156 -Each of [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]], TimeDimension,[[Measure>>doc:xwiki:Glossary.Measure.WebHome]], DataAttribute and MetadataAttribute can have a[[Representation>>doc:xwiki:Glossary.Representation.WebHome]]specified (using the localRepresentation association). If this is not specified in the DataStructureDefinition then the[[representation>>doc:xwiki:Glossary.Representation.WebHome]]specified for(% style="color:#2ecc71" %)Concept(%%)(coreRepresentation) is used.[[Measure>>doc:xwiki:Glossary.Measure.WebHome]], and DataAttribute may be also represented by multilingual text (as seen in the[[DataSet>>doc:xwiki:Glossary.Dataset.WebHome]]diagram further down). An exception is the MetadataAttribute, where its[[Representation>>doc:xwiki:Glossary.Representation.WebHome]]is specified in the MetadataStructureDefinition.156 +Each of Dimension, TimeDimension, Measure, DataAttribute and MetadataAttribute can have a Representation specified (using the localRepresentation association). If this is not specified in the DataStructureDefinition then the representation specified for Concept (coreRepresentation) is used. Measure, and DataAttribute may be also represented by multilingual text (as seen in the DataSet diagram further down). An exception is the MetadataAttribute, where its Representation is specified in the MetadataStructureDefinition. 157 157 158 158 A DataStructureDefinition can be extended to form a derived DataStructureDefinition. This is supported in the StructureMap. 159 159 160 160 ==== 5.3.2.2 Definitions ==== 161 161 162 +: 163 + 162 162 ((( 163 163 (% style="width:834.039px" %) 164 -| (% style="width:209px" %)**Class**|(% style="width:175px" %)**Feature**|(% style="width:454px" %)**Description**165 -| (% style="width:209px" %)StructureUsage|(% style="width:175px" %) |(% style="width:454px" %)See “[[SDMX>>doc:xwiki:Glossary.Statisticaldata and metadata exchange.WebHome]]Base”.166 -| (% style="width:209px" %)[[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]|(% style="width:175px" %)(((166 +|**Class**|(% style="width:194px" %)**Feature**|(% style="width:454px" %)**Description** 167 +|StructureUsage|(% style="width:194px" %) |(% style="width:454px" %)See “SDMX Base”. 168 +|Dataflow|(% style="width:194px" %)((( 167 167 Inherits from 168 168 //StructureUsage// 169 -)))|(% style="width:454px" %)Abstract (% style="color:#2ecc71" %)concept(%%)(i.e., the structure without any data) of a flow of data that providers will provide for different reference periods.170 -| (%style="width:209px" %)|(% style="width:175px" %)/structure|(% style="width:454px" %)Associates a[[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]to the Data Structure Definition.171 -| (% style="width:209px" %)DataStructureDefiniti on|(% style="width:175px" %) |(% style="width:454px" %)A collection of metadata(% style="color:#2ecc71" %)concepts(%%), their structure and usage when used to collect or disseminate data.172 -| (%style="width:209px" %)|(% style="width:175px" %)/grouping|(% style="width:454px" %)An association to a set of metadata(% style="color:#2ecc71" %)concepts(%%)that have an identified structural role in a Data Structure Definition.173 -| (% style="width:209px" %)GroupDimensionDescriptor|(% style="width:175px" %)(((171 +)))|(% style="width:454px" %)Abstract concept (i.e., the structure without any data) of a flow of data that providers will provide for different reference periods. 172 +| |(% style="width:194px" %)/structure|(% style="width:454px" %)Associates a Dataflow to the Data Structure Definition. 173 +|DataStructureDefiniti on|(% style="width:194px" %) |(% style="width:454px" %)A collection of metadata concepts, their structure and usage when used to collect or disseminate data. 174 +| |(% style="width:194px" %)/grouping|(% style="width:454px" %)An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition. 175 +|GroupDimensionDescrip tor|(% style="width:194px" %)((( 174 174 Inherits from 175 175 //ComponentList// 176 -)))|(% style="width:454px" %)A set of metadata (% style="color:#2ecc71" %)concepts(%%)that define a partial key derived from the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]Descriptor in a Data Structure Definition.177 -| (%style="width:209px" %)|(% style="width:175px" %)/components|(% style="width:454px" %)An association to the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]][[components>>doc:xwiki:Glossary.Component.WebHome]]that comprise the group.178 -| (% style="width:209px" %)DimensionDescriptor|(% style="width:175px" %)(((178 +)))|(% style="width:454px" %)A set of metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition. 179 +| |(% style="width:194px" %)/components|(% style="width:454px" %)An association to the Dimension components that comprise the group. 180 +|DimensionDescriptor|(% style="width:194px" %)((( 179 179 Inherits from 180 180 //ComponentList// 181 -)))|(% style="width:454px" %)An ordered set of metadata (% style="color:#2ecc71" %)concepts(%%)that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a[[data set>>doc:xwiki:Glossary.Data set.WebHome]], uniquely identify a specific observation.182 -| (%style="width:209px" %)|(% style="width:175px" %)/components|(% style="width:454px" %)(((183 -An association to the [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]and Time[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]comprising the Key Descriptor.183 +)))|(% style="width:454px" %)An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation. 184 +| |(% style="width:194px" %)/components|(% style="width:454px" %)((( 185 +An association to the Dimension and Time Dimension comprising the Key Descriptor. 184 184 ))) 185 -| (% style="width:209px" %)AttributeDescriptor|(% style="width:175px" %)(((187 +|AttributeDescriptor|(% style="width:194px" %)((( 186 186 Inherits from 187 187 //ComponentList// 188 -)))|(% style="width:454px" %)A set metadata (% style="color:#2ecc71" %)concepts(%%)that define the[[Attributes>>doc:xwiki:Glossary.Attribute.WebHome]]of a Data Structure Definition.189 -| (%style="width:209px" %)|(% style="width:175px" %)/[[components>>doc:xwiki:Glossary.Component.WebHome]]|(% style="width:454px" %)An association to a Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]][[component>>doc:xwiki:Glossary.Component.WebHome]].190 -| (% style="width:209px" %)MeasureDescriptor|(% style="width:175px" %)(((190 +)))|(% style="width:454px" %)A set metadata concepts that define the Attributes of a Data Structure Definition. 191 +| |(% style="width:194px" %)/components|(% style="width:454px" %)An association to a Data Attribute component. 192 +|MeasureDescriptor|(% style="width:194px" %)((( 191 191 Inherits from 192 192 //ComponentList// 193 -)))|(% style="width:454px" %)A metadata (% style="color:#2ecc71" %)concept(%%)that defines the[[Measures>>doc:xwiki:Glossary.Measure.WebHome]]of a Data Structure Definition.194 -| (%style="width:209px" %)|(% style="width:175px" %)/components|(% style="width:454px" %)An association to a[[Measure>>doc:xwiki:Glossary.Measure.WebHome]][[component>>doc:xwiki:Glossary.Component.WebHome]].195 -| (% style="width:209px" %)//DimensionComponent//|(% style="width:175px" %)(((195 +)))|(% style="width:454px" %)A metadata concept that defines the Measures of a Data Structure Definition. 196 +| |(% style="width:194px" %)/components|(% style="width:454px" %)An association to a Measure component. 197 +|//DimensionComponent//|(% style="width:194px" %)((( 196 196 Inherits from 197 -// [[Component>>doc:xwiki:Glossary.Component.WebHome]]//199 +//Component// 198 198 199 -Sub class [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]201 +Sub class Dimension 200 200 TimeDimension 201 -)))|(% style="width:454px" %)An abstract class representing any [[Component>>doc:xwiki:Glossary.Component.WebHome]]that can be used for identifying observations.202 -| (%style="width:209px" %)|(% style="width:175px" %)order|(% style="width:454px" %)Specifies the order of the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]][[Components>>doc:xwiki:Glossary.Component.WebHome]]within the[[DSD>>doc:xwiki:Glossary.Datastructure definition.WebHome]].The property is used to indicate the position of the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]][[Component>>doc:xwiki:Glossary.Component.WebHome]]and determines the Key for identifying observations, or series. The Time[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]], when specified, must be the last within the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]Descriptor.203 -| (% style="width:209px" %)[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]|(% style="width:175px" %)(((203 +)))|(% style="width:454px" %)An abstract class representing any Component that can be used for identifying observations. 204 +| |(% style="width:194px" %)order|(% style="width:454px" %)Specifies the order of the Dimension Components within the DSD. The property is used to indicate the position of the Dimension Component and determines the Key for identifying observations, or series. The Time Dimension, when specified, must be the last within the Dimension Descriptor. 205 +|Dimension|(% style="width:194px" %)((( 204 204 Inherits from 205 205 //DimensionComponent// 206 -)))|(% style="width:454px" %)A metadata (% style="color:#2ecc71" %)concept(%%)used (most probably together with other metadata(% style="color:#2ecc71" %)concepts(%%))to classify a statistical series, e.g., a statistical(% style="color:#2ecc71" %)concept(%%)indicating a certain[[economic activity>>doc:xwiki:Glossary.Economicactivity.WebHome]] or a geographical reference area.207 -| (%style="width:209px" %)|(% style="width:175px" %)/role|(% style="width:454px" %)Association to the(% style="color:#2ecc71" %)Concept(%%)that specifies the role that that the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]plays in the Data Structure Definition.208 -| (%style="width:209px" %)|(% style="width:175px" %)/conceptIdentity|(% style="width:454px" %)An association to the metadata(% style="color:#2ecc71" %)concept(%%)which defines the semantic of the[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]].209 -| (% style="width:209px" %)TimeDimension|(% style="width:175px" %)(((208 +)))|(% style="width:454px" %)A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g., a statistical concept indicating a certain economic activity or a geographical reference area. 209 +| |(% style="width:194px" %)/role|(% style="width:454px" %)Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition. 210 +| |(% style="width:194px" %)/conceptIdentity|(% style="width:454px" %)An association to the metadata concept which defines the semantic of the Dimension. 211 +|TimeDimension|(% style="width:194px" %)((( 210 210 Inherits from 211 211 //DimensionComponent// 212 -)))|(% style="width:454px" %)A metadata (% style="color:#2ecc71" %)concept(%%)that identifies the[[component>>doc:xwiki:Glossary.Component.WebHome]]in the key structure that has the role of “time”.213 -| (% style="width:209px" %)DataAttribute|(% style="width:175px" %)(((214 +)))|(% style="width:454px" %)A metadata concept that identifies the component in the key structure that has the role of “time”. 215 +|DataAttribute|(% style="width:194px" %)((( 214 214 Inherits from 215 -//[[Component>>doc:xwiki:Glossary.Component.WebHome]]// 217 + 218 +//Component// 216 216 )))|(% style="width:454px" %)A characteristic of an object or entity. 217 -| (%style="width:209px" %)|(% style="width:175px" %)/role|(% style="width:454px" %)Association to the(% style="color:#2ecc71" %)Concept(%%)that specifies the role that that the Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]plays in the Data Structure Definition.218 -| (%style="width:209px" %)|(% style="width:175px" %)minOccurs|(% style="width:454px" %)Defines the minimum required occurrences for the[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]].When equals to zero, the[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is conditional.219 -| (%style="width:209px" %)|(% style="width:175px" %)maxOccurs|(% style="width:454px" %)Defines the maximum allowed occurrences for the[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]].220 -| (%style="width:209px" %)|(% style="width:175px" %)usage|(% style="width:454px" %)Defines whether a Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]must be reported or not.221 -| (%style="width:209px" %)|(% style="width:175px" %)+relatedTo|(% style="width:454px" %)Association to an[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]Relationship.222 -| (%style="width:209px" %)|(% style="width:175px" %)/conceptIdentity|(% style="width:454px" %)An association to the(% style="color:#2ecc71" %)Concept(%%)which defines the semantic of the[[component>>doc:xwiki:Glossary.Component.WebHome]].223 -| (% style="width:209px" %)[[Measure>>doc:xwiki:Glossary.Measure.WebHome]]|(% style="width:175px" %)(((220 +| |(% style="width:194px" %)/role|(% style="width:454px" %)Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition. 221 +| |(% style="width:194px" %)minOccurs|(% style="width:454px" %)Defines the minimum required occurrences for the Attribute. When equals to zero, the Attribute is conditional. 222 +| |(% style="width:194px" %)maxOccurs|(% style="width:454px" %)Defines the maximum allowed occurrences for the Attribute. 223 +| |(% style="width:194px" %)usage|(% style="width:454px" %)Defines whether a Data Attribute must be reported or not. 224 +| |(% style="width:194px" %)+relatedTo|(% style="width:454px" %)Association to an Attribute Relationship. 225 +| |(% style="width:194px" %)/conceptIdentity|(% style="width:454px" %)An association to the Concept which defines the semantic of the component. 226 +|Measure|(% style="width:194px" %)((( 224 224 Inherits from 225 -// [[Component>>doc:xwiki:Glossary.Component.WebHome]]//226 -)))|(% style="width:454px" %)The metadata (% style="color:#2ecc71" %)concept(%%)that is the phenomenon to be measured in a[[data set>>doc:xwiki:Glossary.Dataset.WebHome]].In a[[data set>>doc:xwiki:Glossary.Dataset.WebHome]] the instance of the[[measure>>doc:xwiki:Glossary.Measure.WebHome]]is often called the observation.227 -| (%style="width:209px" %)|(% style="width:175px" %)/conceptIdentity|(% style="width:454px" %)An association to the(% style="color:#2ecc71" %)Concept(%%)which carries the values of the[[measures>>doc:xwiki:Glossary.Measure.WebHome]].228 -| (%style="width:209px" %)|(% style="width:175px" %)minOccurs|(% style="width:454px" %)Defines the minimum required occurrences for the[[Measure>>doc:xwiki:Glossary.Measure.WebHome]].When equals to zero, the[[Measure>>doc:xwiki:Glossary.Measure.WebHome]]is conditional.229 -| (%style="width:209px" %)|(% style="width:175px" %)maxOccurs|(% style="width:454px" %)Defines the maximum allowed occurrences for the[[Measure>>doc:xwiki:Glossary.Measure.WebHome]].230 -| (%style="width:209px" %)|(% style="width:175px" %)usage|(% style="width:454px" %)Defines whether a[[Measure>>doc:xwiki:Glossary.Measure.WebHome]]must be reported or not.231 -| (% style="width:209px" %)//AttributeRelationship//|(% style="width:175px" %)(((228 +//Component// 229 +)))|(% style="width:454px" %)The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation. 230 +| |(% style="width:194px" %)/conceptIdentity|(% style="width:454px" %)An association to the Concept which carries the values of the measures. 231 +| |(% style="width:194px" %)minOccurs|(% style="width:454px" %)Defines the minimum required occurrences for the Measure. When equals to zero, the Measure is conditional. 232 +| |(% style="width:194px" %)maxOccurs|(% style="width:454px" %)Defines the maximum allowed occurrences for the Measure. 233 +| |(% style="width:194px" %)usage|(% style="width:454px" %)Defines whether a Measure must be reported or not. 234 +|//AttributeRelationship//|(% style="width:194px" %)((( 232 232 Abstract Class 233 233 Sub classes 234 234 ObservationRelationship 235 -GroupRelationship DimensionRelationship 236 -)))|(% style="width:454px" %)Specifies the type of [[artefact>>doc:xwiki:Glossary.Artefact.WebHome]]to which a Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]can be attached in a[[Data Set>>doc:xwiki:Glossary.Data set.WebHome]].237 -| (% style="width:209px" %)ObservationRelationship|(% style="width:175px" %) |(% style="width:454px" %)The Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is related to the observations of the[[Data Set>>doc:xwiki:Glossary.Data set.WebHome]].238 -| (% style="width:209px" %)GroupRelationship|(% style="width:175px" %) |(% style="width:454px" %)The Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is related to a Group[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]Descriptor construct.239 -| (%style="width:209px" %)|(% style="width:175px" %)+groupKey|(% style="width:454px" %)An association to the Group[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]Descriptor240 -| (% style="width:209px" %)DimensionRelationship|(% style="width:175px" %) |(% style="width:454px" %)The Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is related to a set of[[Dimensions>>doc:xwiki:Glossary.Dimension.WebHome]].241 -| (%style="width:209px" %)|(% style="width:175px" %)+dimensions|(% style="width:454px" %)Association to the set of[[Dimensions>>doc:xwiki:Glossary.Dimension.WebHome]]to which the Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is related.242 -| (%style="width:209px" %)|(% style="width:175px" %)+groupKey|(% style="width:454px" %)Association to the Group[[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]Descriptor which specifies the set of[[Dimensions>>doc:xwiki:Glossary.Dimension.WebHome]]to which the Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is attached.243 -| (% style="width:209px" %)MeasureRelationship|(% style="width:175px" %) |(% style="width:454px" %)The[[Measures>>doc:xwiki:Glossary.Measure.WebHome]]that a Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is reported for.244 -| (%style="width:209px" %)|(% style="width:175px" %)+measures|(% style="width:454px" %)Association to the set of[[Measures>>doc:xwiki:Glossary.Measure.WebHome]]to which a Data[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]is related to.245 -| (% style="width:209px" %)SentinelValuesType|(% style="width:175px" %) |(% style="width:454px" %)This[[facet>>doc:xwiki:Glossary.Facet.WebHome]]indicates that an[[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]or a[[Measure>>doc:xwiki:Glossary.Measure.WebHome]]has sentinel values with special meaning within their data type. This is realised by providing such values within the TextFormat, in addition to any textType or other[[Facet>>doc:xwiki:Glossary.Facet.WebHome]].246 -| (% style="width:209px" %)SentinelValue|(% style="width:175px" %) |(% style="width:454px" %)A value that has a special meaning within the text format[[representation>>doc:xwiki:Glossary.Representation.WebHome]]of the[[Component>>doc:xwiki:Glossary.Component.WebHome]].247 -| (%style="width:209px" %)|(% style="width:175px" %)+name|(% style="width:454px" %)An association of a Sentinel Value to a multilingual name.248 -| (%style="width:209px" %)|(% style="width:175px" %)+description|(% style="width:454px" %)An association of a Sentinel Value to a multilingual description.238 +GroupRelationship DimensionRelationshi p 239 +)))|(% style="width:454px" %)Specifies the type of artefact to which a Data Attribute can be attached in a Data Set. 240 +|ObservationRelationsh ip|(% style="width:194px" %) |(% style="width:454px" %)The Data Attribute is related to the observations of the Data Set. 241 +|GroupRelationship|(% style="width:194px" %) |(% style="width:454px" %)The Data Attribute is related to a Group Dimension Descriptor construct. 242 +| |(% style="width:194px" %)+groupKey|(% style="width:454px" %)An association to the Group Dimension Descriptor 243 +|DimensionRelationship|(% style="width:194px" %) |(% style="width:454px" %)The Data Attribute is related to a set of Dimensions. 244 +| |(% style="width:194px" %)+dimensions|(% style="width:454px" %)Association to the set of Dimensions to which the Data Attribute is related. 245 +| |(% style="width:194px" %)+groupKey|(% style="width:454px" %)Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached. 246 +|MeasureRelationship|(% style="width:194px" %) |(% style="width:454px" %)The Measures that a Data Attribute is reported for. 247 +| |(% style="width:194px" %)+measures|(% style="width:454px" %)Association to the set of Measures to which a Data Attribute is related to. 248 +|SentinelValuesType|(% style="width:194px" %) |(% style="width:454px" %)This facet indicates that an Attribute or a Measure has sentinel values with special meaning within their data type. This is realised by providing such values within the TextFormat, in addition to any textType or other Facet. 249 +|SentinelValue|(% style="width:194px" %) |(% style="width:454px" %)A value that has a special meaning within the text format representation of the Component. 250 +| |(% style="width:194px" %)+name|(% style="width:454px" %)An association of a Sentinel Value to a multilingual name. 251 +| |(% style="width:194px" %)+description|(% style="width:454px" %)An association of a Sentinel Value to a multilingual description. 249 249 ))) 250 250 251 -The explanation of the classes, [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]], and associations comprising the[[Representation>>doc:xwiki:Glossary.Representation.WebHome]]is described in the section on the[[SDMX>>doc:xwiki:Glossary.Statisticaldata and metadata exchange.WebHome]]Base.254 +The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base. 252 252 253 253 == 5.4 Data Set – Relationship View == 254 254 255 255 === 5.4.1 Context === 256 256 257 -A [[data set>>doc:xwiki:Glossary.Dataset.WebHome]]comprises the collection of data values and associated metadata that are collected or disseminated according to a known DataStructureDefinition.260 +A data set comprises the collection of data values and associated metadata that are collected or disseminated according to a known DataStructureDefinition. 258 258 259 259 === 5.4.2 Class Diagram === 260 260