@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:sdmx_age a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "sdmx_age" ;
    skos:prefLabel "SDMX age code"@en ;
    skos:definition "Code of an age or an age band written with the syntax of the SDMX guidelines for code lists. Y stands for years, a number after it is an age (Y15), T joins the ends of a band (Y15T24 for 15 to 24 years) and the operators GE, GT, LE and LT after an underscore give an open band (Y_GE65 for 65 years or more, Y_LT5 for under 5). The guidelines allow the syntax and do not impose it; statistical offices that follow it, such as the statistics institute of the Canary Islands, give these codes in the age dimension of their tables (EDAD_CODE). Eurostat writes its bands with a hyphen (Y15-24), see eurostat_age_class. The regexp covers ages in years; the total _T and codes in months or days are left out."@en ;
    skos:prefLabel "Código de edad (SDMX)"@es ;
    skos:prefLabel "Код возраста по синтаксису SDMX"@ru ;
    skos:example "Y15T24" ;
    skos:example "Y_GE65" ;
    skos:example "Y_LT5" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^Y(?:\\d{1,3}(?:T\\d{1,3})?|_(?:GE|GT|LE|LT)\\d{1,3})$" ;
    rdfs:seeAlso <https://sdmx.org/wp-content/uploads/SDMX_Guidelines_for_CDCL-1.docx> ;
    rdfs:seeAlso <https://registry.sdmx.org/sdmx/v2/structure/codelist/SDMX/CL_AGE/+> .
