@base <http://purl.org/weso/ontology/computex> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix cex: <#> .
@prefix wf-org: <http://data.webfoundation.org/organization/> .
@prefix wf-people: <http://data.webfoundation.org/people/> .
@prefix wf-onto: <http://data.webfoundation.org/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <../../dc/terms/> .
@prefix earl: <http://www.w3.org/ns/earl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix lg: <http://linkedgeodata.org/ontology/> .
@prefix qb: <../../linked-data/cube#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sdmx-concept: <../../linked-data/sdmx/2009/concept#> .

<>
    dcterms:author wf-org:WESO, wf-people:Chema, wf-people:Labra ;
    dcterms:contributor wf-org:WESO, wf-people:Chema, wf-people:Hania, wf-people:Jules, wf-people:Labra ;
    dcterms:created "2012-06-07"^^xsd:date ;
    dcterms:license <http://www.opendatacommons.org/licenses/pddl/1.0/> ;
    dcterms:modified "2013-06-07"^^xsd:date ;
    dcterms:publisher wf-org:WebFoundation ;
    dcterms:title "Core Computational Index ontology"@en ;
    a owl:Ontology ;
    rdfs:comment "Vocabulary for describing index structures and observations."@en ;
    rdfs:label "Computational Index ontology"@en ;
    owl:versionInfo "0.2" .

cex:Adjust
    a rdfs:Class, owl:Class ;
    rdfs:label "Adjust a value by adding a value"@en ;
    rdfs:subClassOf cex:Computation .

cex:AverageGrowth
    a rdfs:Class, owl:Class ;
    rdfs:label "Impute a value as the average growth of a list of values"@en ;
    rdfs:subClassOf cex:Computation .

cex:Cluster
    a cex:ObsStatus, rdfs:Class, owl:Class ;
    rdfs:comment "Data values that have been clustered by the value of one dimension"@en ;
    rdfs:label "Cluster a dataset by copying only the values of some dimension"@en, "Cluster data"@en ;
    rdfs:subClassOf cex:Computation .

cex:Component
    a rdfs:Class, owl:Class ;
    rdfs:comment "A component is an aggregation of several indicators" ;
    rdfs:label "Component", "Component"@en, "Componente"@es ;
    skos:broader cex:SubIndex .

cex:Computation
    a rdfs:Class, owl:Class ;
    rdfs:label "Computation"@en .

cex:Computed
    a cex:ObsStatus ;
    rdfs:comment "Data values that have been computed by some algorithm."@en ;
    rdfs:label "Computed data"@en .

cex:Copy
    a rdfs:Class, owl:Class ;
    rdfs:label "Value copied from other observation"@en ;
    rdfs:subClassOf cex:Computation .

cex:Error
    a rdfs:Class, owl:Class ;
    rdfs:label "Validation Error"@en ;
    rdfs:subClassOf earl:TestResult ;
    owl:equivalentClass [
        a owl:Restriction ;
        owl:hasValue earl:failed ;
        owl:onProperty earl:outcome
    ] .

cex:ErrorParam
    a owl:Class ;
    rdfs:label "Error Parameter" ;
    rdfs:subClassOf cex:Param .

cex:Filter
    a rdfs:Class, owl:Class ;
    rdfs:label "Value copied from other observation"@en ;
    rdfs:subClassOf cex:Computation .

cex:FilterDefinition
    a rdfs:Class, owl:Class ;
    rdfs:label "Filter definition"@en .

cex:GroupMean
    a rdfs:Class, owl:Class ;
    rdfs:label "Mean of a group of observations"@en ;
    rdfs:subClassOf cex:Computation .

cex:High
    a skos:Concept ;
    rdfs:comment "A high value is preferred than a lower one"@en ;
    rdfs:label "High"@en ;
    rdfs:subClassOf cex:HighLow .

cex:HighLow
    a rdfs:Class, skos:Concept ;
    rdfs:label "High/Low"@en .

cex:Imputed
    a cex:ObsStatus ;
    rdfs:comment "Data values that have been imputed from their raw version"@en ;
    rdfs:label "Imputed data"@en .

