Changes for page 11 ItemSchemeMap
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. helena1 +xwiki:XWiki.elenasemanticproorg - Tags
-
... ... @@ -1,0 +1,1 @@ 1 +Category|Item scheme - Content
-
... ... @@ -1,7 +1,11 @@ 1 -=== 11.1 Scope === 1 +{{box title="**Contents**"}} 2 +{{toc/}} 3 +{{/box}} 2 2 3 - An//ItemSchemeMap// is an abstract container to describe mapping rules between any item scheme, with the exception of Codelists and ValueLists which are mapped using the RepresentationMap.A single source //ItemScheme// is mapped toa single target //ItemScheme//. The //ItemSchemeMap// thencontains the rules for how the values from the source //ItemScheme// map to the values in the target //ItemScheme//. Each source value may match a substring of the original data (using startIndex and/or endIndex) or define a pattern matching rule described by a regular expression. The target value is provided as an absolute string, although it can make use of regular expression groups to carry across values from the source string to the target string without having to explicitly state the value to carry. An example is a regular expression which states ‘match a value starting with AB followed by anything, where the //anything// is marked a capture group’, the target can state ‘take the //anything// value and postfix it with AB’ thus enabling the mapping of ABX to XAB and ABY to YAB.5 +== 11.1 Scope == 4 4 7 +An //ItemSchemeMap// is an abstract container to describe mapping rules between any [[item scheme>>doc:sdmx:Glossary.Item scheme.WebHome]], with the exception of Codelists and ValueLists which are mapped using the RepresentationMap. A single source //ItemScheme// is mapped to a single target //ItemScheme//. The //ItemSchemeMap// then contains the rules for how the values from the source //ItemScheme// map to the values in the target //ItemScheme//. Each source value may match a substring of the original data (using startIndex and/or endIndex) or define a pattern matching rule described by a regular expression. The target value is provided as an absolute string, although it can make use of regular expression groups to carry across values from the source string to the target string without having to explicitly state the value to carry. An example is a regular expression which states ‘match a value starting with AB followed by anything, where the //anything// is marked a capture group’, the target can state ‘take the //anything// value and postfix it with AB’ thus enabling the mapping of ABX to XAB and ABY to YAB. 8 + 5 5 The absence of an output for an input is interpreted as ‘no output value for the given source value(s)’. 6 6 7 7 [[image:1749246645221-918.jpeg]] ... ... @@ -8,9 +8,9 @@ 8 8 9 9 **Figure 40: Item Scheme Map** 10 10 11 -=== =11.1.1 Explanation of the Diagram ====15 +=== 11.1.1 Explanation of the Diagram === 12 12 13 -==== =11.1.1.1 Narrative =====17 +==== 11.1.1.1 Narrative ==== 14 14 15 15 An ItemSchemeMap is an abstract type which inherits from Maintainable. It is subclassed by the 4 concrete classes: 16 16 ... ... @@ -19,55 +19,52 @@ 19 19 * CategorySchemeMap 20 20 * ReportingTaxonomyMap 21 21 22 -An OrganisationSchemeMap maps a source AgencyScheme, DataProviderScheme, 26 +An OrganisationSchemeMap maps a source AgencyScheme, DataProviderScheme, DataConsumerScheme or OrganisationUnitScheme to a target AgencyScheme, DataProviderScheme, DataConsumerScheme or OrganisationUnitScheme. It is permissible to mix source and target types to define an equivalence between Organisations of different roles. The mapped items refer to the Organisations in the source/target schemes. 23 23 24 - DataConsumerScheme or OrganisationUnitSchemetoatargetAgencyScheme, DataProviderScheme,DataConsumerScheme or OrganisationUnitScheme.Itis permissible tomix sourceandtargettypes todefine an equivalencebetween Organisations of different roles. The mapped items refer to the Organisations in the source/target schemes.28 +A ConceptSchemeMap maps a source ConceptScheme to a target ConceptScheme. 25 25 26 - A ConceptSchemeMapmaps a sourceConceptScheme toatarget ConceptScheme.Themappeditems refer to the Concepts in the source/target schemes.30 +The [[mapped>>doc:sdmx:Glossary.Map.WebHome]] items refer to the [[Concepts>>doc:sdmx:Glossary.Concept.WebHome]] in the source/target schemes. 27 27 28 -A CategorySchemeMap maps a source CategoryScheme to a target CategoryScheme. The mapped Items refer to the Categories in the source/target schemes.32 +A CategorySchemeMap [[maps>>doc:sdmx:Glossary.Map.WebHome]] a source CategoryScheme to a target CategoryScheme. 29 29 34 +The mapped Items refer to the [[Categories>>doc:sdmx:Glossary.Category.WebHome]] in the source/target schemes. 35 + 30 30 A ReportingTaxonomyMap maps a source ReportingTaxonomy to a target ReportingTaxonomy. The mapped Items refer to the ReportingCategory in the source/target schemes. 31 31 32 -==== =11.1.1.2 Definitions =====38 +==== 11.1.1.2 Definitions ==== 33 33 34 -|**Class**|**Feature**|**Description** 40 +(% style="width:949.835px" %) 41 +|**Class**|**Feature**|(% style="width:542px" %)**Description** 35 35 |//ItemSchemeMap//|((( 36 36 Inherits from 37 - 38 -//MaintainableArtef act// 39 -)))|Links source and target //ItemSchemes// 40 -| |+source|Association to a source //ItemScheme// 41 -| |+target|Association to a target //ItemScheme// 44 +//MaintainableArtefact// 45 +)))|(% style="width:542px" %)Links source and target //ItemSchemes// 46 +| |+source|(% style="width:542px" %)Association to a source //ItemScheme// 47 +| |+target|(% style="width:542px" %)Association to a target //ItemScheme// 42 42 |ItemMap|((( 43 43 Inherits from 44 - 45 45 //AnnotableArtefact// 46 -)))|Describes how the source value maps to the target value 47 -| |validFrom|Optional period describing when the mapping is applicable 48 -| |validTo|Optional period describing which the mapping is no longer applicable. 49 -| |sourceValue|Input value for source 50 -| |targetValue|Output value for each mapped target 51 -| |isRegEx|If true, the sourceValue field should be treated as a regular expression when comparing with the source data 52 -| |startIndex|If provided, a substring of the source data should be taken, starting from this index (starting at zero) before comparing with the //value// field for matching 53 -| |endIndex|If provided, a substring of the source data should be taken, ending at this index (starting at zero) before comparing with the //value// field for matching 51 +)))|(% style="width:542px" %)Describes how the source value maps to the target value 52 +| |validFrom|(% style="width:542px" %)Optional period describing when the mapping is applicable 53 +| |validTo|(% style="width:542px" %)Optional period describing which the mapping is no longer applicable. 54 +| |sourceValue|(% style="width:542px" %)Input value for source 55 +| |targetValue|(% style="width:542px" %)Output value for each mapped target 56 +| |isRegEx|(% style="width:542px" %)If true, the sourceValue field should be treated as a regular expression when comparing with the source data 57 +| |startIndex|(% style="width:542px" %)If provided, a substring of the source data should be taken, starting from this index (starting at zero) before comparing with the //value// field for matching 58 +| |endIndex|(% style="width:542px" %)If provided, a substring of the source data should be taken, ending at this index (starting at zero) before comparing with the //value// field for matching 54 54 |OrganisationSchemeMap|((( 55 55 Inherits from 56 - 57 57 //ItemSchemeMap// 58 -)))|Concrete //Maintainable// subtype of //ItemSchemeMap// 62 +)))|(% style="width:542px" %)Concrete //Maintainable// subtype of //ItemSchemeMap// 59 59 |ConceptSchemeMap|((( 60 60 Inherits from 61 - 62 62 //ItemSchemeMap// 63 -)))|Concrete //Maintainable// subtype of //ItemSchemeMap// 66 +)))|(% style="width:542px" %)Concrete //Maintainable// subtype of //ItemSchemeMap// 64 64 |CategorySchemeMap|((( 65 65 Inherits from 66 - 67 67 //ItemSchemeMap// 68 -)))|Concrete //Maintainable// subtype of //ItemSchemeMap// 70 +)))|(% style="width:542px" %)Concrete //Maintainable// subtype of //ItemSchemeMap// 69 69 |ReportingTaxonomyMap|((( 70 70 Inherits from 71 - 72 72 //ItemSchemeMap// 73 -)))|Concrete //Maintainable// subtype of //ItemSchemeMap// 74 +)))|(% style="width:542px" %)Concrete //Maintainable// subtype of //ItemSchemeMap//
- SUZ.Methodology.Code.MethodologyClass[0]
-
- index
-
... ... @@ -1,0 +1,1 @@ 1 +12