@prefix : <https://w3id.org/nls#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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#> .
@base <https://w3id.org/nls#> .

<https://w3id.org/nls#> rdf:type owl:Ontology ;
                         owl:versionIRI <https://w3id.org/nls/0.0.1> ;
                         <http://purl.org/dc/elements/1.1/creator> "Rosa Filgueira" ;
                         <http://purl.org/dc/elements/1.1/description> "An ontology designed to represent series and volumes from NLS digital collection. The ontology extends Schema.org."@en ;
                         <http://purl.org/dc/elements/1.1/license> <https://opensource.org/licenses/MIT> ;
                         <http://purl.org/dc/elements/1.1/title> "NLS Ontology" ;
                         <http://purl.org/vocab/vann/preferredNamespacePrefix> "nls"@en ;
                         <http://purl.org/vocab/vann/preferredNamespaceUri> <https://w3id.org/nls> ;
                         owl:versionInfo "0.0.1" .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/elements/1.1/contributor
<http://purl.org/dc/elements/1.1/contributor> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/creator
<http://purl.org/dc/elements/1.1/creator> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/description
<http://purl.org/dc/elements/1.1/description> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/license
<http://purl.org/dc/elements/1.1/license> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/title
<http://purl.org/dc/elements/1.1/title> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespaceUri
<http://purl.org/vocab/vann/preferredNamespaceUri> rdf:type owl:AnnotationProperty .


#################################################################
#    Datatypes
#################################################################

###  http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .


#################################################################
#    Object Properties
#################################################################

###  http://schema.org/editor
<http://schema.org/editor> rdf:type owl:ObjectProperty .


###  http://schema.org/hasPart
<http://schema.org/hasPart> rdf:type owl:ObjectProperty .


###  http://schema.org/publisher
<http://schema.org/publisher> rdf:type owl:ObjectProperty .


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


###  https://w3id.org/nls#editor
:editor rdf:type owl:ObjectProperty ;
        rdfs:subPropertyOf <http://schema.org/editor> ;
        rdfs:domain [ rdf:type owl:Class ;
                      owl:unionOf ( :Serie
                                    :Supplement
                                  )
                    ] ;
        rdfs:range :Person ;
        rdfs:comment "is the editor of a serie or supplement"@en ;
        rdfs:label "editor"@en .


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


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


###  https://w3id.org/nls#referencedBy
:referencedBy rdf:type owl:ObjectProperty ;
              rdfs:domain :Serie ;
              rdfs:range :Book ;
              rdfs:comment "is a book which references a serie"@en ;
              rdfs:label "referenced by"@en .


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


###  https://w3id.org/nls#supplementsTo
:supplementsTo rdf:type owl:ObjectProperty ;
               rdfs:domain :Supplement ;
               rdfs:range :Serie ;
               rdfs:comment "is the serie(s) that a supplement supplements."@en ;
               rdfs:label "supplements to"@en .


#################################################################
#    Data properties
#################################################################

###  http://schema.org/birthDate
<http://schema.org/birthDate> rdf:type owl:DatatypeProperty .


###  http://schema.org/deathDate
<http://schema.org/deathDate> rdf:type owl:DatatypeProperty .


###  http://schema.org/identifier
<http://schema.org/identifier> rdf:type owl:DatatypeProperty .


###  https://w3id.org/nls#altoXML
:altoXML rdf:type owl:DatatypeProperty ;
         rdfs:range xsd:string ;
         rdfs:comment "is the name of the ALTO XML file representing a page from a particular volume."@en ;
         rdfs:label "alto XML"@en .


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


###  https://w3id.org/nls#collection
:collection rdf:type owl:DatatypeProperty ;
            rdfs:domain [ rdf:type owl:Class ;
                          owl:unionOf ( :Serie
                                      )
                        ] ;
            rdfs:range xsd:string ;
            rdfs:comment "is the name of the collection that series belong to." ;
            rdfs:label "collection name"@en .


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


###  https://w3id.org/nls#genre
:genre rdf:type owl:DatatypeProperty ;
       rdfs:domain [ rdf:type owl:Class ;
                     owl:unionOf ( :Serie
                                   :Supplement
                                 )
                   ] ;
       rdfs:range xsd:string ;
       rdfs:comment "is the genre of a serie or a supplement."@en ;
       rdfs:label "genre"@en .


