@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:nl_bag_id a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "nl_bag_id" ;
    skos:prefLabel "Dutch BAG object identifier"@en ;
    skos:definition "Identifier of an object in the Basisregistratie Adressen en Gebouwen (BAG), the Dutch register of addresses and buildings that the municipalities keep and Kadaster publishes. It has 16 digits: the 4-digit code of the municipality that assigned it (nl_municipality_code, possibly of a former municipality), a 2-digit object type and a 10-digit serial number. The object types are 01 verblijfsobject (unit such as a dwelling or office), 02 ligplaats (mooring), 03 standplaats (pitch), 10 pand (building, nl_bag_building_id), 20 nummeraanduiding (address) and 30 openbare ruimte (public space such as a street; Wikidata P5207). Places (woonplaatsen) have a 4-digit code instead (nl_bag_woonplaats_code)."@en ;
    skos:prefLabel "BAG-identificatie"@nl ;
    skos:definition "Zestiencijferige identificatie van een BAG-object - gemeentecode, objecttypecode en volgnummer."@nl ;
    skos:prefLabel "Идентификатор объекта BAG (Нидерланды)"@ru ;
    skos:definition "Шестнадцатизначный идентификатор объекта в реестре адресов и зданий BAG - код муниципалитета, код типа объекта и порядковый номер."@ru ;
    skos:narrower dt:nl_bag_building_id ;
    skos:example "0363010000544772" ;
    skos:example "0363200000447176" ;
    skos:example "0363300000004696" ;
    skos:example "0363020000963270" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^\\d{4}(?:0[123]|[123]0)\\d{10}$" ;
    dcterms:spatial country:NL ;
    rdfs:seeAlso <https://imbag.github.io/catalogus/hoofdstukken/attributen--relaties> ;
    rdfs:seeAlso <https://imbag.github.io/catalogus/hoofdstukken/domeinwaarden> ;
    rdfs:seeAlso <https://api.pdok.nl/kadaster/bag/ogc/v2/> ;
    rdfs:seeAlso <https://nl.wikipedia.org/wiki/Basisregistratie_Adressen_en_Gebouwen> .
