@prefix : <https://w3id.org/dsv-ontology#> .
@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/dsv-ontology#> .

<https://w3id.org/dsv-ontology#> rdf:type owl:Ontology ;
                                  <http://purl.org/dc/elements/1.1/contributor> "The DataSet-Variable Ontology is part of the work of the ODISSEI project, funded by the Netherlands Organisation of Scientific Research (NWO), ODISSEI Roadmap project: 184.035.014."@en ;
                                  <http://purl.org/dc/elements/1.1/creator> "Jacco van Ossenbruggen"@en ,
                                                                            "Margherita Martorana"@en ,
                                                                            "Ronald Siebes"@en ,
                                                                            "Tobias Kuhn"@en ;
                                  <http://purl.org/dc/elements/1.1/rights> "The DataSet-Variable Ontology Ontology is available under the Creative Commons Attribution 4.0 license; see http://creativecommons.org/licenses/by/4.0/."@en ;
                                  <http://purl.org/dc/elements/1.1/subject> "Dataset, Variable"@en ;
                                  <http://purl.org/dc/elements/1.1/title> "The DataSet-Variable Ontology"@en ;
                                  <http://purl.org/dc/terms/license> <http://creativecommons.org/licenses/by/4.0/> ;
                                  <http://purl.org/vocab/vann/preferredNamespacePrefix> "dsv" ;
                                  <http://purl.org/vocab/vann/preferredNamespaceUri> "https://w3id.org/dsv-ontology#" ;
                                  rdfs:comment "Ontology for describing relationships between datasets and variables."@en ,
                                               "Ontology for describing relationships between datasets and variables." ;
                                  rdfs:label "DataSet-Variable Ontology"@en ,
                                             "DataSet-Variable Ontology." ;
                                  owl:versionInfo "V1.0 - 2023 Release"@en ;
                                  <http://xmlns.com/foaf/0.1/homepage> <https://w3id.org/dsv-ontology> .

#################################################################
#    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/rights
<http://purl.org/dc/elements/1.1/rights> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/subject
<http://purl.org/dc/elements/1.1/subject> 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/dc/terms/license
<http://purl.org/dc/terms/license> 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 .


###  http://xmlns.com/foaf/0.1/homepage
<http://xmlns.com/foaf/0.1/homepage> rdf:type owl:AnnotationProperty .


###  https://w3id.org/dsv-ontology#hasCategories
:hasCategories rdf:type owl:AnnotationProperty ;
               rdfs:domain :CategoricalDataType .


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

###  http://purl.org/linked-data/cube#codeList
<http://purl.org/linked-data/cube#codeList> rdf:type owl:ObjectProperty .


###  http://purl.org/linked-data/cube#component
<http://purl.org/linked-data/cube#component> rdf:type owl:ObjectProperty .


###  http://purl.org/linked-data/cube#concept
<http://purl.org/linked-data/cube#concept> rdf:type owl:ObjectProperty .


###  http://purl.org/linked-data/cube#dimension
<http://purl.org/linked-data/cube#dimension> rdf:type owl:ObjectProperty .


###  http://purl.org/linked-data/cube#structure
<http://purl.org/linked-data/cube#structure> rdf:type owl:ObjectProperty .


###  http://www.w3.org/ns/csvw#column
<http://www.w3.org/ns/csvw#column> rdf:type owl:ObjectProperty .


###  http://www.w3.org/ns/csvw#propertyUrl
<http://www.w3.org/ns/csvw#propertyUrl> rdf:type owl:ObjectProperty .


###  http://www.w3.org/ns/csvw#tableSchema
<http://www.w3.org/ns/csvw#tableSchema> rdf:type owl:ObjectProperty .


###  https://w3id.org/dsv-ontology#column
:column rdf:type owl:ObjectProperty ;
        rdfs:subPropertyOf <http://purl.org/linked-data/cube#component> ,
                           <http://www.w3.org/ns/csvw#column> ;
        rdfs:domain :DatasetSchema ;
        rdfs:range :Column ;
        rdfs:comment "Property linking the dataset schema to its columns." ;
        rdfs:label "column" .


###  https://w3id.org/dsv-ontology#columnProperty
:columnProperty rdf:type owl:ObjectProperty ;
                rdfs:subPropertyOf <http://purl.org/linked-data/cube#dimension> ,
                                   <http://www.w3.org/ns/csvw#propertyUrl> ;
                rdfs:domain :Column ;
                rdfs:range :ColumnProperty ;
                rdfs:comment "Property linking a column to a property." ;
                rdfs:label "column property" .


###  https://w3id.org/dsv-ontology#datasetSchema
:datasetSchema rdf:type owl:ObjectProperty ;
               rdfs:subPropertyOf <http://purl.org/linked-data/cube#structure> ,
                                  <http://www.w3.org/ns/csvw#tableSchema> ;
               rdfs:domain :Dataset ;
               rdfs:range :DatasetSchema ;
               rdfs:comment "Property linking the dataset to its schema." ;
               rdfs:label "dataset schema" .


