@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:it_istat_comune a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "it_istat_comune" ;
    skos:prefLabel "Italian ISTAT municipality code"@en ;
    skos:definition "Statistical code of an Italian municipality (six digits), province or metropolitan city (three digits) or region (two digits) assigned by the Italian National Institute of Statistics (ISTAT), the three forms that Wikidata P635 stores. The code of a comune is the code of its province followed by a 3-digit number, as 015146 for Milan in province 015. A metropolitan city has the code of the province it replaced plus 200, so Milan is 215. On 1 January 2026 the reform of Sardinia gave its provinces the codes 112 to 119 and its metropolitan cities 312 (Sassari) and 318 (Cagliari, formerly 292), and the Sardinian comuni got new codes. Spreadsheets often lose the leading zero of a municipality code (45003 for 045003), and registers of public contracts put the three-digit code of the region in front (012058091 for Rome in Lazio); both are spellings found in files, not forms of the code."@en ;
    skos:prefLabel "Codice ISTAT del comune"@it ;
    skos:definition "Codice statistico ISTAT di un comune (sei cifre), di una provincia o città metropolitana (tre cifre) o di una regione (due cifre)."@it ;
    skos:prefLabel "Код ISTAT коммуны Италии"@ru ;
    skos:definition "Статистический код ISTAT коммуны (шесть цифр), провинции или метрополитенского города (три цифры) или области (две цифры)."@ru ;
    skos:exactMatch <http://www.wikidata.org/entity/P635> ;
    skos:example "015146" ;
    skos:example "058091" ;
    skos:example "312" ;
    skos:example "12" ;
    mcr:status "stable" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:\\d{2}|\\d{3}|\\d{6})$" ;
    dcterms:spatial country:IT ;
    rdfs:seeAlso <https://it.wikipedia.org/wiki/Codice_ISTAT> ;
    rdfs:seeAlso <https://www.istat.it/classificazione/codici-dei-comuni-delle-province-e-delle-regioni/> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P635> .
