PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdrs: <http://www.w3.org/2007/05/powder-s#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

<http://www.w3.org/2002/07/owl#Ontology> a rdfs:Class .

wdrs:Processor a rdfs:Class ;
  rdfs:label "POWDER processor"@en ;
  rdfs:comment "A software agent able to process POWDER documents."@en ;
  rdfs:subClassOf <http://purl.org/dc/terms/Agent> .

wdrs:proc_error a rdf:Property ;
  rdfs:label "processing error"@en ;
  rdfs:comment "A property denoting a description of the specific software error."@en ;
  rdfs:domain wdrs:Processor ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://purl.org/dc/terms/Agent> a rdfs:Class .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object"@en .

wdrs:Document a rdfs:Class ;
  rdfs:label "POWDER document"@en ;
  rdfs:comment "A POWDER document."@en ;
  rdfs:subClassOf <http://www.w3.org/2002/07/owl#Ontology> .

wdrs:data_error a rdf:Property ;
  rdfs:label "data error"@en ;
  rdfs:comment "A property denoting a description of the specific error found in a given POWDER document."@en ;
  rdfs:domain wdrs:Document ;
  rdfs:range <https://w3id.org/linkml/Any> .

wdrs:authenticate a rdf:Property ;
  rdfs:label "authenticate"@en ;
  rdfs:comment "A pointer to a document that describes how Description Resources created by a FOAF Agent or a DC Terms Agent may be authenticated"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

wdrs:certified a rdf:Property ;
  rdfs:label "certified"@en ;
  rdfs:comment "A property that takes a Boolean value to declare whether the author of the data certifies the described resource."@en ;
  rdfs:range xsd:boolean .

wdrs:certifiedby a rdf:Property ;
  rdfs:label "certified by"@en ;
  rdfs:comment "A property that links a resource to a POWDER document that certifies it."@en ;
  rdfs:range xsd:string .

wdrs:describedby a rdf:Property ;
  rdfs:label "described by"@en ;
  rdfs:comment "An RDF property to exactly match the describedby relationship type introduced in http://www.w3.org/TR/powder-dr/#assoc-linking and formally defined in appendix D of the same document, i.e. the relationship A 'describedby' B asserts that resource B provides a description of resource A. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

wdrs:error_code a rdf:Property ;
  rdfs:label "error code"@en ;
  rdfs:comment "A property denoting the code of any error encountered by the POWDER processor."@en ;
  rdfs:range xsd:nonNegativeInteger .

wdrs:hasIRI a rdf:Property ;
  rdfs:label "has IRI"@en ;
  rdfs:comment "This property is meant to be used in OWL2 instead of wdrs:matchesregex. It denotes the string data range corresponding to a set of IRIs."@en ;
  rdfs:range xsd:anyURI .

wdrs:issuedby a rdf:Property ;
  rdfs:label "issued by"@en ;
  rdfs:comment "This property denotes the author of a POWDER document."@en ;
  rdfs:range xsd:string .

wdrs:logo a rdf:Property ;
  rdfs:label "logo"@en ;
  rdfs:comment "Points to a graphic summary for the resources in a given class. Typically, it is a logo denoting conformance of a given (set of) resource(s) to a given set of criteria."@en ;
  rdfs:range xsd:string .

wdrs:matchesregex a rdf:Property ;
  rdfs:label "matches regular expression"@en ;
  rdfs:comment "This is the key 'include' property for IRI set definitions in POWDER-S. It is necessary to take account of the POWDER Semantic Extension to process this fully. The value is a regular expression that is matched against an IRI."@en ;
  rdfs:seeAlso <http://www.w3.org/TR/xpath-functions/#regex-syntax> ;
  rdfs:range xsd:string .

wdrs:notknownto a rdf:Property ;
  rdfs:label "not known to"@en ;
  rdfs:comment "Property used in results returned from a POWDER Processor that has no data about the candidate resource. The value is the IRI of the processor."@en ;
  rdfs:range wdrs:Processor .

wdrs:notmatchesregex a rdf:Property ;
  rdfs:label "matches regular expression"@en ;
  rdfs:comment "This is the key 'exclude' property for IRI set definitions in POWDER-S. It is necessary to take account of the POWDER Semantic Extension to process this fully. The value is a regular expression that is matched against an IRI."@en ;
  rdfs:seeAlso <http://www.w3.org/TR/xpath-functions/#regex-syntax> ;
  rdfs:range xsd:string .

wdrs:sha1sum a rdf:Property ;
  rdfs:label "SHA-1 sum"@en ;
  rdfs:comment "Links to a Base64-encoded binary SHA-1 hash of the described resource. May be used by POWDER Processors when assessing trustworthiness of a DR."@en ;
  rdfs:range xsd:base64Binary .

wdrs:supportedby a rdf:Property ;
  rdfs:label "supported by"@en ;
  rdfs:comment "A property that links a POWDER document to some other data source that supports the descriptions provided."@en ;
  rdfs:range xsd:string .

wdrs:tag a rdf:Property ;
  rdfs:label "tag"@en ;
  rdfs:comment "Property linking to a free-text tag which may include spaces."@en ;
  rdfs:range xsd:token .

wdrs:text a rdf:Property ;
  rdfs:label "text that may be displayed"@en ;
  rdfs:comment "This property provides a summary of the descriptorset that it annotates, suitable for display to end users."@en ;
  rdfs:range xsd:string .

wdrs:validfrom a rdf:Property ;
  rdfs:label "valid from"@en ;
  rdfs:comment "Provides a timestamp that a POWDER Processor may use when assessing trustworthiness of a POWDER document. Informally, a POWDER Processor should normally ignore data in the document before the given date."@en ;
  rdfs:range xsd:string .

wdrs:validuntil a rdf:Property ;
  rdfs:label "valid until"@en ;
  rdfs:comment "Provides a timestamp that a POWDER Processor may use when assessing trustworthiness of a POWDER document. Informally, a POWDER Processor should normally ignore data in the document after the given date."@en ;
  rdfs:range xsd:string .
