@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:plus_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "plus_code" ;
    skos:prefLabel "Plus Code (Open Location Code)"@en ;
    skos:definition "Full Plus Code of the Open Location Code system published by Google, which encodes a WGS84 latitude and longitude as a grid cell. It uses 20 symbols (23456789CFGHJMPQRVWX): eight digits, the separator +, and usually two or more digits after it; a ten-digit code is a cell of about 14 by 14 metres. Shorter codes pad the eight positions before the separator with pairs of 0 and end with +. The first digit encodes latitude and the second longitude, which limits them to 2-9 and C, and to 2-9 and C-V. Codes are case-insensitive. Shortened codes that need a reference place are the pattern plus_code_short."@en ;
    skos:narrower dt:plus_code_short ;
    skos:example "8FVC9G8F+6W" ;
    skos:example "796RWF8Q+WF" ;
    skos:example "8FWCX400+" ;
    skos:example "849VGJQF+VX7QR3J" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[2-9Cc][2-9CFGHJMPQRVcfghjmpqrv](?:000000\\+|[2-9CFGHJMPQRVWXcfghjmpqrvwx]{2}(?:0000\\+|[2-9CFGHJMPQRVWXcfghjmpqrvwx]{2}(?:00\\+|[2-9CFGHJMPQRVWXcfghjmpqrvwx]{2}\\+(?:[2-9CFGHJMPQRVWXcfghjmpqrvwx]{2,})?)))$" ;
    rdfs:seeAlso <https://github.com/google/open-location-code/blob/main/Documentation/Specification/specification.md> ;
    rdfs:seeAlso <https://github.com/google/open-location-code/blob/main/test_data/validityTests.csv> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Open_Location_Code> .