###  https://w3id.org/dsv-ontology#hasCodeBook
:hasCodeBook rdf:type owl:ObjectProperty ;
             rdfs:subPropertyOf <http://purl.org/linked-data/cube#codeList> ;
             rdfs:domain :ColumnProperty ;
             rdfs:range <http://www.w3.org/2004/02/skos/core#ConceptScheme> ;
             rdfs:comment "Property linking a column to a concept in codebooks." ;
             rdfs:label "has code book" .


###  https://w3id.org/dsv-ontology#hasVariable
:hasVariable rdf:type owl:ObjectProperty ;
             rdfs:subPropertyOf <http://purl.org/linked-data/cube#concept> ;
             rdfs:domain :ColumnProperty ;
             rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> ;
             rdfs:comment "Property linking a column to a concept variable." ;
             rdfs:label "has variable" .


###  https://w3id.org/dsv-ontology#statisticalDataType
:statisticalDataType rdf:type owl:ObjectProperty ;
                     rdfs:domain :SummaryStatistics ;
                     rdfs:range :StatisticalDataType ;
                     rdfs:comment "Property linking a component to its statistical data type." ;
                     rdfs:label "statistical data type" .


###  https://w3id.org/dsv-ontology#summaryStatistics
:summaryStatistics rdf:type owl:ObjectProperty ;
                   rdfs:comment "Property linking a dataset or a component to their summary statistics." ;
                   rdfs:label "summary statistics" .


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

###  https://w3id.org/dsv-ontology#columnCompleteness
:columnCompleteness rdf:type owl:DatatypeProperty ;
                    rdfs:domain :SummaryStatistics ;
                    rdfs:range xsd:float .


###  https://w3id.org/dsv-ontology#datasetCompleteness
:datasetCompleteness rdf:type owl:DatatypeProperty ;
                     rdfs:domain :SummaryStatistics ;
                     rdfs:range xsd:float .


###  https://w3id.org/dsv-ontology#missingValueFormat
:missingValueFormat rdf:type owl:DatatypeProperty ;
                    rdfs:domain :SummaryStatistics ;
                    rdfs:range xsd:string .


###  https://w3id.org/dsv-ontology#numberOfColumns
:numberOfColumns rdf:type owl:DatatypeProperty ;
                 rdfs:domain :SummaryStatistics ;
                 rdfs:range xsd:integer .


###  https://w3id.org/dsv-ontology#numberOfRows
:numberOfRows rdf:type owl:DatatypeProperty ;
              rdfs:domain :SummaryStatistics ;
              rdfs:range xsd:integer .


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

###  http://purl.org/linked-data/cube#ComponentSpecification
<http://purl.org/linked-data/cube#ComponentSpecification> rdf:type owl:Class .


###  http://purl.org/linked-data/cube#DataSet
<http://purl.org/linked-data/cube#DataSet> rdf:type owl:Class .


###  http://purl.org/linked-data/cube#DataStructureDefinition
<http://purl.org/linked-data/cube#DataStructureDefinition> rdf:type owl:Class .


###  http://purl.org/linked-data/cube#DimensionProperty
<http://purl.org/linked-data/cube#DimensionProperty> rdf:type owl:Class .


###  http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
rdf:Property rdf:type owl:Class .


###  http://www.w3.org/2002/07/owl#DataProperty
owl:DataProperty rdf:type owl:Class .


###  http://www.w3.org/2004/02/skos/core#Concept
<http://www.w3.org/2004/02/skos/core#Concept> rdf:type owl:Class .


###  http://www.w3.org/2004/02/skos/core#ConceptScheme
<http://www.w3.org/2004/02/skos/core#ConceptScheme> rdf:type owl:Class .


###  http://www.w3.org/ns/csvw#Column
<http://www.w3.org/ns/csvw#Column> rdf:type owl:Class .


###  http://www.w3.org/ns/csvw#Table
<http://www.w3.org/ns/csvw#Table> rdf:type owl:Class .


###  http://www.w3.org/ns/csvw#TableSchema
<http://www.w3.org/ns/csvw#TableSchema> rdf:type owl:Class .


###  https://w3id.org/dsv-ontology#CategoricalDataType
:CategoricalDataType rdf:type owl:Class ;
                     rdfs:subClassOf :StatisticalDataType ;
                     rdfs:comment "Set of statistical data types can be observed and - or - categorised." ;
                     rdfs:label "Categorical Statistical Data Type" .


###  https://w3id.org/dsv-ontology#Column
:Column rdf:type owl:Class ;
        rdfs:subClassOf <http://purl.org/linked-data/cube#ComponentSpecification> ,
                        <http://www.w3.org/ns/csvw#Column> ;
        rdfs:comment "Set of individual columns of a dataset." ;
        rdfs:label "Dataset Component" .


