@prefix : <https://def.nde.nl/failure#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://def.nde.nl/failure#> .

<https://def.nde.nl/failure> rdf:type owl:Ontology ;
                              <http://purl.org/dc/terms/created> "2026-06-12"^^xsd:date ;
                              <http://purl.org/dc/terms/creator> <https://netwerkdigitaalerfgoed.nl/> ;
                              <http://purl.org/dc/terms/description> "Terms the dataset knowledge graph uses to record why an individual sampled or fetched resource – a subject URI, an IIIF manifest, or a distribution – failed when it was dereferenced, parsed or validated."@en ;
                              <http://purl.org/dc/terms/license> <https://creativecommons.org/publicdomain/zero/1.0/> ;
                              <http://purl.org/dc/terms/publisher> <https://netwerkdigitaalerfgoed.nl/> ;
                              <http://purl.org/dc/terms/title> "NDE Sample Failure vocabulary"@en ;
                              <http://purl.org/vocab/vann/preferredNamespacePrefix> "failure" ;
                              <http://purl.org/vocab/vann/preferredNamespaceUri> "https://def.nde.nl/failure#" ;
                              rdfs:label "NDE Sample Failure vocabulary"@en ;
                              owl:versionInfo "0.1.0" .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/terms/created
<http://purl.org/dc/terms/created> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/creator
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/description
<http://purl.org/dc/terms/description> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/publisher
<http://purl.org/dc/terms/publisher> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/title
<http://purl.org/dc/terms/title> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespaceUri
<http://purl.org/vocab/vann/preferredNamespaceUri> rdf:type owl:AnnotationProperty .


#################################################################
#    Datatypes
#################################################################

###  http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .


#################################################################
#    Object Properties
#################################################################

###  https://def.nde.nl/failure#reason
:reason rdf:type owl:ObjectProperty ;
        rdfs:domain <http://www.w3.org/ns/prov#Usage> ;
        rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> ;
        rdfs:comment "The reason a sampled resource failed, given on the prov:Usage that qualifies the activity’s use of that resource. Its value is a SKOS concept from the scheme matching the check: subject-resolution-failure for a subject URI, manifest-validation-failure for an IIIF manifest, distribution-validity-failure for a distribution. The dataset knowledge graph persists a prov:Usage – and therefore a failure:reason – only for samples that failed, so the presence of failure:reason is the contract for “this sample failed”; successful samples carry no usage and are covered by the aggregate sampled/resolved/validated counts."@en ;
        rdfs:isDefinedBy <https://def.nde.nl/failure> ;
        rdfs:label "reason"@en .


#################################################################
#    Data properties
#################################################################

###  https://def.nde.nl/failure#message
:message rdf:type owl:DatatypeProperty ;
         rdfs:domain <http://www.w3.org/ns/prov#Usage> ;
         rdfs:range xsd:string ;
         rdfs:comment "A best-effort, free-text diagnostic accompanying a failure:reason on the same prov:Usage – for example the parser error a malformed RDF distribution produced. Advisory only: whether one is present, and its content, is producer- and parser-dependent, and a guaranteed line or column is not promised."@en ;
         rdfs:isDefinedBy <https://def.nde.nl/failure> ;
         rdfs:label "message"@en .


#################################################################
#    Classes
#################################################################

###  http://www.w3.org/2004/02/skos/core#Concept
<http://www.w3.org/2004/02/skos/core#Concept> rdf:type owl:Class .


###  http://www.w3.org/ns/prov#Usage
<http://www.w3.org/ns/prov#Usage> rdf:type owl:Class .


###  Generated by the OWL API (version 5.1.18) https://github.com/owlcs/owlapi/
