@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:cn_division_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "cn_division_code" ;
    skos:prefLabel "Chinese administrative division code"@en ;
    skos:definition "Code of an administrative division of the People's Republic of China used by the National Bureau of Statistics: six digits for provinces, prefectures and counties (GB/T 2260), up to twelve for townships and villages. Wikidata writes it in groups separated by spaces."@en ;
    skos:exactMatch <http://www.wikidata.org/entity/P442> ;
    skos:example "31 01 10" ;
    skos:example "11" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:1[1-5]|2[1-3]|3[1-7]|4[1-6]|5[0-4]|6[1-5]|71|8[1-2])(?: ?(?:0[1-9]|[1-6]\\d|70|90)(?: ?(?:0[1-9]|[1-9]\\d)(?: ?(?:00[1-9]|0[1-9]\\d|[1-5]\\d\\d)(?: ?(?:00[1-9]|0[1-9]\\d|[1-5]\\d\\d)(?: ?(?:11[1-2]|12[1-3]|2[1-2]0))?)?)?)?)?$" ;
    dcterms:spatial country:CN ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Administrative_division_codes_of_the_People%27s_Republic_of_China> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P442> .
