@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:epsg_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "epsg_code" ;
    skos:prefLabel "EPSG coordinate reference system code"@en ;
    skos:definition "Identifier of a coordinate reference system (CRS) in the EPSG Geodetic Parameter Dataset. The regexp covers the forms that name the authority: EPSG:4326, used by PROJ and many GIS tools, the OGC URN urn:ogc:def:crs:EPSG::4326 and the OGC URI http://www.opengis.net/def/crs/EPSG/0/4326. The code itself is a number of four or five digits, and Wikidata stores only that number; a bare number is not covered because it looks like any other number. In a field named after EPSG (EPSG, EPSG_XYZ, epsg_origine, srid) the bare number is the code too, as in the Austrian BEV control point files: 4936, 4937, 25833. A label may put the name of the system before the code and a space after the colon (WGS 84 EPSG: 4326 in the CRS field of the soil profile database of the Armenian Soil Information System)."@en ;
    skos:exactMatch <http://www.wikidata.org/entity/P1338> ;
    skos:example "EPSG:4326" ;
    skos:example "EPSG:3857" ;
    skos:example "EPSG:25832" ;
    skos:example "WGS 84 EPSG: 4326" ;
    skos:example "urn:ogc:def:crs:EPSG::4326" ;
    skos:example "http://www.opengis.net/def/crs/EPSG/0/4326" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:(?:[A-Z][A-Za-z0-9 ./()-]{0,60} )?EPSG: ?|urn:ogc:def:crs:EPSG::|https?://www\\.opengis\\.net/def/crs/EPSG/0/)[1-9]\\d{3,4}$" ;
    rdfs:seeAlso <https://epsg.org/home.html> ;
    rdfs:seeAlso <https://proj.org/en/stable/apps/projinfo.html> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/EPSG_Geodetic_Parameter_Dataset> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P1338> .
