Data Catalog Vocabulary/CKAN in RDF

From W3C eGovernment Wiki
Jump to: navigation, search

CKAN, the Comprehensive Knowledge Archive Network, is a registry of open data and content packages. Among many other datasets, it contains the entire data.gov catalog.

An experimental RDF version of the CKAN catalog is available at http://world.ckan.net/ . Note, this is not really released yet!

The data.gov catalog in RDF (excerpt):

 @prefix dcat: <http://vocab.deri.ie/dcat#> .
 @prefix dc: <http://purl.org/dc/terms/> .
 <http://world.ckan.net/data.gov.uk/data>
   a dcat:Catalog;
   dc:modified "2010-04-14T08:50:03.967080"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
   dc:publisher <http://ckan.net/> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/2008_injury_road_traffic_collisions_in_northern_ireland> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abandoned_vehicles> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abortion_statistics> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abortion_statistics_england_and_wales> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abortions> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abortions_statistics> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/absenteeism_from_primary_schools_in_wales> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/absenteeism_from_secondary_schools_in_wales> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abstract_of_scottish_agricultural_statistics> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abstract_of_statistics_for_benefits_national_insurance_contributions_and_indices_of_prices_and_earni> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abstraction-licences-in-force-and-new-licences-determined> ;
   dcat:record <http://world.ckan.net/data.gov.uk/data/abstractions-from-nontotidal-surface-water-and-groundwater-by-use-1971to2007> ;
   .

One dataset in RDF:

 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix dcat: <http://vocab.deri.ie/dcat#> .
 @prefix dc: <http://purl.org/dc/terms/> .
 @prefix owl: <http://www.w3.org/2002/07/owl#> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 <http://data.gov.uk/dataset/baby_names_england_and_wales>
   a dcat:Dataset ;
   dc:date "2009-09-08"^^<http://www.w3.org/2001/XMLSchema#date> ;
   dc:description """Top 100 names for baby boys and girls in England and Wales.
     Source agency: Office for National Statistics
     Designation: National Statistics
     Language: English
     Alternative title: Baby Names""" ;
   dc:extent "National Statistic" ;
   dc:identifier "baby_names_england_and_wales" ;
   dc:issued "2009-09-08"^^<http://www.w3.org/2001/XMLSchema#date> ;
   dc:publisher _:r1271759517r8905r2 ;
   dc:rights <http://world.ckan.net/data.gov.uk/data/baby_names_england_and_wales#rights> ;
   dc:rightsHolder _:r1271759517r8905r2 ;
   dc:source [
       rdfs:label "ONS-ons_data_2009-09"
   ] ;
   dc:spatial "101000: England, Wales" ;
   dc:subject "Population" ;
   dc:temporal "-" ;
   dc:title "Baby Names, England and Wales" ;
   dcat:distribution <http://www.statistics.gov.uk/statbase/Prep/15282.asp> ;
   dcat:granularity "", "Region" ;
   dcat:keyword "baby-names", "birth", "births-and-fertility", "life-events", "live-births-and-stillbirths", "population" ;
   rdfs:label "Baby Names, England and Wales" ;
   owl:sameAs <urn:uuid:5558a496-7a89-4376-96ae-e43c38194879> .
 <http://world.ckan.net/data.gov.uk/data/baby_names_england_and_wales>
   a dcat:CatalogRecord ;
   dc:modified "2010-04-14T08:55:06.183696"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
   dc:publisher <http://ckan.net/> ;
   dcat:dataset <http://data.gov.uk/dataset/baby_names_england_and_wales> ;
   rdfs:comment "Generated with ckanrdf hg-20-70727c9f0095" .
 <http://world.ckan.net/data.gov.uk/data/baby_names_england_and_wales#rights>
   rdfs:comment "TODO: proper URI for licenses" ;
   rdfs:label "Non-OKD Compliant::Crown Copyright" .
 <http://www.statistics.gov.uk/statbase/Prep/15282.asp>
   rdfs:label "2008 | hub/id/77-28487" .