Difference between revisions of "ProvenanceAccessScenarioUsingPAQ"

From Provenance WG Wiki
Jump to: navigation, search
(Online HTML Documents D1 and D2)
Line 1: Line 1:
 
''Walk through of how the [[ProvenanceAccessScenario | Provenance Access Scenario]] is satisfied using the [http://dvcs.w3.org/hg/prov/raw-file/tip/paq/provenance-access.html Provenance Access and Query] (W3C Editor's Draft 17 August 2011) proposal.''
 
''Walk through of how the [[ProvenanceAccessScenario | Provenance Access Scenario]] is satisfied using the [http://dvcs.w3.org/hg/prov/raw-file/tip/paq/provenance-access.html Provenance Access and Query] (W3C Editor's Draft 17 August 2011) proposal.''
  
== Online HTML Documents D1 and D2 ==
+
== Online HTML Documents D1 and D2 ''(Resource provider aware of provenance)'' ==
 
* '''Obtaining the document D'''
 
* '''Obtaining the document D'''
 
* HTML documents '''[https://github.com/timrdf/vsr/raw/master/data/source/tim-lebo/london-crime/version/2011-Jul-07/manual/crime.html D1]''' and '''[http://lists.w3.org/Archives/Public/public-prov-wg/2011Jul/att-0031/crime.html D2]''' are accessed using HTTP GET, and the web servers return '''Link:''' headers as follows. We show examples using both the alternate proposals for anchor as a ''parameter'' and as a ''relation''.
 
* HTML documents '''[https://github.com/timrdf/vsr/raw/master/data/source/tim-lebo/london-crime/version/2011-Jul-07/manual/crime.html D1]''' and '''[http://lists.w3.org/Archives/Public/public-prov-wg/2011Jul/att-0031/crime.html D2]''' are accessed using HTTP GET, and the web servers return '''Link:''' headers as follows. We show examples using both the alternate proposals for anchor as a ''parameter'' and as a ''relation''.
Line 49: Line 49:
 
* The browser examines the provenance document '''P''' to locate the "section" that corresponds to the ''context-uri'' '''I_C''' that is relevant for the documents '''D1''' and '''D2'''.
 
* The browser examines the provenance document '''P''' to locate the "section" that corresponds to the ''context-uri'' '''I_C''' that is relevant for the documents '''D1''' and '''D2'''.
  
== Online Image Documents D3 and D4 ==
+
== Online Image Document D3 ''(Resource provider aware of provenance)'' ==
 +
 
 +
== Online Image Document D4 ''(Resource provider NOT aware of provenance)'' ==
  
 
== Email attachments of HTML and Image Documents D5 and D6 ==
 
== Email attachments of HTML and Image Documents D5 and D6 ==
  
 
== HTML and Image Documents D7 and D8 in File System ==
 
== HTML and Image Documents D7 and D8 in File System ==

Revision as of 12:25, 18 August 2011

Walk through of how the Provenance Access Scenario is satisfied using the Provenance Access and Query (W3C Editor's Draft 17 August 2011) proposal.

Online HTML Documents D1 and D2 (Resource provider aware of provenance)

  • Obtaining the document D
  • HTML documents D1 and D2 are accessed using HTTP GET, and the web servers return Link: headers as follows. We show examples using both the alternate proposals for anchor as a parameter and as a relation.

Using anchor parameter

GET https://github.com/timrdf/vsr/raw/master/data/source/tim-lebo/london-crime/version/2011-Jul-07/manual/crime.html HTTP/1.1
...

HTTP/1.1 200 OK
...
Link: http://example.com/provenance/d1.prov; rel="provenance"; anchor="https://github.com/timrdf/vsr/raw/master/data/source/tim-lebo/london-crime/version/2011-Jul-07/manual/crime.html"

GET http://lists.w3.org/Archives/Public/public-prov-wg/2011Jul/att-0031/crime.html HTTP/1.1
...

HTTP/1.1 200 OK
...
Link: http://example.com/provenance/d2.prov; rel="provenance"; anchor="http://lists.w3.org/Archives/Public/public-prov-wg/2011Jul/att-0031/crime.html"

Using anchor relation

GET https://github.com/timrdf/vsr/raw/master/data/source/tim-lebo/london-crime/version/2011-Jul-07/manual/crime.html HTTP/1.1
...

HTTP/1.1 200 OK
...
Link: http://example.com/provenance/d1.prov; rel="provenance"; 
Link: https://github.com/timrdf/vsr/raw/master/data/source/tim-lebo/london-crime/version/2011-Jul-07/manual/crime.html; rel="anchor" 

GET http://lists.w3.org/Archives/Public/public-prov-wg/2011Jul/att-0031/crime.html HTTP/1.1
...

HTTP/1.1 200 OK
...
Link: http://example.com/provenance/d2.prov; rel="provenance"; 
Link: http://lists.w3.org/Archives/Public/public-prov-wg/2011Jul/att-0031/crime.html; rel="anchor" 
  • Accessing the provenance
  • 'What information (I) does the clients (W) need in order to access and retrieve the provenance for the documents D1-2?
  • The browser uses the default mechanism for dereferencing the provenance-uris I_P for the two documents, which in our example is using a HTTP GET to retrieve the provenance document P.
  • The browser examines the provenance document P to locate the "section" that corresponds to the context-uri I_C that is relevant for the documents D1 and D2.

Online Image Document D3 (Resource provider aware of provenance)

Online Image Document D4 (Resource provider NOT aware of provenance)

Email attachments of HTML and Image Documents D5 and D6

HTML and Image Documents D7 and D8 in File System