Skip to content

Provenance Capture in vsr2.xsl

Tim L edited this page May 12, 2015 · 102 revisions

What is first

What we will cover

Let's get to it!

prizms/bin/install.sh --me http://tw.rpi.edu/instances/TimLebo --my-email [email protected] --proj-user ieeevis --repos [email protected]:timrdf/ieeevis.git --upstream-ckan --our-base-uri http://aquarius.tw.rpi.edu/projects/ieeevis --our-source-id tw-rpi-edu --our-datahub-id twc-ieeevis
ieeevis@ieeevis:~/prizms/ieeevis/data/source/dig-csail-mit-edu/tbl-foaf/version/2011-Feb-01$ vsr2grf.sh rdf graffle -w -od manual source/foaf.rdf

The OmniGraffle file know what contents it is visualizing:

bash-3.2$ vsr2grf.sh rdf graffle -w http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf; grddl.sh foaf.rdf.graffle | grep "depicts>"
Transforming foaf.rdf to ./foaf.rdf.graffle
   <http://open.vocab.org/terms/depicts> <http://creativecommons.org/licenses/by-nc/3.0/>;
   <http://open.vocab.org/terms/depicts> <http://xmlns.com/foaf/0.1/PersonalProfileDocument>;
   <http://open.vocab.org/terms/depicts> <http://www.w3.org/People/Berners-Lee/card#i>;
   <http://open.vocab.org/terms/depicts> <http://xmlns.com/foaf/0.1/Person>;
   <http://open.vocab.org/terms/depicts> <http://www.koalie.net/foaf.rdf>;
   <http://open.vocab.org/terms/depicts> <http://www.grorg.org/dean/foaf.rdf>;
   <http://open.vocab.org/terms/depicts> <http://www.grorg.org/dean/>;
   <http://open.vocab.org/terms/depicts> "mailto:[email protected]";
  • SPARQL query for all vsr:Graphic in http://aquarius.tw.rpi.edu/projects/ieeevis/sparql and download the files.
    • [GRDDL](Recovering Data from View) the files to produce new RDF graphs. (TODO: #timestamp the originating visual element and specialize the original)
    • aggregate-source-rdf into SPARQL endpoint.
    • SPARQL query for all depicted resources, and dereference them all. Publish as new dataset, which is a superset of the visualization derived datasubset.

What is next