Skip to content

convert complete service

timrdf edited this page Feb 8, 2012 · 29 revisions

background: https://github.com/timrdf/csv2rdf4lod-automation/wiki/A-quick-and-easy-conversion was done years ago. It sets up shop from an RDFa encoding of the conversion parameters.

service URL: TODO

accept POST:

    a conversion:VersionedDataset .
    conversion:base_uri "http://logd.tw.rpi.edu" ;
    conversion:source_identifier "scraperwiki-com" ;
    conversion:dataset_identifier "uk-offshore-oil-wells" ;
    conversion:version_identifier "2011-Jan-24" ;
# huh?    dct:identifier "2009 National Healthcare Quality and Disparities Reports" ;
    dct:source <http://scraperwiki.com/scrapers/export/uk-offshore-oil-wells/> ;
  • set up directory structure
  • retrieve URL into source
  • create conversion trigger
  • convert raw
  • publish raw to endpoint

response:

a RetrievedDataset
conversion:source_identifier
conversion:dataset_identifier
conversion:version_identifier
dcterms:source 
some provenance and void that associates the dataset to a named graph in an endpoint.

client follows that provenance and queries the raw named graph to populate first 10 rows.

UI to let user select different/additional exemplars

dom tricks to build RDFa tree

parse RDFa from dom and POST to convert sample service

Clone this wiki locally