@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_geo_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "eurostat_geo_code" ;
    skos:prefLabel "Eurostat country or aggregate code (GEO, CITIZEN)"@en ;
    skos:definition "Code of a country or a group of countries in the code lists of Eurostat for the reporting country (GEO), the citizenship (CITIZEN), the country of birth or the partner. Countries have the two letters of ISO 3166-1, except EL for Greece and UK for the United Kingdom; aggregates are written EU27_2020 (the European Union of 27 from 2020), EU28, EA19 or EFTA, and EXT_EU27_2020 for the countries outside it. Citizenship lists add TOTAL, STLS (stateless), RNC (recognised non-citizens), UK_OCT (British overseas countries and territories) and UNK (unknown). Regions have NUTS codes (nutsregion)."@en ;
    skos:prefLabel "Код страны или группы стран Евростата (GEO, CITIZEN)"@ru ;
    skos:broader dt:countrycode_alpha2 ;
    skos:example "EL" ;
    skos:example "CY" ;
    skos:example "EU27_2020" ;
    skos:example "EXT_EU27_2020" ;
    skos:example "STLS" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:[A-Z]{2}|E[UA]\\d{2}(?:_\\d{4})?|EXT_EU\\d{2}(?:_\\d{4})?|EFTA|UK_OCT|TOTAL|STLS|RNC|UNK)$" ;
    dcterms:spatial country:EU ;
    rdfs:seeAlso <https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/GEO> ;
    rdfs:seeAlso <https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/CITIZEN> .
