@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:geohash a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "geohash" ;
    skos:prefLabel "Geohash"@en ;
    skos:definition "Geohash, a geocode invented by Gustavo Niemeyer in 2008. It interleaves the bits of longitude and latitude and writes them in a base-32 alphabet of digits and lowercase letters without a, i, l and o. Each added character makes the rectangle smaller, and codes with a common prefix are usually close to each other. The regexp allows 1 to 12 characters, the precision range of common implementations such as Elasticsearch; short values look like ordinary words and numbers."@en ;
    skos:example "u4pruydqqvj" ;
    skos:example "ezs42" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[0-9b-hjkmnp-z]{1,12}$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Geohash> ;
    rdfs:seeAlso <https://www.elastic.co/docs/reference/aggregations/search-aggregations-bucket-geohashgrid-aggregation> .
