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 content: <http://www.w3.org/2011/content#>
PREFIX linkml: <https://w3id.org/linkml/>
PREFIX pav: <http://purl.org/pav/>
PREFIX schema: <http://schema.org/>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX vann: <http://purl.org/vocab/vann/>

<http://www.w3.org/2011/content> a owl:Ontology ;
  rdfs:label "Representing Content in RDF"@en ;
  rdfs:comment "Representing Content in RDF as defined by http://www.w3.org/TR/Content-in-RDF/"@en ;
  rdfs:seeAlso <http://www.w3.org/WAI/intro/earl> ;
  schema:inLanguage "en" ;
  pav:version "Working Draft 29 April 2011" ;
  rdfs:isDefinedBy <http://www.w3.org/TR/Content-in-RDF/> ;
  vann:preferredNamespacePrefix "content" ;
  vann:preferredNamespaceUri "http://www.w3.org/2011/content#"^^xsd:anyURI ;
  sh:declare [
    sh:prefix "content" ;
    sh:namespace "http://www.w3.org/2011/content#"^^xsd:anyURI
  ] , [
    sh:prefix "linkml" ;
    sh:namespace "https://w3id.org/linkml/"^^xsd:anyURI
  ] , [
    sh:prefix "rdfs" ;
    sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI
  ] , [
    sh:prefix "xsd" ;
    sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI
  ] , [
    sh:prefix "owl" ;
    sh:namespace "http://www.w3.org/2002/07/owl#"^^xsd:anyURI
  ] .

content:ContentAsBase64 a owl:Class ;
  rdfs:label "Base64 content"@en ;
  rdfs:comment "The base64 encoded content (can be used for binary content)."@en ;
  rdfs:subClassOf content:Content , [
    a owl:Restriction ;
    owl:onProperty content:bytes ;
    owl:allValuesFrom xsd:base64Binary
  ] .

content:ContentAsXML a owl:Class ;
  rdfs:label "XML content"@en ;
  rdfs:comment "The XML content (can only be used for XML-wellformed content)."@en ;
  rdfs:subClassOf content:Content , [
    a owl:Restriction ;
    owl:onProperty content:dtDecl ;
    owl:allValuesFrom content:DoctypeDecl
  ] , [
    a owl:Restriction ;
    owl:onProperty content:leadingMisc ;
    owl:allValuesFrom rdfs:XMLLiteral
  ] , [
    a owl:Restriction ;
    owl:onProperty content:version ;
    owl:allValuesFrom owl:Thing
  ] , [
    a owl:Restriction ;
    owl:onProperty content:declaredEncoding ;
    owl:allValuesFrom owl:Thing
  ] , [
    a owl:Restriction ;
    owl:onProperty content:rest ;
    owl:allValuesFrom rdfs:XMLLiteral
  ] , [
    a owl:Restriction ;
    owl:onProperty content:standalone ;
    owl:allValuesFrom owl:Thing
  ] .

content:ContentAsText a owl:Class ;
  rdfs:label "Text content"@en ;
  rdfs:comment "The text content (can be used for text content)."@en ;
  rdfs:subClassOf content:Content , [
    a owl:Restriction ;
    owl:onProperty content:chars ;
    owl:allValuesFrom owl:Thing
  ] .

content:DoctypeDecl a owl:Class ;
  rdfs:label "Document type declaration"@en ;
  rdfs:comment "The document type declaration."@en ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty content:systemId ;
    owl:allValuesFrom xsd:anyURI
  ] , [
    a owl:Restriction ;
    owl:onProperty content:internalSubset ;
    owl:allValuesFrom owl:Thing
  ] , [
    a owl:Restriction ;
    owl:onProperty content:doctypeName ;
    owl:allValuesFrom owl:Thing
  ] , [
    a owl:Restriction ;
    owl:onProperty content:publicId ;
    owl:allValuesFrom owl:Thing
  ] .

content:Content a owl:Class ;
  rdfs:label "Content"@en ;
  rdfs:comment "The content."@en ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty content:characterEncoding ;
    owl:allValuesFrom owl:Thing
  ] .

content:dtDecl a owl:ObjectProperty ;
  rdfs:label "Document type declaration"@en ;
  rdfs:comment "The document type declaration."@en ;
  rdfs:range content:DoctypeDecl ;
  rdfs:domain content:ContentAsXML .

content:leadingMisc a owl:ObjectProperty ;
  rdfs:label "XML leading misc"@en ;
  rdfs:comment "The XML content preceding the document type declaration."@en ;
  rdfs:range rdfs:XMLLiteral ;
  rdfs:domain content:ContentAsXML .

content:systemId a owl:ObjectProperty ;
  rdfs:label "System ID"@en ;
  rdfs:comment "The document type declarations's system identifier (typed: xsd:anyURI)"@en ;
  rdfs:range xsd:anyURI ;
  rdfs:domain content:DoctypeDecl .

content:version a owl:ObjectProperty ;
  rdfs:label "XML version"@en ;
  rdfs:comment "The XML version declared in the XML declaration."@en ;
  rdfs:domain content:ContentAsXML .

content:bytes a owl:ObjectProperty ;
  rdfs:label "Base64 encoded byte sequence"@en ;
  rdfs:comment "The Base64 encoded byte sequence of the content."@en ;
  rdfs:range xsd:base64Binary ;
  rdfs:domain content:ContentAsBase64 .

content:chars a owl:ObjectProperty ;
  rdfs:label "Character sequence"@en ;
  rdfs:comment "The character sequence of the text content."@en ;
  rdfs:domain content:ContentAsText .

content:declaredEncoding a owl:ObjectProperty ;
  rdfs:label "XML character encoding"@en ;
  rdfs:comment "The character encoding declared in the XML declaration."@en ;
  rdfs:domain content:ContentAsXML .

content:rest a owl:ObjectProperty ;
  rdfs:label "XML rest"@en ;
  rdfs:comment "The XML content following the document type declaration."@en ;
  rdfs:range rdfs:XMLLiteral ;
  rdfs:domain content:ContentAsXML .

content:internalSubset a owl:ObjectProperty ;
  rdfs:label "Internal DTD subset"@en ;
  rdfs:comment "The internal document type definition subset within the document type declarations."@en ;
  rdfs:domain content:DoctypeDecl .

content:standalone a owl:ObjectProperty ;
  rdfs:label "XML standalone document declaration"@en ;
  rdfs:comment "The standalone declaration in the XML declaration."@en ;
  rdfs:domain content:ContentAsXML .

content:doctypeName a owl:ObjectProperty ;
  rdfs:label "Document type name"@en ;
  rdfs:comment "The document type name."@en ;
  rdfs:domain content:DoctypeDecl .

content:characterEncoding a owl:ObjectProperty ;
  rdfs:label "Character encoding"@en ;
  rdfs:comment "The character encoding used to create a character sequence from a byte sequence or vice versa."@en ;
  rdfs:domain content:Content .

content:publicId a owl:ObjectProperty ;
  rdfs:label "Public ID"@en ;
  rdfs:comment "The document type declarations's public identifier."@en ;
  rdfs:domain content:DoctypeDecl .

schema:inLanguage a owl:AnnotationProperty .

pav:version 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 .
