@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:fr_rnb_id a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "fr_rnb_id" ;
    skos:prefLabel "French national building identifier (ID-RNB)"@en ;
    skos:definition "Identifier of a building in the Référentiel National des Bâtiments (RNB), the French national register of buildings. It has 12 characters drawn at random from the digits 1 to 9 and the capital letters except I, L, O and U, so that it cannot be misread, and is often written in three groups of four separated by hyphens, as in W7WG-YK8D-C68P."@en ;
    skos:prefLabel "Identifiant RNB (ID-RNB)"@fr ;
    skos:exactMatch <http://www.wikidata.org/entity/P12461> ;
    skos:example "W7WG-YK8D-C68P" ;
    skos:example "MJ2W-7QT2-4SYB" ;
    skos:example "FT4RKBXBVH9S" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[1-9A-HJKMNP-TV-Z]{4}-?[1-9A-HJKMNP-TV-Z]{4}-?[1-9A-HJKMNP-TV-Z]{4}$" ;
    dcterms:spatial country:FR ;
    rdfs:seeAlso <https://rnb.beta.gouv.fr/definition> ;
    rdfs:seeAlso <https://github.com/fab-geocommuns/RNB-coeur/blob/main/app/batid/services/rnb_id.py> ;
    rdfs:seeAlso <https://fr.wikipedia.org/wiki/R%C3%A9f%C3%A9rentiel_National_des_B%C3%A2timents> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P12461> .
