Skip to content

PROV URI Templates

Tim L edited this page May 19, 2015 · 13 revisions

prov:Quotation

The two identifying attributes of a prov:Quotation are the URL requested and the date that it was requested. So, we identify them by hashing the URL quoted and appending a hierarchical form of the date that the quoting was performed. We use md5.sh -qs to hash the URL, and dateInXSDDateTime.sh to get the hierarchical date:

bash-3.2$ dateInXSDDateTime.sh --uri-path `dateInXSDDateTime.sh`
2015/05/19/T/12/14/14

This is currently done in two places within csv2rdf4lod-automation, one for executing SPARQL queries and one for retrieving contents of arbitrary URLs:

cache-queries.sh's quotation=

prov:qualifiedQuotation  
  <http://ieeevis.tw.rpi.edu/id/url/74e11d3d85653cb1167672d7c16fe9de/quoted/2015/05/19/T/16/52/51>;

pcurl.sh's quotation=

prov:qualifiedQuotation 
  <http://ieeevis.tw.rpi.edu/id/url/f07948b546481e3d51846539ceedc18d/quoted/2015/05/19/T/17/06/43>;
Clone this wiki locally