@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:year_jp_era a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "year_jp_era" ;
    skos:prefLabel "Year in a Japanese era (wareki)"@en ;
    skos:definition "Year written with a Japanese era name and the year of that era, in full (平成4年) or with the one-character abbreviation of the era (昭58, 平5, 令元). 元 stands for the first year of an era. Municipal data often uses it for fiscal years (年度). Digits may be full-width (平９)."@en ;
    skos:prefLabel "和暦の年"@ja ;
    skos:broader dt:year ;
    skos:example "平成4年" ;
    skos:example "昭58" ;
    skos:example "平５" ;
    skos:example "令元" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:regexp "^(?:明治|大正|昭和|平成|令和|明|大|昭|平|令)\\s*(?:元|[0-9０-９]{1,2})(?:年度?)?$" ;
    dcterms:spatial country:JP ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/ja> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Japanese_era_name> .
