RegionType

Last modified by Artur K. on 2026/06/05 16:20

  

https://purl.semanticip.org/linked-data/sdmx/ML/structure/RegionType page_white_text TTL
owl:Class
Region Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/structure
structure
complexType

RegionType is an abstract type which defines a generic constraint region. This type can be refined to define regions for data or metadata sets. A region is defined by a collection of key values - each of which a collection of values for a component which disambiguates data (i.e. dimensions of a dataset). For each region, a collection of attribute values can be provided. Taken together, the key values and attributes serve to identify or describe a subset of a data or metadata set. Finally, the region can be flagged as being included or excluded, although this flag only makes sense when the region is used in a particular context.

SDMXStructureConstraint.xsd

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RegionType" abstract="true">
  <xs:annotation>
   <xs:documentation>RegionType is an abstract type which defines a generic constraint region. This type can be refined to define regions for data or metadata sets. A region is defined by a collection of key values - each of which a collection of values for a component which disambiguates data (i.e. dimensions of a dataset). For each region, a collection of attribute values can be provided. Taken together, the key values and attributes serve to identify or describe a subset of a data or metadata set. Finally, the region can be flagged as being included or excluded, although this flag only makes sense when the region is used in a particular context.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
   <xs:extension base="common:AnnotableType">
    <xs:sequence>
     <xs:element name="KeyValue" type="MemberSelectionType" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
       <xs:documentation>KeyValue contains a reference to a component which disambiguates the data (i.e. a dimension) and provides a collection of values for the component. The collection of values can be flagged as being inclusive or exclusive to the region being defined. Any key component that is not included is assumed to be wild carded, which is to say that the cube includes all possible values for the un-referenced key components. Further, this assumption applies to the values of the components as well. The values for any given component can only be sub-setted in the region by explicit inclusion or exclusion. For example, a dimension X which has the possible values of 1, 2, 3 is assumed to have all of these values if a key value is not defined. If a key value is defined with an inclusion attribute of true and the values of 1 and 2, the only the values of 1 and 2 for dimension X are included in the definition of the region. If the key value is defined with an inclusion attribute of false and the value of 1, then the values of 2 and 3 for dimension X are included in the definition of the region. Note that any given key component must only be referenced once in the region.</xs:documentation>
      </xs:annotation>
     </xs:element>
     <xs:element name="Component" type="MemberSelectionType" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
       <xs:documentation>Component contains a reference to a component (data attribute, metadata attribute, or measure) and provides a collection of values for the referenced component. This serves to state that for the key which defines the region, the components that are specified here have or do not have (depending on the include attribute of the value set) the values provided. It is possible to provide a component reference without specifying values, for the purpose of stating the component is absent (include = false) or present with an unbounded set of values. As opposed to key components, which are assumed to be wild carded if absent, no assumptions are made about the absence of a component. Only components which are explicitly stated to be present or absent from the region will be know. All unstated components for the set cannot be assumed to absent or present.</xs:documentation>
      </xs:annotation>
     </xs:element>
    </xs:sequence>
    <xs:attribute name="include" type="xs:boolean" use="optional" default="true">
     <xs:annotation>
      <xs:documentation>The include attribute indicates that the region is to be included or excluded within the context in which it is defined. For example, if the regions is defined as part of a content constraint, the exclude flag would mean the data identified by the region is not present.</xs:documentation>
     </xs:annotation>
    </xs:attribute>
    <xs:attribute name="validFrom" type="common:StandardTimePeriodType" use="optional" />
    <xs:attribute name="validTo" type="common:StandardTimePeriodType" use="optional" />
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>

 

rdfs:subClassOf sip-sdmx-ML-common:AnnotableType ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:KeyValue ;
    owl:allValuesFrom sip-sdmx-ML-structure:MemberSelectionType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML-structure:Component ;
    owl:allValuesFrom sip-sdmx-ML-structure:MemberSelectionType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:include ;
    owl:allValuesFrom xsd:boolean
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:include ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange xsd:boolean
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validFrom ;
    owl:allValuesFrom sip-sdmx-ML-common:StandardTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validFrom ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange sip-sdmx-ML-common:StandardTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validTo ;
    owl:allValuesFrom sip-sdmx-ML-common:StandardTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validTo ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange sip-sdmx-ML-common:StandardTimePeriodType
] ;

© Semantic R&D Group, 2026