@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <https://w3id.org/eb#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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#> .
@prefix vann: <http://purl.org/vocab/vann/> .

dc:contributor
    a owl:AnnotationProperty .

dc:creator
    a owl:AnnotationProperty .

dc:description
    a owl:AnnotationProperty .

dc:license
    a owl:AnnotationProperty .

dc:title
    a owl:AnnotationProperty .

vann:preferredNamespacePrefix
    a owl:AnnotationProperty .

vann:preferredNamespaceUri
    a owl:AnnotationProperty .

<http://schema.org/Book>
    a owl:Class .

<http://schema.org/Organization>
    a owl:Class .

<http://schema.org/Person>
    a owl:Class .

<http://schema.org/PublicationVolume>
    a owl:Class .

<http://schema.org/birthDate>
    a owl:DatatypeProperty .

<http://schema.org/deathDate>
    a owl:DatatypeProperty .

<http://schema.org/editor>
    a owl:ObjectProperty .

<http://schema.org/hasPart>
    a owl:ObjectProperty .

<http://schema.org/identifier>
    a owl:DatatypeProperty .

<http://schema.org/publisher>
    a owl:ObjectProperty .

xsd:date
    a rdfs:Datatype .

<http://www.w3.org/ns/prov#wasRevisionOf>
    a owl:ObjectProperty .

<https://w3id.org/eb#>
    dc:contributor "Daniel Garijo"@en ;
    dc:creator "Rosa Filgueira" ;
    dc:description "An ontology designed to represent volumes, terms and editions of the Encyclopaedia Britannica. The ontology extends Schema.org."@en ;
    dc:license <https://opensource.org/licenses/MIT> ;
    dc:title "EB Ontology" ;
    vann:preferredNamespacePrefix "eb"@en ;
    vann:preferredNamespaceUri <https://w3id.org/eb> ;
    a owl:Ontology ;
    owl:versionIRI <https://w3id.org/eb/0.0.1> ;
    owl:versionInfo "0.0.1" .

:Article
    a owl:Class ;
    rdfs:comment "is the entry in the encyclopaedia describing a term in one or two paragraphs. Similar to an entry in a dictionary."@en ;
    rdfs:label "Article"@en ;
    rdfs:subClassOf :Term .

:Book
    a owl:Class ;
    rdfs:comment "is a book that is not part of the encyclopaedia."@en ;
    rdfs:label "Book"@en ;
    rdfs:subClassOf <http://schema.org/Book> .

:Edition
    a owl:Class ;
    rdfs:comment "is an edition of the encyclopaedia"@en ;
    rdfs:label "Edition"@en ;
    rdfs:subClassOf <http://schema.org/Book> .

:Number
    a owl:DatatypeProperty ;
    rdfs:comment "is the number of the item (e.g., volume 2, page 100, etc.)"@en ;
    rdfs:label "number"@en ;
    rdfs:range xsd:int .

:Organization
    a owl:Class ;
    rdfs:comment "is an organization"@en ;
    rdfs:label "Organization"@en ;
    rdfs:subClassOf <http://schema.org/Organization> .

:Page
    a owl:Class ;
    rdfs:comment "is an page that inside a volume."@en ;
    rdfs:label "Page"@en .

:Person
    a owl:Class ;
    rdfs:comment "is a person"@en ;
    rdfs:label "Person"@en ;
    rdfs:subClassOf <http://schema.org/Person> .

:Supplement
    a owl:Class ;
    rdfs:comment "is a supplement of an edition or edditions."@en ;
    rdfs:label "Supplement"@en ;
    rdfs:subClassOf <http://schema.org/Book> .

:Term
    a owl:Class ;
    rdfs:comment "is an entry of a volume of the encyclopaedia"@en ;
    rdfs:label "Term"@en .

:Topic
    a owl:Class ;
    rdfs:comment "is the entry in the encyclopaedia describing a term in one or several pages."@en ;
    rdfs:label "Topic"@en ;
    rdfs:subClassOf :Term .

:Volume
    a owl:Class ;
    rdfs:comment "a book from an edition or a supplement"@en ;
    rdfs:label "Volume"@en ;
    rdfs:subClassOf <http://schema.org/PublicationVolume> .