###  https://w3id.org/nls#header
:header rdf:type owl:DatatypeProperty ;
        rdfs:domain :Page ;
        rdfs:range xsd:string ;
        rdfs:comment "is the header of a page"@en ;
        rdfs:label "header"@en .


###  https://w3id.org/nls#language
:language rdf:type owl:DatatypeProperty ;
          rdfs:domain [ rdf:type owl:Class ;
                        owl:unionOf ( :Serie
                                      :Supplement
                                      :Volume
                                    )
                      ] ;
          rdfs:range xsd:string ;
          rdfs:comment "is the language used to write the serie"@en ;
          rdfs:label "language"@en .


###  https://w3id.org/nls#metsXML
:metsXML rdf:type owl:DatatypeProperty ;
         rdfs:range xsd:string ;
         rdfs:comment "is the name of the METS XML file representing a volume from a particular serie or supplement."@en ;
         rdfs:label "mets XML"@en .


###  https://w3id.org/nls#mmsid
:mmsid rdf:type owl:DatatypeProperty ;
       rdfs:subPropertyOf <http://schema.org/identifier> ;
       rdfs:range xsd:string ;
       rdfs:comment "is the Metadata Management System identifier of a serie or supplement"@en ;
       rdfs:label "mmsid"@en .


###  https://w3id.org/nls#name
:name rdf:type owl:DatatypeProperty ;
      rdfs:domain [ rdf:type owl:Class ;
                    owl:unionOf ( :Organization
                                  :Person
                                )
                  ] ;
      rdfs:range xsd:string ;
      rdfs:comment "is the name of an item"@en ;
      rdfs:label "name"@en .


###  https://w3id.org/nls#number
:number rdf:type owl:DatatypeProperty ;
        rdfs:range xsd:int ;
        rdfs:comment "is the number of the item (e.g., volume 2, page 100, etc.)"@en ;
        rdfs:label "number"@en .


###  https://w3id.org/nls#numberOfPages
:numberOfPages rdf:type owl:DatatypeProperty ;
               rdfs:domain :Volume ;
               rdfs:range xsd:int ;
               rdfs:comment "is the number of pages of a volume."@en ;
               rdfs:label "number of pages"@en .


###  https://w3id.org/nls#numberOfVolumes
:numberOfVolumes rdf:type owl:DatatypeProperty ;
                 rdfs:range xsd:int ;
                 rdfs:comment "is the number of volumes of a series or supplement."@en ;
                 rdfs:label "number of volumes"@en .


###  https://w3id.org/nls#numberOfWords
:numberOfWords rdf:type owl:DatatypeProperty ;
               rdfs:range xsd:int ;
               rdfs:comment "is the number of words of an entry in the serie."@en ;
               rdfs:label "number of words"@en .


###  https://w3id.org/nls#part
:part rdf:type owl:DatatypeProperty ;
      rdfs:domain [ rdf:type owl:Class ;
                    owl:unionOf ( :Serie
                                  :Volume
                                )
                  ] ;
      rdfs:range xsd:int ;
      rdfs:comment "is the number representing the part of a volume. E.g., part 1 of 2"@en ;
      rdfs:label "part" .


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


###  https://w3id.org/nls#physicalDescription
:physicalDescription rdf:type owl:DatatypeProperty ;
                     rdfs:range xsd:string ;
                     rdfs:comment "is the physical description of a serie or supplement."@en ;
                     rdfs:label "physical description"@en .


###  https://w3id.org/nls#printedAt
:printedAt rdf:type owl:DatatypeProperty ;
           rdfs:domain [ rdf:type owl:Class ;
                         owl:unionOf ( :Serie
                                       :Supplement
                                     )
                       ] ;
           rdfs:range xsd:string ;
           rdfs:comment "is the place in which a serie or supplement was printed." ;
           rdfs:label "printed at"@en .


###  https://w3id.org/nls#publicationYear
:publicationYear rdf:type owl:DatatypeProperty ;
                 rdfs:domain [ rdf:type owl:Class ;
                               owl:unionOf ( :Serie
                                             :Supplement
                                           )
                             ] ;
                 rdfs:range xsd:int ;
                 rdfs:comment "is the year that a serie or supplement was published."@en ;
                 rdfs:label "publication year"@en .