cex:ImputedSlice
    a rdfs:Class, owl:Class ;
    rdfs:label "Impute values from a Slice"@en ;
    rdfs:subClassOf cex:Computation .

cex:Index
    a rdfs:Class, owl:Class ;
    rdfs:label "Index"@en, "Índice"@es .

cex:Indicator
    a rdfs:Class, owl:Class ;
    rdfs:comment "A given indicator. Several indicators make a Component" ;
    rdfs:label "Indicator" ;
    skos:broader cex:Component .

cex:Low
    a skos:Concept ;
    rdfs:comment "A low value is preferred than a higher one"@en ;
    rdfs:label "Low"@en ;
    rdfs:subClassOf cex:HighLow .

cex:Mean
    a rdfs:Class, owl:Class ;
    rdfs:label "Mean of other observations"@en ;
    rdfs:subClassOf cex:Computation .

cex:Normalize
    a rdfs:Class, owl:Class ;
    rdfs:label "Normalize an observation (z-score)"@en ;
    rdfs:subClassOf cex:Computation .

cex:Normalized
    a cex:ObsStatus ;
    rdfs:comment "Data values that have been normalized. Usually by z-scores"@en ;
    rdfs:label "Normalized data"@en .

cex:Observation
    a rdfs:Class, owl:Class ;
    rdfs:comment "An observation" ;
    rdfs:label "Observation" .

cex:Param
    a owl:Class ;
    rdfs:label "Parameter"@en .

cex:Ranked
    a cex:ObsStatus ;
    rdfs:comment "Data values that have been obtained by ranking their position."@en ;
    rdfs:label "Ranked data"@en .

cex:Ranking
    a rdfs:Class, owl:Class ;
    rdfs:label "Ranking of a slice"@en ;
    rdfs:subClassOf cex:Computation .

cex:RankingScore
    a rdfs:Class, owl:Class ;
    rdfs:label "Ranking Score"@en ;
    rdfs:subClassOf cex:Indicator .

cex:Raw
    a cex:ObsStatus, rdfs:Class, owl:Class ;
    rdfs:comment "Raw data values that have been collected from a datasource without any normalisation process."@en ;
    rdfs:label "Raw data"@en, "Raw value, not computed"@en ;
    rdfs:subClassOf cex:Computation .

cex:SheetData
    a rdfs:Class, owl:Class ;
    rdfs:label "Sheet data"@en ;
    rdfs:subClassOf skos:Concept .

cex:SubIndex
    a rdfs:Class, owl:Class ;
    rdfs:label "Subindex", "Subindex"@en, "Subíndice"@es .

cex:Weight
    a rdfs:Class, owl:Class ;
    rdfs:label "Obtain from an observation and a weightSchema"@en ;
    rdfs:subClassOf cex:Computation .

cex:Weighted
    a rdfs:Class, owl:Class ;
    rdfs:label "Weight value"@en ;
    rdfs:subClassOf cex:Computation .

cex:WeightedMean
    a rdfs:Class, owl:Class ;
    rdfs:label "Weighted mean using a weightSchema"@en ;
    rdfs:subClassOf cex:Computation .

cex:component
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Component that provides the indicator"@en ;
    rdfs:domain cex:Indicator ;
    rdfs:label "has-component"@en ;
    rdfs:range cex:Component .

cex:errorParam
    a owl:ObjectProperty ;
    rdfs:domain cex:Error ;
    rdfs:range cex:ErrorParam .

cex:highLow
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Indicates which value if High (Low) values are preferred"@en ;
    rdfs:label "high/low property"@en ;
    rdfs:range skos:Concept .

cex:indicator
    a owl:FunctionalProperty ;
    rdfs:domain cex:Observation ;
    rdfs:range cex:Indicator .

cex:md5-checksum
    a owl:DatatypeProperty ;
    rdfs:label "MD5 Checksum" .

cex:msg
    a owl:DatatypeProperty ;
    rdfs:label "Message"@en .

cex:name
    a owl:DatatypeProperty ;
    rdfs:domain cex:Param ;
    rdfs:range xsd:String .

cex:unit
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Measure unit"@en ;
    rdfs:label "unit of measure property"@en ;
    rdfs:range rdf:Resource .