:altoXML
    a owl:DatatypeProperty ;
    rdfs:comment "is the name of the ALTO XML file representing a page from a particular volume."@en ;
    rdfs:label "alto XML"@en ;
    rdfs:range xsd:string .

:birthDate
    a owl:DatatypeProperty ;
    rdfs:comment "Date of birth of a person"@en ;
    rdfs:domain :Person ;
    rdfs:label "Birth date"@en ;
    rdfs:range xsd:dateTime ;
    rdfs:subPropertyOf <http://schema.org/birthDate> .

:deathDate
    a owl:DatatypeProperty ;
    rdfs:comment "Date of death of a person"@en ;
    rdfs:domain :Person ;
    rdfs:label "death date"@en ;
    rdfs:range xsd:dateTime ;
    rdfs:subPropertyOf <http://schema.org/deathDate> .

:definition
    a owl:DatatypeProperty ;
    rdfs:comment "is the definition of a term in the encyclopaedia."@en ;
    rdfs:domain :Term ;
    rdfs:label "definition"@en ;
    rdfs:range xsd:string .

:editor
    a owl:ObjectProperty ;
    rdfs:comment "is the editor of an edition or supplement"@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "editor"@en ;
    rdfs:range :Person ;
    rdfs:subPropertyOf <http://schema.org/editor> .

:endsAtPage
    a owl:ObjectProperty ;
    rdfs:comment "is the page in which the description of a term finishes."@en ;
    rdfs:domain :Term ;
    rdfs:label "ends at page"@en ;
    rdfs:range :Page .

:genre
    a owl:DatatypeProperty ;
    rdfs:comment "is the genre of an edition or a supplement."@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "genre"@en ;
    rdfs:range xsd:string .

:hasPart
    a owl:ObjectProperty ;
    rdfs:comment "is the parthood property relating a Whole to a Part."@en ;
    rdfs:label "has part"@en ;
    rdfs:subPropertyOf <http://schema.org/hasPart> .

:header
    a owl:DatatypeProperty ;
    rdfs:comment "is the header of a page"@en ;
    rdfs:domain :Page ;
    rdfs:label "header"@en ;
    rdfs:range xsd:string .

:language
    a owl:DatatypeProperty ;
    rdfs:comment "is the language used to write the encyclopaedia"@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
            :Volume
        )
    ] ;
    rdfs:label "language"@en ;
    rdfs:range xsd:string .

:letters
    a owl:DatatypeProperty ;
    rdfs:comment "is the range from which the terms of an edition or supplement are splitted across volumes."@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "letters"@en ;
    rdfs:range xsd:string .

:metsXML
    a owl:DatatypeProperty ;
    rdfs:comment "is the name of the METS XML file representing a volume from a particular edition or supplement."@en ;
    rdfs:label "mets XML"@en ;
    rdfs:range xsd:string .

:mmsid
    a owl:DatatypeProperty ;
    rdfs:comment "is the Metadata Management System identifier of an edition or supplement"@en ;
    rdfs:label "mmsid"@en ;
    rdfs:range xsd:string ;
    rdfs:subPropertyOf <http://schema.org/identifier> .

:name
    a owl:DatatypeProperty ;
    rdfs:comment "is the name of an item"@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Organization
            :Person
            :Term
        )
    ] ;
    rdfs:label "name"@en ;
    rdfs:range xsd:string .

:numberOfPages
    a owl:DatatypeProperty ;
    rdfs:comment "is the number of pages of a volume."@en ;
    rdfs:domain :Volume ;
    rdfs:label "number of pages"@en ;
    rdfs:range xsd:int .

:numberOfTerms
    a owl:DatatypeProperty ;
    rdfs:comment "is the number of terms of a page."@en ;
    rdfs:domain :Page ;
    rdfs:label "number of terms"@en ;
    rdfs:range xsd:int .

:numberOfVolumes
    a owl:DatatypeProperty ;
    rdfs:comment "is the number of volumes of an edition or supplement."@en ;
    rdfs:label "number of volumes"@en ;
    rdfs:range xsd:int .

:numberOfWords
    a owl:DatatypeProperty ;
    rdfs:comment "is the number of words of an entry in the encyclopaedia."@en ;
    rdfs:label "number of words"@en ;
    rdfs:range xsd:int .

