PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
PREFIX linkml: <https://w3id.org/linkml/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX pav: <http://purl.org/pav/>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX vann: <http://purl.org/vocab/vann/>

rdfa: a owl:Ontology ;
  rdfs:label "RDFa Vocabulary for Term and Prefix Assignment, and for Processor Graph Reporting" ;
  rdfs:comment "This document describes the RDFa Vocabulary for Term and Prefix Assignment. The Vocabulary is used to modify RDFa 1.1 processing behavior." ;
  dcterms:contributor <http://www.ivan-herman.net/foaf#me> ;
  pav:version "2013-03-11 07:54:23" ;
  dcterms:date "2013-01-18" ;
  dcterms:publisher <http://www.w3.org/data#W3C> ;
  rdfs:isDefinedBy <http://www.w3.org/TR/rdfa-core/#s_initialcontexts> ;
  vann:preferredNamespacePrefix "rdfa" ;
  vann:preferredNamespaceUri "http://www.w3.org/ns/rdfa#"^^xsd:anyURI ;
  sh:declare [
    sh:prefix "rdfa" ;
    sh:namespace "http://www.w3.org/ns/rdfa#"^^xsd:anyURI
  ] , [
    sh:prefix "linkml" ;
    sh:namespace "https://w3id.org/linkml/"^^xsd:anyURI
  ] , [
    sh:prefix "dcterms" ;
    sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI
  ] , [
    sh:prefix "rdfs" ;
    sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI
  ] , [
    sh:prefix "owl" ;
    sh:namespace "http://www.w3.org/2002/07/owl#"^^xsd:anyURI
  ] , [
    sh:prefix "foaf" ;
    sh:namespace "http://xmlns.com/foaf/0.1/"^^xsd:anyURI
  ] .

rdfa:Pattern a owl:Class ;
  rdfs:comment "Class to identify an (RDF) resource whose properties are to be copied to another resource" .

rdfa:PrefixOrTermMapping a owl:Class ;
  rdfs:comment "is the top level class for prefix or term mappings" ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty rdfa:uri ;
    owl:allValuesFrom rdfs:Literal
  ] .

rdfa:PGClass a owl:Class ;
  rdfs:comment "is the top level class of the hierarchy" ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty rdfa:context ;
    owl:allValuesFrom owl:Thing
  ] .

foaf:Person a owl:Class .

rdfa:UnresolvedTerm a owl:Class ;
  rdfs:comment "warning; to be used when a Term fails to be resolved" ;
  rdfs:subClassOf rdfa:Warning .

rdfa:Warning a owl:Class ;
  rdfs:comment "is the class for all warnings" ;
  rdfs:subClassOf rdfa:PGClass .

rdfa:DocumentError a owl:Class ;
  rdfs:comment "error condition; to be used when the document fails to be fully processed as a result of non-conformant host language markup" ;
  rdfs:subClassOf rdfa:Error .

rdfa:Error a owl:Class ;
  rdfs:comment "is the class for all error conditions" ;
  rdfs:subClassOf rdfa:PGClass .

rdfa:PrefixRedefinition a owl:Class ;
  rdfs:comment "warning; to be used when a prefix, either from the initial context or inherited from an ancestor node, is redefined in an element" ;
  rdfs:subClassOf rdfa:Warning .

rdfa:UnresolvedCURIE a owl:Class ;
  rdfs:comment "warning; to be used when a CURIE prefix fails to be resolved" ;
  rdfs:subClassOf rdfa:Warning .

rdfa:VocabReferenceError a owl:Class ;
  rdfs:comment "warning; to be used when the value of a @vocab attribute cannot be dereferenced, hence the vocabulary expansion cannot be completed" ;
  rdfs:subClassOf rdfa:Warning .

rdfa:Info a owl:Class ;
  rdfs:comment "is the class for all informations" ;
  rdfs:subClassOf rdfa:PGClass .

rdfa:TermMapping a owl:Class ;
  rdfs:comment "is the class for term mappings" ;
  rdfs:subClassOf rdfa:PrefixOrTermMapping , [
    a owl:Restriction ;
    owl:onProperty rdfa:term ;
    owl:allValuesFrom rdfs:Literal
  ] .

rdfa:PrefixMapping a owl:Class ;
  rdfs:comment "is the class for prefix mappings" ;
  rdfs:subClassOf rdfa:PrefixOrTermMapping , [
    a owl:Restriction ;
    owl:onProperty rdfa:prefix ;
    owl:allValuesFrom rdfs:Literal
  ] .

rdfa:context a owl:ObjectProperty ;
  rdfs:comment "provides extra context for the error, eg, http response, an XPointer/XPath information, or simply the URI that created the error" ;
  rdfs:domain rdfa:PGClass .

rdfa:usesVocabulary a owl:ObjectProperty ;
  rdfs:comment """provides a relationship between the host document and a vocabulary
\tdefined using the @vocab facility of RDFa1.1""" .

rdfa:copy a owl:ObjectProperty ;
  rdfs:comment "identifies the resource (i.e., pattern) whose properties and values should be copied to replace the current triple (retaining the subject of the triple)." .

rdfa:term a owl:DatatypeProperty ;
  rdfs:comment "defines a term mapping for a URI; the value is supposed to be a NMTOKEN" ;
  rdfs:domain rdfa:TermMapping .

rdfa:vocabulary a owl:DatatypeProperty ;
  rdfs:comment "defines an absolute URI to be used as a default vocabulary; the value is can be any string; for documentation purposes it is advised to use the string 'true' or 'True'." .

rdfa:uri a owl:DatatypeProperty ;
  rdfs:comment "defines the URI for either a prefix or a term mapping; the value is supposed to be an absolute URI" ;
  rdfs:domain rdfa:PrefixOrTermMapping .

rdfa:prefix a owl:DatatypeProperty ;
  rdfs:comment "defines a prefix mapping for a URI; the value is supposed to be a NMTOKEN" ;
  rdfs:domain rdfa:PrefixMapping .

dcterms:contributor a owl:AnnotationProperty .

pav:version a owl:AnnotationProperty .

dcterms:date a owl:AnnotationProperty .

dcterms:publisher a owl:AnnotationProperty .

vann:preferredNamespacePrefix a owl:AnnotationProperty .

vann:preferredNamespaceUri a owl:AnnotationProperty .

sh:declare a owl:AnnotationProperty .

sh:prefix a owl:AnnotationProperty .

sh:namespace a owl:AnnotationProperty .
