@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:sg_uen a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "sg_uen" ;
    skos:prefLabel "Singapore Unique Entity Number (UEN)"@en ;
    skos:definition "Identification number that the government of Singapore gives to every entity that operates in Singapore: businesses, local companies, societies, charities and others. It has nine or ten characters in one of three formats: eight digits and a check letter for businesses, nine digits starting with the year of registration and a check letter for local companies, and for other entities a letter (R, S or T), two digits of the year, two letters for the entity type, four digits and a check letter."@en ;
    skos:narrower dt:acra ;
    skos:narrower dt:sg_charity_uen ;
    skos:exactMatch <http://www.wikidata.org/entity/P13194> ;
    skos:example "198101793G" ;
    skos:example "202120748H" ;
    skos:example "202134064M" ;
    skos:example "00192200M" ;
    skos:example "S16FC0121D" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:\\d{8}[A-Z]|\\d{9}[A-Z]|[RST]\\d{2}[A-Z]{2}\\d{4}[A-Z])$" ;
    dcterms:spatial country:SG ;
    rdfs:seeAlso <https://www.uen.gov.sg/ueninternet/faces/pages/uenFAQ.jspx> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P13194> ;
    rdfs:seeAlso <https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/sg/uen.py> ;
    rdfs:seeAlso <https://github.com/microsoft/presidio/blob/main/presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/singapore/sg_uen_recognizer.py> .