:part
    a owl:DatatypeProperty ;
    rdfs:comment "is the number representing the part of a volume. E.g., part 1 of 2"@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Volume
        )
    ] ;
    rdfs:label "part" ;
    rdfs:range xsd:int .

:permanentURL
    a owl:DatatypeProperty ;
    rdfs:comment "is the permanent URL of a volume in the NLS."@en ;
    rdfs:label "permanent URL"@en ;
    rdfs:range xsd:string ;
    rdfs:subPropertyOf <http://schema.org/identifier> .

:physicalDescription
    a owl:DatatypeProperty ;
    rdfs:comment "is the physical description of an edition or supplement."@en ;
    rdfs:label "physical description"@en ;
    rdfs:range xsd:string .

:position
    a owl:DatatypeProperty ;
    rdfs:comment "Number representing the position in which a term appears  in a page."@en ;
    rdfs:domain :Term ;
    rdfs:label "position"@en ;
    rdfs:range xsd:int .

:printedAt
    a owl:DatatypeProperty ;
    rdfs:comment "is the place in which an edition or supplement was printed." ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "printed at"@en ;
    rdfs:range xsd:string .

:publicationYear
    a owl:DatatypeProperty ;
    rdfs:comment "is the year that an edition or supplement was published."@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "publication year"@en ;
    rdfs:range xsd:int .

:publisher
    a owl:ObjectProperty ;
    rdfs:comment "is the publisher of an edition or supplement. The publisher can be one or several persons, and/or an organization"@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "publisher"@en ;
    rdfs:range [
        a owl:Class ;
        owl:unionOf (:Organization
            :Person
        )
    ] ;
    rdfs:subPropertyOf <http://schema.org/publisher> .

:referencedBy
    a owl:ObjectProperty ;
    rdfs:comment "is a book which references an edition"@en ;
    rdfs:domain :Edition ;
    rdfs:label "referenced by"@en ;
    rdfs:range :Book .

:relatedTerms
    a owl:ObjectProperty ;
    rdfs:comment "is a property describing that a term is related with other terms."@en ;
    rdfs:domain :Term ;
    rdfs:label "related terms"@en ;
    rdfs:range :Term .

:revisionOf
    a owl:ObjectProperty ;
    rdfs:comment "is the property indicating the creatin of a new revision of an item"@en ;
    rdfs:domain :Edition ;
    rdfs:label "revision of"@en ;
    rdfs:range :Edition ;
    rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasRevisionOf> .

:shelfLocator
    a owl:DatatypeProperty ;
    rdfs:comment "is the shelf locator in which an edition or supplement is stored in the library."@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "shelf locator"@en ;
    rdfs:range xsd:string .

:similarTerms
    a owl:ObjectProperty ;
    rdfs:comment "is a property describing that a term is similar to other terms."@en ;
    rdfs:domain :Term ;
    rdfs:label "similar terms"@en ;
    rdfs:range :Term .

:startsAtPage
    a owl:ObjectProperty ;
    rdfs:comment "is the page in which the description of a term starts."@en ;
    rdfs:domain :Term ;
    rdfs:label "starts at page"@en ;
    rdfs:range :Page .

:subtitle
    a owl:DatatypeProperty ;
    rdfs:comment "is the subtitle of an item."@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
        )
    ] ;
    rdfs:label "subtitle"@en ;
    rdfs:range xsd:string .

:supplementsTo
    a owl:ObjectProperty ;
    rdfs:comment "is the edition(s) that a supplement supplements."@en ;
    rdfs:domain :Supplement ;
    rdfs:label "supplements to"@en ;
    rdfs:range :Edition .

:termsOfAddress
    a owl:DatatypeProperty ;
    rdfs:comment "is the terms of address of a person."@en ;
    rdfs:domain :Person ;
    rdfs:label "terms of address"@en ;
    rdfs:range xsd:string .

:title
    a owl:DatatypeProperty ;
    rdfs:comment "is the title of an item."@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Edition
            :Supplement
            :Volume
        )
    ] ;
    rdfs:label "title"@en ;
    rdfs:range xsd:string .

:volumeId
    a owl:DatatypeProperty ;
    rdfs:comment "is the identifier of a volume."@en ;
    rdfs:label "volume id"@en ;
    rdfs:range xsd:string ;
    rdfs:subPropertyOf <http://schema.org/identifier> .

