A vocabulary for representing statistical data. Three basic concepts are used: a dataset, representing the container of some data, such as a table holding some data in its cells; a data item, representing a single piece of data (e.g. a cell in a table); a dimension, representing some kind of unit of a single piece of data (for example a time period, location, etc.)
The following examples shows how to use scovo to model statistics for airline on-time arrivals and departures more...
@prefix ex: <http://example.org/on-time-flight#> .
@prefix scv: <http://purl.org/NET/scovo#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# domain schema definitions
ex:TimePeriod rdfs:subClassOf scv:Dimension ;
dc:title "time period" .
ex:Q12006 rdf:type ex:TimePeriod ;
dc:title "2006 Q1" ;
scv:min "2006-01-01"^^xsd:date ;
scv:max "2006-03-31"^^xsd:date .
ex:OnTime rdfs:subClassOf scv:Dimension ;
dc:title "on-time arrivals or departures" .
ex:ota rdf:type ex:OnTime ;
dc:title "on-time arrivals" .
ex:Airport rdfs:subClassOf scv:Dimension ;
dc:title "airport" .
ex:AtlantaHartsfield rdf:type ex:Airport ;
dc:title "Atlanta, Hartsfield" .
# dataset and data items instances
ex:ontime-flights rdf:type scv:Dataset ;
dc:title "On-time Flight Arrivals and Departures at Major U.S. Airports: 2006" ;
scv:datasetOf ex:AtlantaHartsfield-ota-2006-q1 .
ex:AtlantaHartsfield-ota-2006-q1 rdf:type scv:Item ;
rdf:value 74 ;
scv:dataset ex:ontime-flights ;
scv:dimension ex:Q12006 ;
scv:dimension ex:ota ;
scv:dimension ex:AtlantaHartsfield .