@prefix : <https://schema.coypu.org/metadata-template#> .
@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://schema.coypu.org/metadata-template#> .

<https://schema.coypu.org/metadata-template> rdf:type owl:Ontology ;
                                              rdfs:comment "An ontology for describing our meta data catalog." .

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

###  https://schema.coypu.org/metadata-template#graph
:graph rdf:type owl:ObjectProperty ;
       rdfs:range :DatasetGraph ;
       rdfs:comment "graph(s) where (parts of) this dataset is loaded" ;
       rdfs:label "graph" .


###  https://schema.coypu.org/metadata-template#isReferencedFrom
:isReferencedFrom rdf:type owl:ObjectProperty ;
                  rdfs:domain :DatasetGraph ;
                  rdfs:label "is referenced from" .


###  https://schema.coypu.org/metadata-template#licensePage
:licensePage rdf:type owl:ObjectProperty ;
             rdfs:comment "link to a web page or resource which contains (information about) the license that is applicable to this dataset" ;
             rdfs:label "license page" .


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

###  https://schema.coypu.org/metadata-template#fileName
:fileName rdf:type owl:DatatypeProperty ;
          rdfs:label "file name" .


###  https://schema.coypu.org/metadata-template#frequency
:frequency rdf:type owl:DatatypeProperty ;
           rdfs:comment "frequency that this dataset is reloaded into the server (automatically provisioned, do not add manually)" ;
           rdfs:label "frequency" .


###  https://schema.coypu.org/metadata-template#licenseNote
:licenseNote rdf:type owl:DatatypeProperty ;
             rdfs:comment "a textual note about the license, could be some remarks, custom license, name of the license" ;
             rdfs:label "license note" .


###  https://schema.coypu.org/metadata-template#theme
:theme rdf:type owl:DatatypeProperty ;
       rdfs:comment "the theme / domain / generic description what this dataset is about. Example: \"Conflict events\"" ;
       rdfs:label "theme" .


###  https://schema.coypu.org/metadata-template#type
:type rdf:type owl:DatatypeProperty ;
      rdfs:comment "source type, valid values include \"Dump\", \"Scraped\", \"API\", \"APIs\"" ;
      rdfs:label "type" .


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

###  https://schema.coypu.org/metadata-template#Catalog
:Catalog rdf:type owl:Class ;
         rdfs:comment "dataset catalog" ;
         rdfs:label "Catalog" .


###  https://schema.coypu.org/metadata-template#Dataset
:Dataset rdf:type owl:Class ;
         rdfs:comment "a CoyPu Dataset" ;
         rdfs:label "Dataset" .


###  https://schema.coypu.org/metadata-template#DatasetGraph
:DatasetGraph rdf:type owl:Class ;
              rdfs:comment "Graph containing (parts of) Datasets" ;
              rdfs:label "Dataset Graph" .


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