@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:foodex2_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "foodex2_code" ;
    skos:prefLabel "FoodEx2 food classification code"@en ;
    skos:definition "Code of the FoodEx2 food classification and description system of the European Food Safety Authority (EFSA), used in EU food consumption, contaminant and residue data. A base term is A and four letters or digits. An extended code adds facets after the sign #, separated by the sign $, each a facet number such as F09, a dot and another FoodEx2 term."@en ;
    skos:prefLabel "Код классификации пищевых продуктов FoodEx2"@ru ;
    skos:definition "Код системы классификации и описания пищевых продуктов FoodEx2 Европейского агентства по безопасности пищевых продуктов (EFSA)."@ru ;
    skos:exactMatch <http://www.wikidata.org/entity/P4637> ;
    skos:exactMatch <https://bioregistry.io/registry/foodex2> ;
    skos:example "A02XN" ;
    skos:example "A008C" ;
    skos:example "A03BG#F09.A0EXH$F10.A077L$F21.A07SE" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^A[0-9A-Z]{4}(?:#F\\d{2}\\.A[0-9A-Z]{4}(?:\\$F\\d{2}\\.A[0-9A-Z]{4})*)?$" ;
    dcterms:spatial country:EU ;
    rdfs:seeAlso <https://www.efsa.europa.eu/en/data/data-standardisation> ;
    rdfs:seeAlso <https://data.food.gov.uk/codes/ui/about-foodtypes> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P4637> .
