@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:slug a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "slug" ;
    skos:prefLabel "URL slug"@en ;
    skos:definition "Readable part of a URL that names a page or a record, written in lowercase Latin letters and digits joined by hyphens, such as model-gruzovogo-parohoda-donec. Content management systems and web frameworks make it from the title, transliterated when the title is not in Latin script, and add a number when the slug is already taken (kochedyk-10). APIs and exports keep it in a field named slug. Some frameworks also allow underscores and uppercase letters; the regular expression covers only the common lowercase form. A lowercase word without hyphens is also a valid slug, so the value alone is weak evidence."@en ;
    skos:prefLabel "Слаг (человекопонятная часть URL)"@ru ;
    skos:example "model-gruzovogo-parohoda-donec" ;
    skos:example "kochedyk-10" ;
    skos:example "oil-on-canvas" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[a-z0-9]+(?:-[a-z0-9]+)*$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Clean_URL#Slug> ;
    rdfs:seeAlso <https://docs.djangoproject.com/en/stable/ref/models/fields/#slugfield> .
