@base <http://www.w3.org/2011/content> .
@prefix rdf: <../1999/02/22-rdf-syntax-ns#> .
@prefix owl: <../2002/07/owl#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <../2001/XMLSchema#> .
@prefix rdfs: <../2000/01/rdf-schema#> .
@prefix cnt: <#> .

<>
    a owl:Ontology ;
    rdfs:comment "Representing Content in RDF as defined by http://www.w3.org/TR/Content-in-RDF/"@en ;
    rdfs:isDefinedBy <../TR/Content-in-RDF/> ;
    rdfs:label "Representing Content in RDF"@en ;
    rdfs:seeAlso <../WAI/intro/earl> ;
    owl:imports <http://purl.org/dc/terms/> ;
    owl:versionInfo "Working Draft 29 April 2011"@en .

cnt:Content
    a rdfs:Class, owl:Class ;
    rdfs:comment "The content."@en ;
    rdfs:label "Content"@en .

cnt:ContentAsBase64
    a rdfs:Class, owl:Class ;
    rdfs:comment "The base64 encoded content (can be used for binary content)."@en ;
    rdfs:label "Base64 content"@en ;
    rdfs:subClassOf cnt:Content .

cnt:ContentAsText
    a rdfs:Class, owl:Class ;
    rdfs:comment "The text content (can be used for text content)."@en ;
    rdfs:label "Text content"@en ;
    rdfs:subClassOf cnt:Content .

cnt:ContentAsXML
    a rdfs:Class, owl:Class ;
    rdfs:comment "The XML content (can only be used for XML-wellformed content)."@en ;
    rdfs:label "XML content"@en ;
    rdfs:subClassOf cnt:Content .

cnt:DoctypeDecl
    a rdfs:Class, owl:Class ;
    rdfs:comment "The document type declaration."@en ;
    rdfs:label "Document type declaration"@en .

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

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

cnt:chars
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The character sequence of the text content."@en ;
    rdfs:domain cnt:ContentAsText ;
    rdfs:label "Character sequence"@en ;
    rdfs:range rdfs:Literal .

cnt:declaredEncoding
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The character encoding declared in the XML declaration."@en ;
    rdfs:domain cnt:ContentAsXML ;
    rdfs:label "XML character encoding"@en ;
    rdfs:range rdfs:Literal .

cnt:doctypeName
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The document type name."@en ;
    rdfs:domain cnt:DoctypeDecl ;
    rdfs:label "Document type name"@en ;
    rdfs:range rdfs:Literal .

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

cnt:internalSubset
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The internal document type definition subset within the document type declarations."@en ;
    rdfs:domain cnt:DoctypeDecl ;
    rdfs:label "Internal DTD subset"@en ;
    rdfs:range rdfs:Literal .

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

cnt:publicId
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The document type declarations's public identifier."@en ;
    rdfs:domain cnt:DoctypeDecl ;
    rdfs:label "Public ID"@en ;
    rdfs:range rdfs:Literal .

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

cnt:standalone
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The standalone declaration in the XML declaration."@en ;
    rdfs:domain cnt:ContentAsXML ;
    rdfs:label "XML standalone document declaration"@en ;
    rdfs:range rdfs:Literal .

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

cnt:version
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The XML version declared in the XML declaration."@en ;
    rdfs:domain cnt:ContentAsXML ;
    rdfs:label "XML version"@en ;
    rdfs:range rdfs:Literal .

