Changes for page 12 Validation and Transformation Language (VTL)
Last modified by Helena K. on 2026/06/10 10:09
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -110,6 +110,8 @@ 110 110 * As said, the container-object-id does not apply to the classes that can be referenced in [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Transformations, therefore is not present in their URN 111 111 * The object-id does not exist for the [[artefacts>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] belonging to the [[Dataflow>>doc:sdmx:Glossary 2\.1.Dataflow.WebHome]], and [[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]] classes, while it exists and cannot be omitted for the [[artefacts>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] belonging to the classes [[Dimension>>doc:sdmx:Glossary 2\.1.Dimension.WebHome]], TimeDimension, [[Measure>>doc:sdmx:Glossary 2\.1.Measure.WebHome]], DataAttribute and [[Concept>>doc:sdmx:Glossary 2\.1.Concept.WebHome]], as for them the object-id is the main identifier of the [[artefact>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] 112 112 113 + 114 + 113 113 The simplified object identifier is obtained by omitting all the first part of the URN, including the special characters, till the first part not omitted. 114 114 115 115 For example, the full formulation that uses the complete URN shown at the end of the previous paragraph: ... ... @@ -142,9 +142,9 @@ 142 142 143 143 > 'DFR(1.0.0)' := 'DF1(1.0.0)' [rename SECTOR to SEC] 144 144 145 -In the references to the [[Concepts>>doc:sdmx:Glossary2\.1.Concept.WebHome]], which can exist for example in the definition of the [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Rulesets, at least the conceptScheme-id and the[[concept>>doc:sdmx:Glossary2\.1.Concept.WebHome]]-id must be specified.147 +In the references to the (% style="color:#e74c3c" %)Concepts(%%), which can exist for example in the definition of the [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Rulesets, at least the conceptScheme-id and the (% style="color:#e74c3c" %)concept(%%)-id must be specified. 146 146 147 -An example of non-abbreviated reference, if the conceptScheme-id is CS1 and the [[concept>>doc:sdmx:Glossary2\.1.Concept.WebHome]]-id is [[SECTOR>>doc:sdmx:Glossary 2\.1.Sector.WebHome]], is the following:149 +An example of non-abbreviated reference, if the conceptScheme-id is CS1 and the (% style="color:#e74c3c" %)concept(%%)-id is [[SECTOR>>doc:sdmx:Glossary 2\.1.Sector.WebHome]], is the following: 148 148 149 149 > 'urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=AG:CS1(1.0.0).SECTOR' 150 150 ... ... @@ -156,7 +156,7 @@ 156 156 157 157 > 'DFR(1.0.0)' := between ( 'DF1(1.0.0)', 0, 25000 ) 158 158 159 -The [[artefact>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] ([[Component>>doc:sdmx:Glossary 2\.1.Component.WebHome]], [[Concept>>doc:sdmx:Glossary2\.1.Concept.WebHome]], [[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]] …) which the Values are referred to can be deduced from the context in which the reference is made, taking also into account the [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] syntax. In the Transformation above, for example, the values 0 and 2500 are compared to the values of the [[measures>>doc:sdmx:Glossary 2\.1.Measure.WebHome]] of DF1(1.0.0).161 +The [[artefact>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] ([[Component>>doc:sdmx:Glossary 2\.1.Component.WebHome]], (% style="color:#e74c3c" %)Concept(%%), [[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]] …) which the Values are referred to can be deduced from the context in which the reference is made, taking also into account the [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] syntax. In the Transformation above, for example, the values 0 and 2500 are compared to the values of the [[measures>>doc:sdmx:Glossary 2\.1.Measure.WebHome]] of DF1(1.0.0). 160 160 161 161 === 12.2.4 User-defined alias === 162 162 ... ... @@ -170,13 +170,13 @@ 170 170 171 171 The [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Rulesets have a signature, in which the Value Domains or the [[Variables>>doc:sdmx:Glossary 2\.1.Statistical variable.WebHome]] on which the Ruleset is defined are declared, and a body, which contains the Rules. 172 172 173 -In the signature, given the mapping between [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] and [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] better described in the following paragraphs, a reference to a [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Value Domain becomes a reference to a [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]], while a reference to a [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Represented [[Variable>>doc:sdmx:Glossary 2\.1.Statistical variable.WebHome]] becomes a reference to a [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[Concept>>doc:sdmx:Glossary2\.1.Concept.WebHome]], assuming for it a definite [[representation>>doc:sdmx:Glossary 2\.1.Representation.WebHome]]{{footnote}}Rulesets of this kind cannot be reused when the referenced Concept has a different representation.{{/footnote}}.175 +In the signature, given the (% style="color:#e74c3c" %)mapping(%%) between [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] and [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] better described in the following paragraphs, a reference to a [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Value Domain becomes a reference to a [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]], while a reference to a [[VTL>>doc:sdmx:Glossary 2\.1.Validation and transformation language.WebHome]] Represented [[Variable>>doc:sdmx:Glossary 2\.1.Statistical variable.WebHome]] becomes a reference to a [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] (% style="color:#e74c3c" %)Concept(%%), assuming for it a definite [[representation>>doc:sdmx:Glossary 2\.1.Representation.WebHome]]{{footnote}}Rulesets of this kind cannot be reused when the referenced Concept has a different representation.{{/footnote}}. 174 174 175 -In general, for referencing [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[Codelists>>doc:sdmx:Glossary 2\.1.Code list.WebHome]] and [[Concepts>>doc:sdmx:Glossary2\.1.Concept.WebHome]], the conventions described in the previous paragraphs apply. In the Ruleset syntax, the elements that reference [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[artefacts>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] are called "valueDomain" and "[[variable>>doc:sdmx:Glossary 2\.1.Statistical variable.WebHome]]" for the Datapoint Rulesets and "ruleValueDomain", "ruleVariable", "condValueDomain" "condVariable" for the Hierarchical Rulesets).177 +In general, for referencing [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[Codelists>>doc:sdmx:Glossary 2\.1.Code list.WebHome]] and (% style="color:#e74c3c" %)Concepts(%%), the conventions described in the previous paragraphs apply. In the Ruleset syntax, the elements that reference [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]] [[artefacts>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]] are called "valueDomain" and "[[variable>>doc:sdmx:Glossary 2\.1.Statistical variable.WebHome]]" for the Datapoint Rulesets and "ruleValueDomain", "ruleVariable", "condValueDomain" "condVariable" for the Hierarchical Rulesets). 176 176 177 -The syntax of the Ruleset signature allows also to define aliases of the elements above, these aliases are valid only within the specific Ruleset definition statement and cannot be mapped to [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]].{{footnote}}See also the section "VTL-DL Rulesets" in the VTL Reference Manual.{{/footnote}} 179 +The syntax of the Ruleset signature allows also to define aliases of the elements above, these aliases are valid only within the specific Ruleset definition statement and cannot be (% style="color:#e74c3c" %)mapped(%%) to [[SDMX>>doc:sdmx:Glossary 2\.1.Statistical data and metadata exchange.WebHome]].{{footnote}}See also the section "VTL-DL Rulesets" in the VTL Reference Manual.{{/footnote}} 178 178 179 -In the body of the Rulesets, the [[Codes>>doc:sdmx:Glossary 2\.1.Code.WebHome]] and in general all the Values can be written without any other specification, because the [[artefact>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]], which the Values are referred ([[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]], [[Concept>>doc:sdmx:Glossary2\.1.Concept.WebHome]]) to can be deduced from the Ruleset signature.181 +In the body of the Rulesets, the [[Codes>>doc:sdmx:Glossary 2\.1.Code.WebHome]] and in general all the Values can be written without any other specification, because the [[artefact>>doc:sdmx:Glossary 2\.1.Artefact.WebHome]], which the Values are referred ([[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]], (% style="color:#e74c3c" %)Concept(%%)) to can be deduced from the Ruleset signature. 180 180 181 181 == 12.3 Mapping between SDMX and VTL artefacts == 182 182