###  https://w3id.org/dsv-ontology#ColumnProperty
:ColumnProperty rdf:type owl:Class ;
                rdfs:subClassOf <http://purl.org/linked-data/cube#DimensionProperty> ,
                                rdf:Property ;
                rdfs:comment "RDF Properties represented by the column." ;
                rdfs:label "Column Property" .


###  https://w3id.org/dsv-ontology#Dataset
:Dataset rdf:type owl:Class ;
         rdfs:subClassOf <http://purl.org/linked-data/cube#DataSet> ,
                         <http://www.w3.org/ns/csvw#Table> ;
         rdfs:comment "Set of data." ;
         rdfs:label "Dataset" .


###  https://w3id.org/dsv-ontology#DatasetSchema
:DatasetSchema rdf:type owl:Class ;
               rdfs:subClassOf <http://purl.org/linked-data/cube#DataStructureDefinition> ,
                               <http://www.w3.org/ns/csvw#TableSchema> ;
               rdfs:comment "The structural schema of a dataset." ;
               rdfs:label "Dataset Schema" .


###  https://w3id.org/dsv-ontology#IntervalDataType
:IntervalDataType rdf:type owl:Class ;
                  rdfs:subClassOf :NumericalDataType ;
                  rdfs:comment "Statistical data type representing ordered data measured over a numerical scale with equal distance between units." ;
                  rdfs:label "Interval Statistical Data Type" .


###  https://w3id.org/dsv-ontology#NominalDataType
:NominalDataType rdf:type owl:Class ;
                 rdfs:subClassOf :CategoricalDataType ;
                 rdfs:comment "Statistical data type representing discrete units that cannot be ordered or measured." ;
                 rdfs:label "Nominal Statistical Data Type" .


###  https://w3id.org/dsv-ontology#NumericalDataType
:NumericalDataType rdf:type owl:Class ;
                   rdfs:subClassOf :StatisticalDataType ;
                   rdfs:comment "Set of statistical data types can be measured and quantified." ;
                   rdfs:label "Numerical Statistical Data Type" .


###  https://w3id.org/dsv-ontology#OrdinalDataType
:OrdinalDataType rdf:type owl:Class ;
                 rdfs:subClassOf :CategoricalDataType ;
                 rdfs:comment "Statistical data type representing discrete units that can be ordered or measured." ;
                 rdfs:label "Ordinal Statistical Data Type" .


###  https://w3id.org/dsv-ontology#RatioDataType
:RatioDataType rdf:type owl:Class ;
               rdfs:subClassOf :NumericalDataType ;
               rdfs:comment "Statistical data type representing ordered data with equal distance between units, where negative values are not allowed." ;
               rdfs:label "Ratio Statistical Data Type" .


###  https://w3id.org/dsv-ontology#StatisticalDataType
:StatisticalDataType rdf:type owl:Class ;
                     rdfs:comment "Set of statistical data types." ;
                     rdfs:label "Statistical Data Type" .


###  https://w3id.org/dsv-ontology#SummaryStatistics
:SummaryStatistics rdf:type owl:Class ;
                   rdfs:comment "Set of summary statistics about the dataset or column." ;
                   rdfs:label "Summary Statistics" .


#################################################################
#    Individuals
#################################################################

###  https://w3id.org/dsv-ontology#columnCompleteness
:columnCompleteness rdf:type owl:NamedIndividual ,
                             owl:DataProperty .


###  https://w3id.org/dsv-ontology#datasetCompleteness
:datasetCompleteness rdf:type owl:NamedIndividual ,
                              owl:DataProperty .


###  https://w3id.org/dsv-ontology#hasCategories
:hasCategories rdf:type owl:NamedIndividual ,
                        owl:DataProperty .


###  https://w3id.org/dsv-ontology#missingValueFormat
:missingValueFormat rdf:type owl:NamedIndividual ,
                             owl:DataProperty .


###  https://w3id.org/dsv-ontology#numberOfColumns
:numberOfColumns rdf:type owl:NamedIndividual ,
                          owl:DataProperty .


###  https://w3id.org/dsv-ontology#numberOfRows
:numberOfRows rdf:type owl:NamedIndividual ,
                       owl:DataProperty .


#################################################################
#    Annotations
#################################################################

:columnCompleteness rdfs:comment "Property linking a column to its summary statistics." ;
                    rdfs:label "column completeness" .


:datasetCompleteness rdfs:comment "Property linking a dataset to its summary statistics." ;
                     rdfs:label "dataset completeness" .


:hasCategories rdfs:comment "Property linking a categorical data type to the categories it can include." ;
               rdfs:label "has categories" .


:missingValueFormat rdfs:comment "Property linking a dataset or a column to the format of the missing values." ;
                    rdfs:label "missing value format" .


:numberOfColumns rdfs:comment "Property linking a dataset to its number of columns." ;
                 rdfs:label "number of columns" .


:numberOfRows rdfs:comment "Property linking a dataset to its number of rows." ;
              rdfs:label "number of rows" .


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