@prefix vt:   <https://datatreehouse.github.io/maplib/vocab#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 dct:  <http://purl.org/dc/terms/> .

<https://datatreehouse.github.io/maplib/vocab#>
    a owl:Ontology ;
    rdfs:label "maplib vocabulary"@en ;
    dct:description "Custom IRIs (functions and OTTR templates) minted and used by maplib."@en .

#################  Functions  #################

vt:decodeString
    a rdfs:Resource ;
    rdfs:label "decodeString"@en ;
    rdfs:comment "Custom SPARQL function. Decodes an encoded string value back to its plain form."@en ;
    rdfs:isDefinedBy <https://datatreehouse.github.io/maplib/vocab#> .

#################  Templates  #################

vt:ShaclReportTemplate
    a rdfs:Resource ;
    rdfs:label "ShaclReportTemplate"@en ;
    rdfs:comment "OTTR template used to serialise a SHACL validation report into RDF."@en ;
    rdfs:isDefinedBy <https://datatreehouse.github.io/maplib/vocab#> .

vt:ShaclResultTemplate
    a rdfs:Resource ;
    rdfs:label "ShaclResultTemplate"@en ;
    rdfs:comment "OTTR template used to serialise an individual SHACL validation result into RDF."@en ;
    rdfs:isDefinedBy <https://datatreehouse.github.io/maplib/vocab#> .