###  https://w3id.org/nls#shelfLocator
:shelfLocator rdf:type owl:DatatypeProperty ;
              rdfs:domain [ rdf:type owl:Class ;
                            owl:unionOf ( :Serie
                                          :Supplement
                                        )
                          ] ;
              rdfs:range xsd:string ;
              rdfs:comment "is the shelf locator in which a serie or supplement is stored in the library."@en ;
              rdfs:label "shelf locator"@en .


###  https://w3id.org/nls#subtitle
:subtitle rdf:type owl:DatatypeProperty ;
          rdfs:domain [ rdf:type owl:Class ;
                        owl:unionOf ( :Serie
                                      :Supplement
                                    )
                      ] ;
          rdfs:range xsd:string ;
          rdfs:comment "is the subtitle of an item."@en ;
          rdfs:label "subtitle"@en .


###  https://w3id.org/nls#termsOfAddress
:termsOfAddress rdf:type owl:DatatypeProperty ;
                rdfs:domain :Person ;
                rdfs:range xsd:string ;
                rdfs:comment "is the terms of address of a person."@en ;
                rdfs:label "terms of address"@en .


###  https://w3id.org/nls#text
:text rdf:type owl:DatatypeProperty ;
      rdfs:domain :Page ;
      rdfs:range xsd:string ;
      rdfs:comment "is the text of page."@en ;
      rdfs:label "text"@en .


###  https://w3id.org/nls#title
:title rdf:type owl:DatatypeProperty ;
       rdfs:domain [ rdf:type owl:Class ;
                     owl:unionOf ( :Serie
                                   :Supplement
                                   :Volume
                                 )
                   ] ;
       rdfs:range xsd:string ;
       rdfs:comment "is the title of an item."@en ;
       rdfs:label "title"@en .


###  https://w3id.org/nls#volumeId
:volumeId rdf:type owl:DatatypeProperty ;
          rdfs:subPropertyOf <http://schema.org/identifier> ;
          rdfs:range xsd:int ;
          rdfs:comment "is the identifier of a volume."@en ;
          rdfs:label "volume id"@en .


#################################################################
#    Classes
#################################################################

###  http://schema.org/Book
<http://schema.org/Book> rdf:type owl:Class .


###  http://schema.org/Organization
<http://schema.org/Organization> rdf:type owl:Class .


###  http://schema.org/Person
<http://schema.org/Person> rdf:type owl:Class .


###  http://schema.org/PublicationVolume
<http://schema.org/PublicationVolume> rdf:type owl:Class .


###  https://w3id.org/nls#Book
:Book rdf:type owl:Class ;
      rdfs:subClassOf <http://schema.org/Book> ;
      rdfs:comment "is a book that is not part of the serie."@en ;
      rdfs:label "Book"@en .


###  https://w3id.org/nls#Organization
:Organization rdf:type owl:Class ;
              rdfs:subClassOf <http://schema.org/Organization> ;
              rdfs:comment "is an organization"@en ;
              rdfs:label "Organization"@en .


###  https://w3id.org/nls#Page
:Page rdf:type owl:Class ;
      rdfs:comment "is an page that inside a volume."@en ;
      rdfs:label "Page"@en .


###  https://w3id.org/nls#Person
:Person rdf:type owl:Class ;
        rdfs:subClassOf <http://schema.org/Person> ;
        rdfs:comment "is a person"@en ;
        rdfs:label "Person"@en .


###  https://w3id.org/nls#Serie
:Serie rdf:type owl:Class ;
       rdfs:subClassOf <http://schema.org/Book> ;
       rdfs:comment "is a serie of the NLS"@en ;
       rdfs:label "Serie"@en .


###  https://w3id.org/nls#Supplement
:Supplement rdf:type owl:Class ;
            rdfs:subClassOf <http://schema.org/Book> ;
            rdfs:comment "is a supplement of a serie or edditions."@en ;
            rdfs:label "Supplement"@en .


###  https://w3id.org/nls#Volume
:Volume rdf:type owl:Class ;
        rdfs:subClassOf <http://schema.org/PublicationVolume> ;
        rdfs:comment "a book from a serie or a supplement"@en ;
        rdfs:label "Volume"@en .


###  Generated by the OWL API (version 5.1.18) https://github.com/owlcs/owlapi/
