@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:eurostat_age_class a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "eurostat_age_class" ;
    skos:prefLabel "Eurostat age class code"@en ;
    skos:definition "Code of an age or an age class in the AGE code list of Eurostat, as the datasets of the Eurostat database and the national tables sent to it give it: Y and the age in years (Y15), two ages joined by a hyphen for a class (Y14-17, Y18-34, Y35-64), Y_LT and Y_GE for an open class (Y_LT14 less than 14 years, Y_GE65 65 years or over), TOTAL for all ages and UNK for an unknown age. Asylum and residence permit tables of Cyprus have it in a column AGE beside CITIZEN and SEX."@en ;
    skos:prefLabel "Код возрастной группы Евростата"@ru ;
    skos:broader dt:age_range ;
    skos:example "Y18-34" ;
    skos:example "Y_LT14" ;
    skos:example "Y_GE65" ;
    skos:example "TOTAL" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:TOTAL|UNK|Y_(?:LT|GE)\\d{1,3}|Y\\d{1,3}(?:-\\d{1,3})?)$" ;
    dcterms:spatial country:EU ;
    rdfs:seeAlso <https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/AGE> .
