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: http://gemini.tw.rpi.edu/dev/elixir/services/convert-complete

accept POST:

Include directly (we're using this approach now):

    a dcat:Dataset;
    dcterms:source <http://explore.data.gov/download/wfna-38ey/XLS> ;
    a conversion:VersionedDataset .
    conversion:base_uri           "http://logd.tw.rpi.edu" ;
    conversion:source_identifier  "data-gov" ;
    conversion:dataset_identifier "4383" ;
    conversion:version_identifier "2011-Jan-24" ;

If Linked data and provides appropriate access information (in dcat or dcterms:source):

    a dcat:Dataset;
  • 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