Changes for page 11 ItemSchemeMap
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.elena semanticproorg1 +xwiki:XWiki.helena - Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 == 11.1 Scope == 6 6 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. 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 (% style="color:#e74c3c" %)mapped(%%) using the RepresentationMap. A single source //ItemScheme// is (% style="color:#e74c3c" %)mapped(%%) to a single target //ItemScheme//. The //ItemSchemeMap// then contains the rules for how the values from the source //ItemScheme// (% style="color:#e74c3c" %)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 8 9 9 The absence of an output for an input is interpreted as ‘no output value for the given source value(s)’. 10 10 ... ... @@ -23,18 +23,14 @@ 23 23 * CategorySchemeMap 24 24 * ReportingTaxonomyMap 25 25 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. 26 +An OrganisationSchemeMap (% style="color:#e74c3c" %)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 (% style="color:#e74c3c" %)mapped(%%) items refer to the Organisations in the source/target schemes. 27 27 28 -A ConceptSchemeMap maps a source ConceptScheme to a target ConceptScheme. 28 +A ConceptSchemeMap (% style="color:#e74c3c" %)maps(%%) a source ConceptScheme to a target ConceptScheme. The (% style="color:#e74c3c" %)mapped(%%) items refer to the (% style="color:#e74c3c" %)Concepts(%%) in the source/target schemes. 29 29 30 - The[[mapped>>doc:sdmx:Glossary.Map.WebHome]]items refer to the [[Concepts>>doc:sdmx:Glossary.Concept.WebHome]] in the source/target schemes.30 +A CategorySchemeMap (% style="color:#e74c3c" %)maps(%%) a source CategoryScheme to a target CategoryScheme. The (% style="color:#e74c3c" %)mapped(%%) Items refer to the [[Categories>>doc:sdmx:Glossary.Category.WebHome]] in the source/target schemes. 31 31 32 -A CategorySchemeMap[[maps>>doc:sdmx:Glossary.Map.WebHome]]a sourceCategorySchemeto a target CategoryScheme.32 +A ReportingTaxonomyMap (% style="color:#e74c3c" %)maps(%%) a source ReportingTaxonomy to a target ReportingTaxonomy. The (% style="color:#e74c3c" %)mapped(%%) Items refer to the ReportingCategory in the source/target schemes. 33 33 34 -The mapped Items refer to the [[Categories>>doc:sdmx:Glossary.Category.WebHome]] in the source/target schemes. 35 - 36 -A ReportingTaxonomyMap maps a source ReportingTaxonomy to a target ReportingTaxonomy. The mapped Items refer to the ReportingCategory in the source/target schemes. 37 - 38 38 ==== 11.1.1.2 Definitions ==== 39 39 40 40 (% style="width:949.835px" %) ... ... @@ -48,11 +48,11 @@ 48 48 |ItemMap|((( 49 49 Inherits from 50 50 //AnnotableArtefact// 51 -)))|(% style="width:542px" %)Describes how the source value maps to the target value 47 +)))|(% style="width:542px" %)Describes how the source value (% style="color:#e74c3c" %)maps(%%) to the target value 52 52 | |validFrom|(% style="width:542px" %)Optional period describing when the mapping is applicable 53 53 | |validTo|(% style="width:542px" %)Optional period describing which the mapping is no longer applicable. 54 54 | |sourceValue|(% style="width:542px" %)Input value for source 55 -| |targetValue|(% style="width:542px" %)Output value for each mapped target 51 +| |targetValue|(% style="width:542px" %)Output value for each (% style="color:#e74c3c" %)mapped(%%) target 56 56 | |isRegEx|(% style="width:542px" %)If true, the sourceValue field should be treated as a regular expression when comparing with the source data 57 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 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