TimeRangeValueType

Version 21.1 by Artur K. on 2026/05/27 17:24

  

https://purl.semanticip.org/linked-data/sdmx/ML/TimeRangeValueType page_white_text TTL
owl:Class
Time Range Value Type
complexType

TimeRangeValueType allows a time period value to be expressed as a range. It can be expressed as the period before a period, after a period, or between two periods. Each of these properties can specify their inclusion in regards to the range.

SDMXStructureConstraint.xsd

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TimeRangeValueType">
  <xs:annotation>
   <xs:documentation>TimeRangeValueType allows a time period value to be expressed as a range. It can be expressed as the period before a period, after a period, or between two periods. Each of these properties can specify their inclusion in regards to the range.</xs:documentation>
  </xs:annotation>
  <xs:choice>
   <xs:element name="BeforePeriod" type="TimePeriodRangeType">
    <xs:annotation>
     <xs:documentation>BeforePeriod is the period before which the period is meant to cover. This date may be inclusive or exclusive in the range.</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name="AfterPeriod" type="TimePeriodRangeType">
    <xs:annotation>
     <xs:documentation>AfterPeriod is the period after which the period is meant to cover. This date may be inclusive or exclusive in the range.</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:sequence>
    <xs:element name="StartPeriod" type="TimePeriodRangeType">
     <xs:annotation>
      <xs:documentation>StartPeriod is the start date or the range that the queried date must occur within. This date may be inclusive or exclusive in the range.</xs:documentation>
     </xs:annotation>
    </xs:element>
    <xs:element name="EndPeriod" type="TimePeriodRangeType">
     <xs:annotation>
      <xs:documentation>EndPeriod is the end period of the range. This date may be inclusive or exclusive in the range.</xs:documentation>
     </xs:annotation>
    </xs:element>
   </xs:sequence>
  </xs:choice>
  <xs:attribute name="validFrom" type="common:StandardTimePeriodType" use="optional" />
  <xs:attribute name="validTo" type="common:StandardTimePeriodType" use="optional" />
 </xs:complexType>

 

rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:BeforePeriod ;
    owl:allValuesFrom sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:BeforePeriod ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:AfterPeriod ;
    owl:allValuesFrom sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:AfterPeriod ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:StartPeriod ;
    owl:allValuesFrom sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:StartPeriod ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:EndPeriod ;
    owl:allValuesFrom sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:EndPeriod ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML:TimePeriodRangeType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validFrom ;
    owl:allValuesFrom sip-sdmx-ML:StandardTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validFrom ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange sip-sdmx-ML:StandardTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validTo ;
    owl:allValuesFrom sip-sdmx-ML:StandardTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validTo ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange sip-sdmx-ML:StandardTimePeriodType
] ;

© Semantic R&D Group, 2026