bundles
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Fri, 04 May 2012 11:01:23 +0200
changeset 2708 6c4707f9fdaf
parent 2707 ef4c38a2d5de
child 2709 ddb366e60e85
bundles
model/working-copy/wd6-bundle.html
--- a/model/working-copy/wd6-bundle.html	Fri May 04 08:56:03 2012 +0100
+++ b/model/working-copy/wd6-bundle.html	Fri May 04 11:01:23 2012 +0200
@@ -615,6 +615,43 @@
 <p>The new bundle is given a new identifier <span class="name">uuid:03</span> and it is attributed to the <span class="name">ex:Aggregator</span> agent.
 </div>
 
+<div class="anexample" id="aexample-note">
+Consider that the bundle of descriptions uuid:02 (see example ...) is rendered by a visualisation tool.  It may useful for the tool configuration for this bundle to be shared along with the provenance descriptions, so that other users can render provenance as it was originally rendered.  The original  bundle obviously cannot be changed. However, one can create a new bundle, as follows.
+<pre>
+bundle uuid:05
+  entity(uuid:05,[prov:type='viz:Configuration'])
+  wasAttributedTo(uuid:05,viz:Visualizer)
+
+  entity(ex:e1, [viz:color="orange"])
+  hasProvenanceIn(ex:e1, uuid:02)
+
+  entity(ex:e2, [viz:color="blue"])
+  hasProvenanceIn(ex:e2, uuid:02)
+
+  wasDerivedBy(ex:d; ex:e2, ex:e1, [viz:style="dotted"])
+  hasProvenanceIn(ex:d, uuid:02)
+endBundle
+</pre>
+In bundle uuid:05, the prefix viz is used for naming visualisation-specific attributes, types or values.</p>
+<p>Bundle uuid:05 is given type viz:Configuration to indicate it consists of descriptions that pertain to the configuration of the visualisation tool.
+<p>Specialisations of the entities ex:e1 and ex:e2 have a visualisation attribute for the color to be used when rendering these entities. 
+Likewise, the derivation has a style attribute. To be able to express this specialisation of the derivation, it is necessary for it to have an identifier in the first place (ex:d).
+</div>
+
+
+<div class="note">
+How can we define two specialisations of e1 from bundles 01 and 02 in the same bundle? We can use target attribute to identify the target resource as in PAQ.
+
+<pre>
+  hasProvenanceIn(ex:e1, uuid:01)
+  hasProvenanceIn(ex:e1_other, uuid:02, ex:e1)
+</pre>
+</div>
+
+<div class="note">
+Is it really a requirement that ex:d had to be predefined in 01? Yes.
+</div>
+
 
 <div class="anexample" id="anexample-bundle-tags">
 Give an example showing how bundles can be "tagged" by means of types.