updating examples dir
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Thu, 12 Jul 2012 15:34:19 +0100
changeset 4024 ecb633bd697d
parent 4023 af177927cd41
child 4025 5b5aec3249cc
updating examples dir
model/examples/sculpture.pn
model/examples/sculpture.png
model/examples/w3c-publication1.dot
model/examples/w3c-publication1.pdf
model/examples/w3c-publication1.pn
model/examples/w3c-publication1.png
model/examples/w3c-publication1.prov-xml
model/examples/w3c-publication1.svg
model/examples/w3c-publication1/index.html
model/examples/w3c-publication2.dot
model/examples/w3c-publication2.pdf
model/examples/w3c-publication2.pn
model/examples/w3c-publication2.prov-xml
model/examples/w3c-publication3.dot
model/examples/w3c-publication3.pdf
model/examples/w3c-publication3.pn
model/examples/w3c-publication3.prov-xml
model/examples/w3cpub/w3c-publication1.dot
model/examples/w3cpub/w3c-publication1.pdf
model/examples/w3cpub/w3c-publication1.png
model/examples/w3cpub/w3c-publication1.prov-asn
model/examples/w3cpub/w3c-publication2.dot
model/examples/w3cpub/w3c-publication2.pdf
model/examples/w3cpub/w3c-publication2.png
model/examples/w3cpub/w3c-publication2.prov-asn
model/examples/w3cpub/w3c-publication3.dot
model/examples/w3cpub/w3c-publication3.pdf
model/examples/w3cpub/w3c-publication3.png
model/examples/w3cpub/w3c-publication3.prov-asn
model/examples/w3cpub/w3cpub.txt
model/scrape/examples/sculpture.pn
model/scrape/examples/sculpture.png
model/scrape/examples/w3c-publication1.dot
model/scrape/examples/w3c-publication1.pdf
model/scrape/examples/w3c-publication1.pn
model/scrape/examples/w3c-publication1.png
model/scrape/examples/w3c-publication1.prov-xml
model/scrape/examples/w3c-publication1.svg
model/scrape/examples/w3c-publication1/index.html
model/scrape/examples/w3c-publication2.dot
model/scrape/examples/w3c-publication2.pdf
model/scrape/examples/w3c-publication2.pn
model/scrape/examples/w3c-publication2.prov-xml
model/scrape/examples/w3c-publication3.dot
model/scrape/examples/w3c-publication3.pdf
model/scrape/examples/w3c-publication3.pn
model/scrape/examples/w3c-publication3.prov-xml
model/scrape/examples/w3cpub/w3c-publication1.dot
model/scrape/examples/w3cpub/w3c-publication1.pdf
model/scrape/examples/w3cpub/w3c-publication1.png
model/scrape/examples/w3cpub/w3c-publication1.prov-asn
model/scrape/examples/w3cpub/w3c-publication2.dot
model/scrape/examples/w3cpub/w3c-publication2.pdf
model/scrape/examples/w3cpub/w3c-publication2.png
model/scrape/examples/w3cpub/w3c-publication2.prov-asn
model/scrape/examples/w3cpub/w3c-publication3.dot
model/scrape/examples/w3cpub/w3c-publication3.pdf
model/scrape/examples/w3cpub/w3c-publication3.png
model/scrape/examples/w3cpub/w3c-publication3.prov-asn
model/scrape/examples/w3cpub/w3cpub.txt
--- a/model/examples/sculpture.pn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-container
-
-prefix ex <http://example.org/>
-
-entity(ex:s, [ prov:type="sculpture" ])
-entity(ex:h, [ prov:type="hand" ])
-entity(ex:l, [ prov:type="leg" ])
-wasDerivedFrom(ex:s,ex:h, [ prov:type="contained" ])
-wasDerivedFrom(ex:s,ex:l, [ prov:type="contained" ])
-
-entity(ex:s_2, [ prov:type="sculpture" ])
-entity(ex:h_2, [ prov:type="hand" ])
-activity(ex:a1, ,, [ prov:type="sculptHand" ])
-
-wasDerivedFrom(ex:s_2,ex:h_2, [ prov:type="contained" ])
-wasDerivedFrom(ex:s_2,ex:l,   [ prov:type="contained" ])
-wasDerivedFrom(ex:h_2,ex:h,   [ prov:type="refinementOf" ])
-wasDerivedFrom(ex:s_2,ex:s,   [ prov:type="refinementOf" ])
-wasGeneratedBy(ex:h_2,ex:a1)
-
-entity(ex:s_3, [ prov:type="sculpture" ])
-entity(ex:l_3, [ prov:type="leg" ])
-activity(ex:a2, ,, [ prov:type="sculptLeg" ])
-
-wasDerivedFrom(ex:s_3,ex:h_2, [ prov:type="contained" ])
-wasDerivedFrom(ex:s_3,ex:l_3, [ prov:type="contained" ])
-wasDerivedFrom(ex:l_3,ex:l,   [ prov:type="refinementOf" ])
-wasDerivedFrom(ex:s_3,ex:s_2, [ prov:type="refinementOf" ])
-wasGeneratedBy(ex:l_3,ex:a2)
-
-endContainer
\ No newline at end of file
Binary file model/examples/sculpture.png has changed
--- a/model/examples/w3c-publication1.dot	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-digraph OPMGraph { rankdir="BT"; 
-nact1 [label="act1",shape="polygon",sides="4"]
-nann0 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">publish</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann0 -> nact1 [style="dashed",color="gray",arrowhead="none"]
-nact2 [label="act2",shape="polygon",sides="4"]
-nann1 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">publish</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann1 -> nact2 [style="dashed",color="gray",arrowhead="none"]
-nWD_prov_dm_20111018 [label="WD-prov-dm-20111018"]
-nann2 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">RecsWD</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann2 -> nWD_prov_dm_20111018 [style="dashed",color="gray",arrowhead="none"]
-nWD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
-nann3 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">RecsWD</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann3 -> nWD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
-nrec_advance [label="rec-advance"]
-nann4 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Plan</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann4 -> nrec_advance [style="dashed",color="gray",arrowhead="none"]
-n2011OctDec_0004 [label="2011OctDec/0004"]
-nann5 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">transreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann5 -> n2011OctDec_0004 [style="dashed",color="gray",arrowhead="none"]
-n2011Oct_0141 [label="2011Oct/0141"]
-nann6 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">pubreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann6 -> n2011Oct_0141 [style="dashed",color="gray",arrowhead="none"]
-n2011Dec_0111 [label="2011Dec/0111"]
-nann7 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">pubreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann7 -> n2011Dec_0111 [style="dashed",color="gray",arrowhead="none"]
-nConsortium [label="Consortium",shape="polygon",sides="8"]
-nann8 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Organization</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-nann8 -> nConsortium [style="dashed",color="gray",arrowhead="none"]
-nWD_prov_dm_20111215 -> nWD_prov_dm_20111018 []
-nWD_prov_dm_20111018 -> nact1 []
-nWD_prov_dm_20111215 -> nact2 []
-nact1 -> n2011OctDec_0004 []
-nact1 -> n2011Oct_0141 []
-nact2 -> n2011Dec_0111 []
-nact1 -> nConsortium []
-nact1 -> nrec_advance []
-nact2 -> nConsortium []
-nact2 -> nrec_advance []
-}
Binary file model/examples/w3c-publication1.pdf has changed
--- a/model/examples/w3c-publication1.pn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-
-
-bundle ex:process-view
-
-prefix ex  <http://example.org/>
-
-prefix w3      <http://www.w3.org/>
-prefix tr      <http://www.w3.org/TR/2011/>
-prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
-prefix email   <https://lists.w3.org/Archives/Member/w3c-archive/>
-prefix chairs  <https://lists.w3.org/Archives/Member/chairs/>
-prefix trans   <http://www.w3.org/2005/08/01-transitions.html#>
-prefix rec54   <http://www.w3.org/2001/02pd/rec54#>
-
-
-  entity(tr:WD-prov-dm-20111018, [ prov:type='rec54:WD' ])
-  entity(tr:WD-prov-dm-20111215, [ prov:type='rec54:WD' ])
-  entity(process:rec-advance,    [ prov:type='prov:Plan' ])
-
-
-  entity(chairs:2011OctDec/0004, [ prov:type='trans:transreq' ])
-  entity(email:2011Oct/0141,     [ prov:type='trans:pubreq' ])
-  entity(email:2011Dec/0111,     [ prov:type='trans:pubreq' ])
-
-
-  wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)
-
-
-  activity(ex:act1,-,-,[prov:type="publish"])
-  activity(ex:act2,-,-,[prov:type="publish"])
-
-  wasGeneratedBy(tr:WD-prov-dm-20111018, ex:act1, -)
-  wasGeneratedBy(tr:WD-prov-dm-20111215, ex:act2, -)
-
-  used(ex:act1, chairs:2011OctDec/0004, -)
-  used(ex:act1, email:2011Oct/0141, -)
-  used(ex:act2, email:2011Dec/0111, -)
-
-  agent(w3:Consortium, [ prov:type='prov:Organization' ])
-
-  wasAssociatedWith(ex:act1, w3:Consortium, process:rec-advance)
-  wasAssociatedWith(ex:act2, w3:Consortium, process:rec-advance)
-
-endBundle
Binary file model/examples/w3c-publication1.png has changed
--- a/model/examples/w3c-publication1.prov-xml	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<prov:container xmlns:prov="http://openprovenance.org/prov-xml#" xmlns:process="http://www.w3.org/2005/10/Process-20051014/tr.html#" xmlns:chairs="https://lists.w3.org/Archives/Member/chairs/" xmlns:w3="http://www.w3.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ex="http://example.org/" xmlns:email="https://lists.w3.org/Archives/Member/w3c-archive/" xmlns:tr="http://www.w3.org/TR/2011/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:trans="http://www.w3.org/2005/08/01-transitions.html#">
-    <prov:records>
-        <prov:activity prov:id="ex:act1">
-            <prov:type xsi:type="xsd:string">publish</prov:type>
-        </prov:activity>
-        <prov:activity prov:id="ex:act2">
-            <prov:type xsi:type="xsd:string">publish</prov:type>
-        </prov:activity>
-        <prov:entity prov:id="tr:WD-prov-dm-20111018">
-            <prov:type xsi:type="xsd:QName">process:RecsWD</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="tr:WD-prov-dm-20111215">
-            <prov:type xsi:type="xsd:QName">process:RecsWD</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="process:rec-advance">
-            <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="chairs:2011OctDec/0004">
-            <prov:type xsi:type="xsd:QName">trans:transreq</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="email:2011Oct/0141">
-            <prov:type xsi:type="xsd:QName">trans:pubreq</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="email:2011Dec/0111">
-            <prov:type xsi:type="xsd:QName">trans:pubreq</prov:type>
-        </prov:entity>
-        <prov:agent prov:id="w3:Consortium">
-            <prov:type xsi:type="xsd:string">Organization</prov:type>
-        </prov:agent>
-        <prov:dependencies>
-            <prov:wasDerivedFrom>
-                <prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/>
-                <prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/>
-            </prov:wasDerivedFrom>
-            <prov:wasGeneratedBy>
-                <prov:entity prov:ref="tr:WD-prov-dm-20111018"/>
-                <prov:activity prov:ref="ex:act1"/>
-            </prov:wasGeneratedBy>
-            <prov:wasGeneratedBy>
-                <prov:entity prov:ref="tr:WD-prov-dm-20111215"/>
-                <prov:activity prov:ref="ex:act2"/>
-            </prov:wasGeneratedBy>
-            <prov:used>
-                <prov:activity prov:ref="ex:act1"/>
-                <prov:entity prov:ref="chairs:2011OctDec/0004"/>
-            </prov:used>
-            <prov:used>
-                <prov:activity prov:ref="ex:act1"/>
-                <prov:entity prov:ref="email:2011Oct/0141"/>
-            </prov:used>
-            <prov:used>
-                <prov:activity prov:ref="ex:act2"/>
-                <prov:entity prov:ref="email:2011Dec/0111"/>
-            </prov:used>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:act1"/>
-                <prov:agent prov:ref="w3:Consortium"/>
-                <prov:plan prov:ref="process:rec-advance"/>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:act2"/>
-                <prov:agent prov:ref="w3:Consortium"/>
-                <prov:plan prov:ref="process:rec-advance"/>
-            </prov:wasAssociatedWith>
-        </prov:dependencies>
-    </prov:records>
-</prov:container>
--- a/model/examples/w3c-publication1.svg	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,216 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
- "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<!-- Generated by graphviz version 2.26.3 (20100126.1600)
- -->
-<!-- Title: OPMGraph Pages: 1 -->
-<svg width="702pt" height="332pt"
- viewBox="0.00 0.00 702.00 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 328)">
-<title>OPMGraph</title>
-<polygon fill="white" stroke="white" points="-4,5 -4,-328 699,-328 699,5 -4,5"/>
-<!-- pub1 -->
-<g id="node1" class="node"><title>pub1</title>
-<polygon fill="none" stroke="black" points="472,-252 418,-252 418,-216 472,-216 472,-252"/>
-<text text-anchor="middle" x="445" y="-228.9" font-family="Times,serif" font-size="14.00">pub1</text>
-</g>
-<!-- rec_advance -->
-<g id="node13" class="node"><title>rec_advance</title>
-<ellipse fill="none" stroke="black" cx="369" cy="-306" rx="55.895" ry="18"/>
-<text text-anchor="middle" x="369" y="-300.9" font-family="Times,serif" font-size="14.00">rec&#45;advance</text>
-</g>
-<!-- pub1&#45;&gt;rec_advance -->
-<g id="edge34" class="edge"><title>pub1&#45;&gt;rec_advance</title>
-<path fill="none" stroke="black" d="M425.822,-252.169C416.361,-261.132 404.817,-272.068 394.612,-281.736"/>
-<polygon fill="black" stroke="black" points="391.978,-279.41 387.125,-288.829 396.792,-284.492 391.978,-279.41"/>
-</g>
-<!-- 0004 -->
-<g id="node16" class="node"><title>0004</title>
-<ellipse fill="none" stroke="black" cx="509" cy="-306" rx="30.0465" ry="18"/>
-<text text-anchor="middle" x="509" y="-300.9" font-family="Times,serif" font-size="14.00">0004</text>
-</g>
-<!-- pub1&#45;&gt;0004 -->
-<g id="edge26" class="edge"><title>pub1&#45;&gt;0004</title>
-<path fill="none" stroke="black" d="M461.15,-252.169C469.331,-261.373 479.362,-272.657 488.122,-282.513"/>
-<polygon fill="black" stroke="black" points="485.557,-284.894 494.816,-290.043 490.788,-280.244 485.557,-284.894"/>
-</g>
-<!-- 0141 -->
-<g id="node19" class="node"><title>0141</title>
-<ellipse fill="none" stroke="black" cx="621" cy="-306" rx="29.8973" ry="18"/>
-<text text-anchor="middle" x="621" y="-300.9" font-family="Times,serif" font-size="14.00">0141</text>
-</g>
-<!-- pub1&#45;&gt;0141 -->
-<g id="edge28" class="edge"><title>pub1&#45;&gt;0141</title>
-<path fill="none" stroke="black" d="M472.389,-248.032C475.278,-249.411 478.187,-250.758 481,-252 515.96,-267.44 556.827,-282.917 585.35,-293.319"/>
-<polygon fill="black" stroke="black" points="584.301,-296.661 594.895,-296.778 586.686,-290.08 584.301,-296.661"/>
-</g>
-<!-- Consortium -->
-<g id="node25" class="node"><title>Consortium</title>
-<polygon fill="none" stroke="black" points="295.093,-298.544 295.093,-313.456 260.477,-324 211.523,-324 176.907,-313.456 176.907,-298.544 211.523,-288 260.477,-288 295.093,-298.544"/>
-<text text-anchor="middle" x="236" y="-300.9" font-family="Times,serif" font-size="14.00">Consortium</text>
-</g>
-<!-- pub1&#45;&gt;Consortium -->
-<g id="edge32" class="edge"><title>pub1&#45;&gt;Consortium</title>
-<path fill="none" stroke="black" d="M417.692,-248.223C414.787,-249.565 411.852,-250.851 409,-252 370.221,-267.629 325.087,-281.582 290.645,-291.388"/>
-<polygon fill="black" stroke="black" points="289.451,-288.089 280.774,-294.169 291.349,-294.826 289.451,-288.089"/>
-</g>
-<!-- ann0 -->
-<g id="node2" class="node"><title>ann0</title>
-<polygon fill="none" stroke="gray" points="540,-180 454,-180 454,-144 546,-144 546,-174 540,-180"/>
-<polyline fill="none" stroke="gray" points="540,-180 540,-174 "/>
-<polyline fill="none" stroke="gray" points="546,-174 540,-174 "/>
-<text text-anchor="start" x="464" y="-158.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="495" y="-158.233" font-family="Times,serif" font-size="14.00">publish</text>
-</g>
-<!-- ann0&#45;&gt;pub1 -->
-<g id="edge2" class="edge"><title>ann0&#45;&gt;pub1</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M486.121,-180.169C477.847,-191 467.372,-204.712 459.066,-215.587"/>
-</g>
-<!-- pub2 -->
-<g id="node4" class="node"><title>pub2</title>
-<polygon fill="none" stroke="black" points="162,-252 108,-252 108,-216 162,-216 162,-252"/>
-<text text-anchor="middle" x="135" y="-228.9" font-family="Times,serif" font-size="14.00">pub2</text>
-</g>
-<!-- pub2&#45;&gt;rec_advance -->
-<g id="edge38" class="edge"><title>pub2&#45;&gt;rec_advance</title>
-<path fill="none" stroke="black" d="M162.264,-248.336C165.178,-249.655 168.127,-250.905 171,-252 228.226,-273.801 244.936,-271.828 304,-288 308.066,-289.113 312.273,-290.269 316.503,-291.434"/>
-<polygon fill="black" stroke="black" points="315.783,-294.866 326.354,-294.152 317.645,-288.118 315.783,-294.866"/>
-</g>
-<!-- 0111 -->
-<g id="node22" class="node"><title>0111</title>
-<ellipse fill="none" stroke="black" cx="92" cy="-306" rx="28.0958" ry="18"/>
-<text text-anchor="middle" x="92" y="-300.9" font-family="Times,serif" font-size="14.00">0111</text>
-</g>
-<!-- pub2&#45;&gt;0111 -->
-<g id="edge30" class="edge"><title>pub2&#45;&gt;0111</title>
-<path fill="none" stroke="black" d="M124.149,-252.169C119.074,-260.667 112.939,-270.939 107.395,-280.222"/>
-<polygon fill="black" stroke="black" points="104.231,-278.694 102.109,-289.074 110.241,-282.283 104.231,-278.694"/>
-</g>
-<!-- pub2&#45;&gt;Consortium -->
-<g id="edge36" class="edge"><title>pub2&#45;&gt;Consortium</title>
-<path fill="none" stroke="black" d="M160.487,-252.169C173.263,-261.276 188.896,-272.421 202.618,-282.203"/>
-<polygon fill="black" stroke="black" points="200.697,-285.132 210.871,-288.087 204.76,-279.432 200.697,-285.132"/>
-</g>
-<!-- ann1 -->
-<g id="node5" class="node"><title>ann1</title>
-<polygon fill="none" stroke="gray" points="212,-180 126,-180 126,-144 218,-144 218,-174 212,-180"/>
-<polyline fill="none" stroke="gray" points="212,-180 212,-174 "/>
-<polyline fill="none" stroke="gray" points="218,-174 212,-174 "/>
-<text text-anchor="start" x="136" y="-158.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="167" y="-158.233" font-family="Times,serif" font-size="14.00">publish</text>
-</g>
-<!-- ann1&#45;&gt;pub2 -->
-<g id="edge4" class="edge"><title>ann1&#45;&gt;pub2</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M162.663,-180.169C157.097,-191 150.051,-204.712 144.462,-215.587"/>
-</g>
-<!-- WD_prov_dm_20111018 -->
-<g id="node7" class="node"><title>WD_prov_dm_20111018</title>
-<ellipse fill="none" stroke="black" cx="336" cy="-162" rx="100.24" ry="18"/>
-<text text-anchor="middle" x="336" y="-156.9" font-family="Times,serif" font-size="14.00">WD&#45;prov&#45;dm&#45;20111018</text>
-</g>
-<!-- WD_prov_dm_20111018&#45;&gt;pub1 -->
-<g id="edge22" class="edge"><title>WD_prov_dm_20111018&#45;&gt;pub1</title>
-<path fill="none" stroke="black" d="M362.386,-179.429C376.396,-188.683 393.819,-200.192 409.048,-210.252"/>
-<polygon fill="black" stroke="black" points="407.446,-213.388 417.719,-215.979 411.304,-207.547 407.446,-213.388"/>
-</g>
-<!-- ann2 -->
-<g id="node8" class="node"><title>ann2</title>
-<polygon fill="none" stroke="gray" points="381,-108 285,-108 285,-72 387,-72 387,-102 381,-108"/>
-<polyline fill="none" stroke="gray" points="381,-108 381,-102 "/>
-<polyline fill="none" stroke="gray" points="387,-102 381,-102 "/>
-<text text-anchor="start" x="295" y="-86.2333" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="326" y="-86.2333" font-family="Times,serif" font-size="14.00">RecsWD</text>
-</g>
-<!-- ann2&#45;&gt;WD_prov_dm_20111018 -->
-<g id="edge6" class="edge"><title>ann2&#45;&gt;WD_prov_dm_20111018</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M336,-108.169C336,-119 336,-132.712 336,-143.587"/>
-</g>
-<!-- WD_prov_dm_20111215 -->
-<g id="node10" class="node"><title>WD_prov_dm_20111215</title>
-<ellipse fill="none" stroke="black" cx="133" cy="-90" rx="100.24" ry="18"/>
-<text text-anchor="middle" x="133" y="-84.9" font-family="Times,serif" font-size="14.00">WD&#45;prov&#45;dm&#45;20111215</text>
-</g>
-<!-- WD_prov_dm_20111215&#45;&gt;pub2 -->
-<g id="edge24" class="edge"><title>WD_prov_dm_20111215&#45;&gt;pub2</title>
-<path fill="none" stroke="black" d="M126.181,-108.2C122.672,-118.536 118.768,-131.807 117,-144 114.704,-159.834 114.437,-164.207 117,-180 118.418,-188.738 121.048,-197.973 123.867,-206.286"/>
-<polygon fill="black" stroke="black" points="120.642,-207.66 127.332,-215.876 127.225,-205.281 120.642,-207.66"/>
-</g>
-<!-- WD_prov_dm_20111215&#45;&gt;WD_prov_dm_20111018 -->
-<g id="edge20" class="edge"><title>WD_prov_dm_20111215&#45;&gt;WD_prov_dm_20111018</title>
-<path fill="none" stroke="black" d="M178.304,-106.069C208.591,-116.811 248.626,-131.01 280.778,-142.414"/>
-<polygon fill="black" stroke="black" points="279.889,-145.812 290.483,-145.856 282.229,-139.215 279.889,-145.812"/>
-</g>
-<!-- ann3 -->
-<g id="node11" class="node"><title>ann3</title>
-<polygon fill="none" stroke="gray" points="178,-36 82,-36 82,-1.77636e-14 184,-3.55271e-15 184,-30 178,-36"/>
-<polyline fill="none" stroke="gray" points="178,-36 178,-30 "/>
-<polyline fill="none" stroke="gray" points="184,-30 178,-30 "/>
-<text text-anchor="start" x="92" y="-14.2333" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="123" y="-14.2333" font-family="Times,serif" font-size="14.00">RecsWD</text>
-</g>
-<!-- ann3&#45;&gt;WD_prov_dm_20111215 -->
-<g id="edge8" class="edge"><title>ann3&#45;&gt;WD_prov_dm_20111215</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M133,-36.1686C133,-47 133,-60.7124 133,-71.5867"/>
-</g>
-<!-- ann4 -->
-<g id="node14" class="node"><title>ann4</title>
-<polygon fill="none" stroke="gray" points="394,-252 324,-252 324,-216 400,-216 400,-246 394,-252"/>
-<polyline fill="none" stroke="gray" points="394,-252 394,-246 "/>
-<polyline fill="none" stroke="gray" points="400,-246 394,-246 "/>
-<text text-anchor="start" x="334" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="365" y="-230.233" font-family="Times,serif" font-size="14.00">Plan</text>
-</g>
-<!-- ann4&#45;&gt;rec_advance -->
-<g id="edge10" class="edge"><title>ann4&#45;&gt;rec_advance</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M363.766,-252.169C364.819,-263 366.153,-276.712 367.21,-287.587"/>
-</g>
-<!-- ann5 -->
-<g id="node17" class="node"><title>ann5</title>
-<polygon fill="none" stroke="gray" points="580,-252 490,-252 490,-216 586,-216 586,-246 580,-252"/>
-<polyline fill="none" stroke="gray" points="580,-252 580,-246 "/>
-<polyline fill="none" stroke="gray" points="586,-246 580,-246 "/>
-<text text-anchor="start" x="500" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="531" y="-230.233" font-family="Times,serif" font-size="14.00">transreq</text>
-</g>
-<!-- ann5&#45;&gt;0004 -->
-<g id="edge12" class="edge"><title>ann5&#45;&gt;0004</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M530.682,-252.169C526.252,-263.167 520.626,-277.135 516.215,-288.087"/>
-</g>
-<!-- ann6 -->
-<g id="node20" class="node"><title>ann6</title>
-<polygon fill="none" stroke="gray" points="688,-252 604,-252 604,-216 694,-216 694,-246 688,-252"/>
-<polyline fill="none" stroke="gray" points="688,-252 688,-246 "/>
-<polyline fill="none" stroke="gray" points="694,-246 688,-246 "/>
-<text text-anchor="start" x="614" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="645" y="-230.233" font-family="Times,serif" font-size="14.00">pubreq</text>
-</g>
-<!-- ann6&#45;&gt;0141 -->
-<g id="edge14" class="edge"><title>ann6&#45;&gt;0141</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M641.934,-252.169C637.657,-263.167 632.225,-277.135 627.966,-288.087"/>
-</g>
-<!-- ann7 -->
-<g id="node23" class="node"><title>ann7</title>
-<polygon fill="none" stroke="gray" points="84,-252 3.55271e-14,-252 0,-216 90,-216 90,-246 84,-252"/>
-<polyline fill="none" stroke="gray" points="84,-252 84,-246 "/>
-<polyline fill="none" stroke="gray" points="90,-246 84,-246 "/>
-<text text-anchor="start" x="10" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="41" y="-230.233" font-family="Times,serif" font-size="14.00">pubreq</text>
-</g>
-<!-- ann7&#45;&gt;0111 -->
-<g id="edge16" class="edge"><title>ann7&#45;&gt;0111</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M56.8601,-252.169C64.2569,-263.5 73.712,-277.984 80.9509,-289.074"/>
-</g>
-<!-- ann8 -->
-<g id="node26" class="node"><title>ann8</title>
-<polygon fill="none" stroke="gray" points="300,-252 180,-252 180,-216 306,-216 306,-246 300,-252"/>
-<polyline fill="none" stroke="gray" points="300,-252 300,-246 "/>
-<polyline fill="none" stroke="gray" points="306,-246 300,-246 "/>
-<text text-anchor="start" x="190" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
-<text text-anchor="start" x="221" y="-230.233" font-family="Times,serif" font-size="14.00">Organization</text>
-</g>
-<!-- ann8&#45;&gt;Consortium -->
-<g id="edge18" class="edge"><title>ann8&#45;&gt;Consortium</title>
-<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M241.234,-252.169C240.181,-263 238.847,-276.712 237.79,-287.587"/>
-</g>
-</g>
-</svg>
--- a/model/examples/w3c-publication1/index.html	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-
-
-container
-
-prefix ex </http://example.org/>
-
-prefix w3  <http://www.w3.org/>
-prefix tr  <http://www.w3.org/TR/2011/>
-prefix pr  <http://www.w3.org/2005/10/Process-20051014/tr.html#>
-
-prefix ar1 <https://lists.w3.org/Archives/Member/chairs/2011OctDec/>
-prefix ar2 <https://lists.w3.org/Archives/Member/w3c-archive/2011Oct/>
-prefix ar3 <https://lists.w3.org/Archives/Member/w3c-archive/2011Dec/>
-
-
-entity(tr:WD-prov-dm-20111018, [ prov:type="pr:RecsWD" %% xsd:QName ])
-entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
-entity(pr:rec-advance,         [ prov:type="prov:Plan" %% xsd:QName ])
-
-
-entity(ar1:0004, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#transreq" %% xsd:anyURI ])
-entity(ar2:0141, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
-entity(ar3:0111, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
-
-
-wasDerivedFrom(tr:WD-prov-dm-20111215,tr:WD-prov-dm-20111018)
-
-
-activity(ex:pub1,,,[prov:type="publish"])
-activity(ex:pub2,,,[prov:type="publish"])
-
-
-wasGeneratedBy(tr:WD-prov-dm-20111018, ex:pub1)
-wasGeneratedBy(tr:WD-prov-dm-20111215, ex:pub2)
-
-used(ex:pub1,ar1:0004)
-used(ex:pub1,ar2:0141)
-used(ex:pub2,ar3:0111)
-
-agent(w3:Consortium, [ prov:type="Organization" ])
-
-wasAssociatedWith(ex:pub1, w3:Consortium  @ pr:rec-advance)
-wasAssociatedWith(ex:pub2, w3:Consortium  @ pr:rec-advance)
-
-
-
-endContainer
-
--- a/model/examples/w3c-publication2.dot	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-digraph OPMGraph { rankdir="BT"; 
-rcp [label="rcp",shape="polygon",sides="4"]
-ann9 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">copy directory</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann9 -> rcp [style="dashed",color="gray",arrowhead="none"]
-Overview_html [label="Overview.html"]
-ann10 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">file in hg</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann10 -> Overview_html [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
-ann11 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">html4</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann11 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
-req3 [label="req3"]
-ann12 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">pubreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann12 -> req3 [style="dashed",color="gray",arrowhead="none"]
-webmaster [label="webmaster",shape="polygon",sides="8"]
-ann13 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann13 -> webmaster [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 -> rcp []
-rcp -> Overview_html []
-rcp -> req3 []
-WD_prov_dm_20111215 -> Overview_html []
-rcp -> webmaster []
-}
Binary file model/examples/w3c-publication2.pdf has changed
--- a/model/examples/w3c-publication2.pn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-
-
-container
-
-prefix ex <http://example.org/>
-prefix rec <http://example.org/record>
-
-prefix w3 <http://www.w3.org/TR/2011/>
-prefix hg <http://dvcs.w3.org/hg/prov/raw-file/9628aaff6e20/model/releases/WD-prov-dm-20111215/>
-prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
-
-
-
-entity(hg:Overview.html, [ prov:type="file in hg" ])
-
-entity(w3:WD-prov-dm-20111215, [ prov:type="html4" ])
-
-
-
-
-
-
-activity(ex:rcp,,,[prov:type="copy directory"])
-
-
-wasGeneratedBy(rec:g,w3:WD-prov-dm-20111215, ex:rcp)
-
-entity(ex:req3, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
-
-used(rec:u, ex:rcp,hg:Overview.html)
-used(ex:rcp,ex:req3)
-
-
-wasDerivedFrom(w3:WD-prov-dm-20111215,hg:Overview.html, ex:rcp, rec:g, rec:u)
-
-agent(ex:webmaster, [ prov:type="Person" ])
-
-wasAssociatedWith(ex:rcp, ex:webmaster)
-
-endContainer
-
-
-#activity(ex:a5,,,[prov:type="grammarcheck"])
-#ex:version="1", 
-#ex:version="2"
\ No newline at end of file
--- a/model/examples/w3c-publication2.prov-xml	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<prov:container xmlns:prov="http://openprovenance.org/prov-xml#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ex="http://example.org/" xmlns:hg="http://dvcs.w3.org/hg/prov/raw-file/9628aaff6e20/model/releases/WD-prov-dm-20111215/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:process="http://www.w3.org/2005/10/Process-20051014/tr.html#" xmlns:rec="http://example.org/record" xmlns:w3="http://www.w3.org/TR/2011/">
-    <prov:records>
-        <prov:activity prov:id="ex:rcp">
-            <prov:type xsi:type="xsd:string">copy directory</prov:type>
-        </prov:activity>
-        <prov:entity prov:id="hg:Overview.html">
-            <prov:type xsi:type="xsd:string">file in hg</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="w3:WD-prov-dm-20111215">
-            <prov:type xsi:type="xsd:string">html4</prov:type>
-        </prov:entity>
-        <prov:entity prov:id="ex:req3">
-            <prov:type xsi:type="xsd:anyURI">http://www.w3.org/2005/08/01-transitions.html#pubreq</prov:type>
-        </prov:entity>
-        <prov:agent prov:id="ex:webmaster">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:dependencies>
-            <prov:wasGeneratedBy prov:id="rec:g">
-                <prov:entity prov:ref="w3:WD-prov-dm-20111215"/>
-                <prov:activity prov:ref="ex:rcp"/>
-            </prov:wasGeneratedBy>
-            <prov:used prov:id="rec:u">
-                <prov:activity prov:ref="ex:rcp"/>
-                <prov:entity prov:ref="hg:Overview.html"/>
-            </prov:used>
-            <prov:used>
-                <prov:activity prov:ref="ex:rcp"/>
-                <prov:entity prov:ref="ex:req3"/>
-            </prov:used>
-            <prov:wasDerivedFrom>
-                <prov:generation prov:ref="rec:g"/>
-                <prov:usage prov:ref="rec:u"/>
-                <prov:activity prov:ref="ex:rcp"/>
-                <prov:effect prov:ref="w3:WD-prov-dm-20111215"/>
-                <prov:cause prov:ref="hg:Overview.html"/>
-            </prov:wasDerivedFrom>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:rcp"/>
-                <prov:agent prov:ref="ex:webmaster"/>
-            </prov:wasAssociatedWith>
-        </prov:dependencies>
-    </prov:records>
-</prov:container>
--- a/model/examples/w3c-publication3.dot	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,145 +0,0 @@
-digraph OPMGraph { rankdir="BT"; 
-edit1 [label="edit1",shape="polygon",sides="4"]
-ann14 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">edit</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann14 -> edit1 [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
-ann15 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">document</TD>
-	</TR>
-	<TR>
-	    <TD align="left">version:</TD>
-	    <TD align="left">2</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann15 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
-Luc [label="Luc",shape="polygon",sides="8"]
-ann16 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann16 -> Luc [style="dashed",color="gray",arrowhead="none"]
-Paolo [label="Paolo",shape="polygon",sides="8"]
-ann17 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann17 -> Paolo [style="dashed",color="gray",arrowhead="none"]
-Khalid [label="Khalid",shape="polygon",sides="8"]
-ann18 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann18 -> Khalid [style="dashed",color="gray",arrowhead="none"]
-Stephen [label="Stephen",shape="polygon",sides="8"]
-ann19 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann19 -> Stephen [style="dashed",color="gray",arrowhead="none"]
-Yolanda [label="Yolanda",shape="polygon",sides="8"]
-ann20 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann20 -> Yolanda [style="dashed",color="gray",arrowhead="none"]
-Ryan [label="Ryan",shape="polygon",sides="8"]
-ann21 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann21 -> Ryan [style="dashed",color="gray",arrowhead="none"]
-Paul [label="Paul",shape="polygon",sides="8"]
-ann22 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann22 -> Paul [style="dashed",color="gray",arrowhead="none"]
-Graham [label="Graham",shape="polygon",sides="8"]
-ann23 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann23 -> Graham [style="dashed",color="gray",arrowhead="none"]
-Jim [label="Jim",shape="polygon",sides="8"]
-ann24 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann24 -> Jim [style="dashed",color="gray",arrowhead="none"]
-Simon [label="Simon",shape="polygon",sides="8"]
-ann25 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann25 -> Simon [style="dashed",color="gray",arrowhead="none"]
-James [label="James",shape="polygon",sides="8"]
-ann26 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann26 -> James [style="dashed",color="gray",arrowhead="none"]
-Satya [label="Satya",shape="polygon",sides="8"]
-ann27 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann27 -> Satya [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 -> edit1 []
-edit1 -> Luc []
-edit1 -> Paolo []
-edit1 -> Khalid []
-edit1 -> Stephen []
-edit1 -> Yolanda []
-edit1 -> Ryan []
-edit1 -> Paul []
-edit1 -> Graham []
-edit1 -> Jim []
-edit1 -> Simon []
-edit1 -> James []
-edit1 -> Satya []
-}
Binary file model/examples/w3c-publication3.pdf has changed
--- a/model/examples/w3c-publication3.pn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-
-
-bundle ex:author-view
-
-prefix ex <http://example.org/>
-prefix w3  <http://www.w3.org/>
-prefix tr  <http://www.w3.org/TR/2011/>
-
-entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
-
-agent(ex:Luc,     [ prov:type='prov:Person' ])
-agent(ex:Paolo,   [ prov:type='prov:Person' ])
-agent(ex:Khalid,  [ prov:type='prov:Person' ])
-agent(ex:Stephen, [ prov:type='prov:Person' ])
-agent(ex:Yolanda, [ prov:type='prov:Person' ])
-agent(ex:Ryan,    [ prov:type='prov:Person' ])
-agent(ex:Paul,    [ prov:type='prov:Person' ])
-agent(ex:Graham,  [ prov:type='prov:Person' ])
-agent(ex:Jim,     [ prov:type='prov:Person' ])
-agent(ex:Simon,   [ prov:type='prov:Person' ])
-agent(ex:James,   [ prov:type='prov:Person' ])
-agent(ex:Satya,   [ prov:type='prov:Person' ])
-
-activity(ex:edit1,[prov:type="edit"])
-
-wasGeneratedBy(tr:WD-prov-dm-20111215, ex:edit1)
-
-wasAssociatedWith(ex:edit1, ex:Luc, -,     [prov:role="editor"])
-wasAssociatedWith(ex:edit1, ex:Paolo, -,   [prov:role="editor"])
-wasAssociatedWith(ex:edit1, ex:Khalid, -,  [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Stephen, -, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Yolanda, -, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Ryan, -,    [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Paul, -,    [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Graham, -,  [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Jim, -,     [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Simon, -,   [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:James, -,   [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Satya, -,   [prov:role="contributor"])
-
-endBundle
--- a/model/examples/w3c-publication3.prov-xml	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<prov:container xmlns:prov="http://openprovenance.org/prov-xml#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ex="http://example.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rec="http://example.org/record" xmlns:w3="http://www.w3.org/TR/2011/">
-    <prov:records>
-        <prov:activity prov:id="ex:edit1">
-            <prov:type xsi:type="xsd:string">edit</prov:type>
-        </prov:activity>
-        <prov:entity prov:id="w3:WD-prov-dm-20111215">
-            <prov:type xsi:type="xsd:string">document</prov:type>
-            <ex:version xsi:type="xsd:string">2</ex:version>
-        </prov:entity>
-        <prov:agent prov:id="ex:Luc">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Paolo">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Khalid">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Stephen">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Yolanda">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Ryan">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Paul">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Graham">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Jim">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Simon">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:James">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:agent prov:id="ex:Satya">
-            <prov:type xsi:type="xsd:string">Person</prov:type>
-        </prov:agent>
-        <prov:dependencies>
-            <prov:wasGeneratedBy>
-                <prov:entity prov:ref="w3:WD-prov-dm-20111215"/>
-                <prov:activity prov:ref="ex:edit1"/>
-            </prov:wasGeneratedBy>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Luc"/>
-                <prov:role xsi:type="xsd:string">editor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Paolo"/>
-                <prov:role xsi:type="xsd:string">editor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Khalid"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Stephen"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Yolanda"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Ryan"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Paul"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Graham"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Jim"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Simon"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:James"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-            <prov:wasAssociatedWith>
-                <prov:activity prov:ref="ex:edit1"/>
-                <prov:agent prov:ref="ex:Satya"/>
-                <prov:role xsi:type="xsd:string">contributor</prov:role>
-            </prov:wasAssociatedWith>
-        </prov:dependencies>
-    </prov:records>
-</prov:container>
--- a/model/examples/w3cpub/w3c-publication1.dot	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-digraph OPMGraph { rankdir="BT"; 
-pub1 [label="pub1",shape="polygon",sides="4"]
-ann0 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">publish</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann0 -> pub1 [style="dashed",color="gray",arrowhead="none"]
-pub2 [label="pub2",shape="polygon",sides="4"]
-ann1 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">publish</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann1 -> pub2 [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111018 [label="WD-prov-dm-20111018"]
-ann2 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">WD</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann2 -> WD_prov_dm_20111018 [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
-ann3 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">WD</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann3 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
-rec_advance [label="rec-advance"]
-ann4 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Plan</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann4 -> rec_advance [style="dashed",color="gray",arrowhead="none"]
-req1 [label="req1"]
-ann5 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">transreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann5 -> req1 [style="dashed",color="gray",arrowhead="none"]
-req2 [label="req2"]
-ann6 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">pubreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann6 -> req2 [style="dashed",color="gray",arrowhead="none"]
-req3 [label="req3"]
-ann7 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">pubreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann7 -> req3 [style="dashed",color="gray",arrowhead="none"]
-w3c [label="w3c",shape="polygon",sides="8"]
-ann8 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Organization</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann8 -> w3c [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 -> WD_prov_dm_20111018 []
-WD_prov_dm_20111018 -> pub1 []
-WD_prov_dm_20111215 -> pub2 []
-pub1 -> req1 []
-pub1 -> req2 []
-pub2 -> req3 []
-pub1 -> w3c []
-pub1 -> rec_advance []
-pub2 -> w3c []
-pub2 -> rec_advance []
-}
Binary file model/examples/w3cpub/w3c-publication1.pdf has changed
Binary file model/examples/w3cpub/w3c-publication1.png has changed
--- a/model/examples/w3cpub/w3c-publication1.prov-asn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-
-
-container
-
-prefix ex <http://example.org/>
-
-prefix w3 <http://www.w3.org/TR/2011/>
-prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
-
-
-entity(w3:WD-prov-dm-20111018, [ prov:type="WD" ])
-entity(w3:WD-prov-dm-20111215, [ prov:type="WD" ])
-
-entity(process:rec-advance, [ prov:type="Plan" ])
-
-entity(ex:req1, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#transreq" %% xsd:anyURI ])
-entity(ex:req2, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
-entity(ex:req3, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
-
-
-wasDerivedFrom(w3:WD-prov-dm-20111215,w3:WD-prov-dm-20111018)
-
-
-activity(ex:pub1,,,[prov:type="publish"])
-activity(ex:pub2,,,[prov:type="publish"])
-
-
-wasGeneratedBy(w3:WD-prov-dm-20111018, ex:pub1)
-wasGeneratedBy(w3:WD-prov-dm-20111215, ex:pub2)
-
-used(ex:pub1,ex:req1)
-used(ex:pub1,ex:req2)
-used(ex:pub2,ex:req3)
-
-agent(ex:w3c, [ prov:type="Organization" ])
-
-wasAssociatedWith(ex:pub1, ex:w3c  @ process:rec-advance)
-wasAssociatedWith(ex:pub2, ex:w3c  @ process:rec-advance)
-
-
-
-endContainer
-
-
-#activity(ex:a5,,,[prov:type="grammarcheck"])
-#ex:version="1", 
-#ex:version="2"
\ No newline at end of file
--- a/model/examples/w3cpub/w3c-publication2.dot	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-digraph OPMGraph { rankdir="BT"; 
-rcp [label="rcp",shape="polygon",sides="4"]
-ann9 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">copy directory</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann9 -> rcp [style="dashed",color="gray",arrowhead="none"]
-Overview_html [label="Overview.html"]
-ann10 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">file in hg</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann10 -> Overview_html [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
-ann11 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">html4</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann11 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
-req3 [label="req3"]
-ann12 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">pubreq</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann12 -> req3 [style="dashed",color="gray",arrowhead="none"]
-webmaster [label="webmaster",shape="polygon",sides="8"]
-ann13 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann13 -> webmaster [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 -> rcp []
-rcp -> Overview_html []
-rcp -> req3 []
-WD_prov_dm_20111215 -> Overview_html []
-rcp -> webmaster []
-}
Binary file model/examples/w3cpub/w3c-publication2.pdf has changed
Binary file model/examples/w3cpub/w3c-publication2.png has changed
--- a/model/examples/w3cpub/w3c-publication2.prov-asn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-
-
-container
-
-prefix ex <http://example.org/>
-prefix rec <http://example.org/record>
-
-prefix w3 <http://www.w3.org/TR/2011/>
-prefix hg <http://dvcs.w3.org/hg/prov/raw-file/9628aaff6e20/model/releases/WD-prov-dm-20111215/>
-prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
-
-
-
-entity(hg:Overview.html, [ prov:type="file in hg" ])
-
-entity(w3:WD-prov-dm-20111215, [ prov:type="html4" ])
-
-
-
-
-
-
-activity(ex:rcp,,,[prov:type="copy directory"])
-
-
-wasGeneratedBy(rec:g,w3:WD-prov-dm-20111215, ex:rcp)
-
-entity(ex:req3, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
-
-used(rec:u, ex:rcp,hg:Overview.html)
-used(ex:rcp,ex:req3)
-
-
-wasDerivedFrom(w3:WD-prov-dm-20111215,hg:Overview.html, ex:rcp, rec:g, rec:u)
-
-agent(ex:webmaster, [ prov:type="Person" ])
-
-wasAssociatedWith(ex:rcp, ex:webmaster)
-
-endContainer
-
-
-#activity(ex:a5,,,[prov:type="grammarcheck"])
-#ex:version="1", 
-#ex:version="2"
\ No newline at end of file
--- a/model/examples/w3cpub/w3c-publication3.dot	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,145 +0,0 @@
-digraph OPMGraph { rankdir="BT"; 
-edit1 [label="edit1",shape="polygon",sides="4"]
-ann14 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">edit</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann14 -> edit1 [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
-ann15 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">document</TD>
-	</TR>
-	<TR>
-	    <TD align="left">version:</TD>
-	    <TD align="left">2</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann15 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
-Luc [label="Luc",shape="polygon",sides="8"]
-ann16 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann16 -> Luc [style="dashed",color="gray",arrowhead="none"]
-Paolo [label="Paolo",shape="polygon",sides="8"]
-ann17 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann17 -> Paolo [style="dashed",color="gray",arrowhead="none"]
-Khalid [label="Khalid",shape="polygon",sides="8"]
-ann18 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann18 -> Khalid [style="dashed",color="gray",arrowhead="none"]
-Stephen [label="Stephen",shape="polygon",sides="8"]
-ann19 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann19 -> Stephen [style="dashed",color="gray",arrowhead="none"]
-Yolanda [label="Yolanda",shape="polygon",sides="8"]
-ann20 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann20 -> Yolanda [style="dashed",color="gray",arrowhead="none"]
-Ryan [label="Ryan",shape="polygon",sides="8"]
-ann21 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann21 -> Ryan [style="dashed",color="gray",arrowhead="none"]
-Paul [label="Paul",shape="polygon",sides="8"]
-ann22 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann22 -> Paul [style="dashed",color="gray",arrowhead="none"]
-Graham [label="Graham",shape="polygon",sides="8"]
-ann23 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann23 -> Graham [style="dashed",color="gray",arrowhead="none"]
-Jim [label="Jim",shape="polygon",sides="8"]
-ann24 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann24 -> Jim [style="dashed",color="gray",arrowhead="none"]
-Simon [label="Simon",shape="polygon",sides="8"]
-ann25 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann25 -> Simon [style="dashed",color="gray",arrowhead="none"]
-James [label="James",shape="polygon",sides="8"]
-ann26 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann26 -> James [style="dashed",color="gray",arrowhead="none"]
-Satya [label="Satya",shape="polygon",sides="8"]
-ann27 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
-	<TR>
-	    <TD align="left">type:</TD>
-	    <TD align="left">Person</TD>
-	</TR>
-    </TABLE>>
-,shape="note"]
-ann27 -> Satya [style="dashed",color="gray",arrowhead="none"]
-WD_prov_dm_20111215 -> edit1 []
-edit1 -> Luc []
-edit1 -> Paolo []
-edit1 -> Khalid []
-edit1 -> Stephen []
-edit1 -> Yolanda []
-edit1 -> Ryan []
-edit1 -> Paul []
-edit1 -> Graham []
-edit1 -> Jim []
-edit1 -> Simon []
-edit1 -> James []
-edit1 -> Satya []
-}
Binary file model/examples/w3cpub/w3c-publication3.pdf has changed
Binary file model/examples/w3cpub/w3c-publication3.png has changed
--- a/model/examples/w3cpub/w3c-publication3.prov-asn	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-
-
-container
-
-prefix ex <http://example.org/>
-prefix rec <http://example.org/record>
-
-prefix w3 <http://www.w3.org/TR/2011/>
-
-
-entity(w3:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
-
-
-agent(ex:Luc, [ prov:type="Person" ])
-agent(ex:Paolo, [ prov:type="Person" ])
-agent(ex:Khalid, [ prov:type="Person" ])
-agent(ex:Stephen, [ prov:type="Person" ])
-agent(ex:Yolanda, [ prov:type="Person" ])
-agent(ex:Ryan, [ prov:type="Person" ])
-agent(ex:Paul, [ prov:type="Person" ])
-agent(ex:Graham, [ prov:type="Person" ])
-agent(ex:Jim, [ prov:type="Person" ])
-agent(ex:Simon, [ prov:type="Person" ])
-agent(ex:James, [ prov:type="Person" ])
-agent(ex:Satya, [ prov:type="Person" ])
-
-activity(ex:edit1,,,[prov:type="edit"])
-
-wasGeneratedBy(w3:WD-prov-dm-20111215, ex:edit1)
-
-
-
-wasAssociatedWith(ex:edit1, ex:Luc, [prov:role="editor"])
-wasAssociatedWith(ex:edit1, ex:Paolo, [prov:role="editor"])
-wasAssociatedWith(ex:edit1, ex:Khalid, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Stephen, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Yolanda, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Ryan, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Paul, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Graham, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Jim, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Simon, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:James, [prov:role="contributor"])
-wasAssociatedWith(ex:edit1, ex:Satya, [prov:role="contributor"])
-
-endContainer
--- a/model/examples/w3cpub/w3cpub.txt	Thu Jul 12 13:32:49 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,87 +0,0 @@
-
-This example describes the provenance of the prov-dm (version 2)
-document http://www.w3.org/TR/2011/WD-prov-dm-20111215
-
-We can envisage three different accounts at least.
-
-1. Account 1: the W3C view
-This account contains the kind of provenance records that
-W3C could keep, for auditors to check that due processes are followed.
-
-In this account, we see that:
-- WD-prov-dm-20111215 was derived from WD-prov-dm-20111018
-- both WD-prov-dm-20111215 and WD-prov-dm-20111018 were published by the w3c agent
-- the publication activity for WD-prov-dm-20111215 used a publication request (req3)
-- the publication activity for WD-prov-dm-20111018 used another publication request (req2)
-  and a transition request (req1)
-- publications were according to the process rules (a plan).
-
-A simple visualization of Account 1 may be as follows.
-http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication1.pdf
-
-
-2. Account 2: the Web master view
-This account contains the kind of provenance records that the webmaster
-could keep.
-
-In this account, we see that
-- WD-prov-dm-20111215 was derived from Overview.html in the mercurial repo
-- WD-prov-dm-20111215 is the result of copying file(s) to the remote web server
-- webmaster was involved
-- webmaster did all this on the basis of the publication request (req3)
-
-A simple visualization of this account may be as follows.
-http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication2.pdf
-
-
-3. Account 3: the authors view.  
- That's what each author could keep (for instance, to write in their CV).
-- the document WD-prov-dm-20111215 was co-edited by a set of authors, with various roles
-
-Again, visualization could as follows.
-http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication3.pdf
-
-4. We can envisage other accounts.
-- The mercurial log with all edits.
-- An account where other agents claim contribution to the document (faithfully or not)
-- etc
-
-
-
-To illustrate this example, I have written the three accounts in three separate asn files:
-
-http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication1.prov-asn
-http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication2.prov-asn
-http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication3.prov-asn
-
-
-
-In this example, each WD is identified by its URI
-http://www.w3.org/TR/2011/WD-prov-dm-20111215
-http://www.w3.org/TR/2011/WD-prov-dm-20111018
-
-
-
-The entity records in the different accounts have different attributes
-and different values. (Similarly to example of section 9 in the prov-dm document.)
-
-In account 1, the type that matters for the W3C process is that it is a Working Draft.
-entity(w3:WD-prov-dm-20111215, [ prov:type="WD" ])
-
-In account 2, the type that matters for the W3C master is that it is an html4 document.
-entity(w3:WD-prov-dm-20111215, [ prov:type="html4" ])
-Other attributes that may usefully captured include that the document
-was check to complian with pubrules, it is html4 compliant, etc
-
-In account 3, the authors know this the second version of the prov-dm report.
-Hence, the entity record has the following shape.
-entity(w3:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
-
-When in account 1, we write
-wasGeneratedBy(w3:WD-prov-dm-20111215, ex:pub2)
-we really mean to refer to the record of WD-prov-dm-20111215 in the same account,
-it would not make sense to say ex:pub2 generated WD-prov-dm-20111215 in account 3.
-
-In Account 2, there is a further example that uses record identifiers. In this
-derivation, we need to identify the generation and usage.
-wasDerivedFrom(w3:WD-prov-dm-20111215,hg:Overview.html, ex:rcp, rec:g, rec:u)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/sculpture.pn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,31 @@
+container
+
+prefix ex <http://example.org/>
+
+entity(ex:s, [ prov:type="sculpture" ])
+entity(ex:h, [ prov:type="hand" ])
+entity(ex:l, [ prov:type="leg" ])
+wasDerivedFrom(ex:s,ex:h, [ prov:type="contained" ])
+wasDerivedFrom(ex:s,ex:l, [ prov:type="contained" ])
+
+entity(ex:s_2, [ prov:type="sculpture" ])
+entity(ex:h_2, [ prov:type="hand" ])
+activity(ex:a1, ,, [ prov:type="sculptHand" ])
+
+wasDerivedFrom(ex:s_2,ex:h_2, [ prov:type="contained" ])
+wasDerivedFrom(ex:s_2,ex:l,   [ prov:type="contained" ])
+wasDerivedFrom(ex:h_2,ex:h,   [ prov:type="refinementOf" ])
+wasDerivedFrom(ex:s_2,ex:s,   [ prov:type="refinementOf" ])
+wasGeneratedBy(ex:h_2,ex:a1)
+
+entity(ex:s_3, [ prov:type="sculpture" ])
+entity(ex:l_3, [ prov:type="leg" ])
+activity(ex:a2, ,, [ prov:type="sculptLeg" ])
+
+wasDerivedFrom(ex:s_3,ex:h_2, [ prov:type="contained" ])
+wasDerivedFrom(ex:s_3,ex:l_3, [ prov:type="contained" ])
+wasDerivedFrom(ex:l_3,ex:l,   [ prov:type="refinementOf" ])
+wasDerivedFrom(ex:s_3,ex:s_2, [ prov:type="refinementOf" ])
+wasGeneratedBy(ex:l_3,ex:a2)
+
+endContainer
\ No newline at end of file
Binary file model/scrape/examples/sculpture.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication1.dot	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,93 @@
+digraph OPMGraph { rankdir="BT"; 
+nact1 [label="act1",shape="polygon",sides="4"]
+nann0 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">publish</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann0 -> nact1 [style="dashed",color="gray",arrowhead="none"]
+nact2 [label="act2",shape="polygon",sides="4"]
+nann1 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">publish</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann1 -> nact2 [style="dashed",color="gray",arrowhead="none"]
+nWD_prov_dm_20111018 [label="WD-prov-dm-20111018"]
+nann2 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">RecsWD</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann2 -> nWD_prov_dm_20111018 [style="dashed",color="gray",arrowhead="none"]
+nWD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
+nann3 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">RecsWD</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann3 -> nWD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
+nrec_advance [label="rec-advance"]
+nann4 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Plan</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann4 -> nrec_advance [style="dashed",color="gray",arrowhead="none"]
+n2011OctDec_0004 [label="2011OctDec/0004"]
+nann5 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">transreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann5 -> n2011OctDec_0004 [style="dashed",color="gray",arrowhead="none"]
+n2011Oct_0141 [label="2011Oct/0141"]
+nann6 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">pubreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann6 -> n2011Oct_0141 [style="dashed",color="gray",arrowhead="none"]
+n2011Dec_0111 [label="2011Dec/0111"]
+nann7 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">pubreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann7 -> n2011Dec_0111 [style="dashed",color="gray",arrowhead="none"]
+nConsortium [label="Consortium",shape="polygon",sides="8"]
+nann8 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Organization</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+nann8 -> nConsortium [style="dashed",color="gray",arrowhead="none"]
+nWD_prov_dm_20111215 -> nWD_prov_dm_20111018 []
+nWD_prov_dm_20111018 -> nact1 []
+nWD_prov_dm_20111215 -> nact2 []
+nact1 -> n2011OctDec_0004 []
+nact1 -> n2011Oct_0141 []
+nact2 -> n2011Dec_0111 []
+nact1 -> nConsortium []
+nact1 -> nrec_advance []
+nact2 -> nConsortium []
+nact2 -> nrec_advance []
+}
Binary file model/scrape/examples/w3c-publication1.pdf has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication1.pn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,44 @@
+
+
+bundle ex:process-view
+
+prefix ex  <http://example.org/>
+
+prefix w3      <http://www.w3.org/>
+prefix tr      <http://www.w3.org/TR/2011/>
+prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
+prefix email   <https://lists.w3.org/Archives/Member/w3c-archive/>
+prefix chairs  <https://lists.w3.org/Archives/Member/chairs/>
+prefix trans   <http://www.w3.org/2005/08/01-transitions.html#>
+prefix rec54   <http://www.w3.org/2001/02pd/rec54#>
+
+
+  entity(tr:WD-prov-dm-20111018, [ prov:type='rec54:WD' ])
+  entity(tr:WD-prov-dm-20111215, [ prov:type='rec54:WD' ])
+  entity(process:rec-advance,    [ prov:type='prov:Plan' ])
+
+
+  entity(chairs:2011OctDec/0004, [ prov:type='trans:transreq' ])
+  entity(email:2011Oct/0141,     [ prov:type='trans:pubreq' ])
+  entity(email:2011Dec/0111,     [ prov:type='trans:pubreq' ])
+
+
+  wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)
+
+
+  activity(ex:act1,-,-,[prov:type="publish"])
+  activity(ex:act2,-,-,[prov:type="publish"])
+
+  wasGeneratedBy(tr:WD-prov-dm-20111018, ex:act1, -)
+  wasGeneratedBy(tr:WD-prov-dm-20111215, ex:act2, -)
+
+  used(ex:act1, chairs:2011OctDec/0004, -)
+  used(ex:act1, email:2011Oct/0141, -)
+  used(ex:act2, email:2011Dec/0111, -)
+
+  agent(w3:Consortium, [ prov:type='prov:Organization' ])
+
+  wasAssociatedWith(ex:act1, w3:Consortium, process:rec-advance)
+  wasAssociatedWith(ex:act2, w3:Consortium, process:rec-advance)
+
+endBundle
Binary file model/scrape/examples/w3c-publication1.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication1.prov-xml	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:container xmlns:prov="http://openprovenance.org/prov-xml#" xmlns:process="http://www.w3.org/2005/10/Process-20051014/tr.html#" xmlns:chairs="https://lists.w3.org/Archives/Member/chairs/" xmlns:w3="http://www.w3.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ex="http://example.org/" xmlns:email="https://lists.w3.org/Archives/Member/w3c-archive/" xmlns:tr="http://www.w3.org/TR/2011/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:trans="http://www.w3.org/2005/08/01-transitions.html#">
+    <prov:records>
+        <prov:activity prov:id="ex:act1">
+            <prov:type xsi:type="xsd:string">publish</prov:type>
+        </prov:activity>
+        <prov:activity prov:id="ex:act2">
+            <prov:type xsi:type="xsd:string">publish</prov:type>
+        </prov:activity>
+        <prov:entity prov:id="tr:WD-prov-dm-20111018">
+            <prov:type xsi:type="xsd:QName">process:RecsWD</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="tr:WD-prov-dm-20111215">
+            <prov:type xsi:type="xsd:QName">process:RecsWD</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="process:rec-advance">
+            <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="chairs:2011OctDec/0004">
+            <prov:type xsi:type="xsd:QName">trans:transreq</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="email:2011Oct/0141">
+            <prov:type xsi:type="xsd:QName">trans:pubreq</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="email:2011Dec/0111">
+            <prov:type xsi:type="xsd:QName">trans:pubreq</prov:type>
+        </prov:entity>
+        <prov:agent prov:id="w3:Consortium">
+            <prov:type xsi:type="xsd:string">Organization</prov:type>
+        </prov:agent>
+        <prov:dependencies>
+            <prov:wasDerivedFrom>
+                <prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/>
+                <prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/>
+            </prov:wasDerivedFrom>
+            <prov:wasGeneratedBy>
+                <prov:entity prov:ref="tr:WD-prov-dm-20111018"/>
+                <prov:activity prov:ref="ex:act1"/>
+            </prov:wasGeneratedBy>
+            <prov:wasGeneratedBy>
+                <prov:entity prov:ref="tr:WD-prov-dm-20111215"/>
+                <prov:activity prov:ref="ex:act2"/>
+            </prov:wasGeneratedBy>
+            <prov:used>
+                <prov:activity prov:ref="ex:act1"/>
+                <prov:entity prov:ref="chairs:2011OctDec/0004"/>
+            </prov:used>
+            <prov:used>
+                <prov:activity prov:ref="ex:act1"/>
+                <prov:entity prov:ref="email:2011Oct/0141"/>
+            </prov:used>
+            <prov:used>
+                <prov:activity prov:ref="ex:act2"/>
+                <prov:entity prov:ref="email:2011Dec/0111"/>
+            </prov:used>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:act1"/>
+                <prov:agent prov:ref="w3:Consortium"/>
+                <prov:plan prov:ref="process:rec-advance"/>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:act2"/>
+                <prov:agent prov:ref="w3:Consortium"/>
+                <prov:plan prov:ref="process:rec-advance"/>
+            </prov:wasAssociatedWith>
+        </prov:dependencies>
+    </prov:records>
+</prov:container>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication1.svg	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,216 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Generated by graphviz version 2.26.3 (20100126.1600)
+ -->
+<!-- Title: OPMGraph Pages: 1 -->
+<svg width="702pt" height="332pt"
+ viewBox="0.00 0.00 702.00 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 328)">
+<title>OPMGraph</title>
+<polygon fill="white" stroke="white" points="-4,5 -4,-328 699,-328 699,5 -4,5"/>
+<!-- pub1 -->
+<g id="node1" class="node"><title>pub1</title>
+<polygon fill="none" stroke="black" points="472,-252 418,-252 418,-216 472,-216 472,-252"/>
+<text text-anchor="middle" x="445" y="-228.9" font-family="Times,serif" font-size="14.00">pub1</text>
+</g>
+<!-- rec_advance -->
+<g id="node13" class="node"><title>rec_advance</title>
+<ellipse fill="none" stroke="black" cx="369" cy="-306" rx="55.895" ry="18"/>
+<text text-anchor="middle" x="369" y="-300.9" font-family="Times,serif" font-size="14.00">rec&#45;advance</text>
+</g>
+<!-- pub1&#45;&gt;rec_advance -->
+<g id="edge34" class="edge"><title>pub1&#45;&gt;rec_advance</title>
+<path fill="none" stroke="black" d="M425.822,-252.169C416.361,-261.132 404.817,-272.068 394.612,-281.736"/>
+<polygon fill="black" stroke="black" points="391.978,-279.41 387.125,-288.829 396.792,-284.492 391.978,-279.41"/>
+</g>
+<!-- 0004 -->
+<g id="node16" class="node"><title>0004</title>
+<ellipse fill="none" stroke="black" cx="509" cy="-306" rx="30.0465" ry="18"/>
+<text text-anchor="middle" x="509" y="-300.9" font-family="Times,serif" font-size="14.00">0004</text>
+</g>
+<!-- pub1&#45;&gt;0004 -->
+<g id="edge26" class="edge"><title>pub1&#45;&gt;0004</title>
+<path fill="none" stroke="black" d="M461.15,-252.169C469.331,-261.373 479.362,-272.657 488.122,-282.513"/>
+<polygon fill="black" stroke="black" points="485.557,-284.894 494.816,-290.043 490.788,-280.244 485.557,-284.894"/>
+</g>
+<!-- 0141 -->
+<g id="node19" class="node"><title>0141</title>
+<ellipse fill="none" stroke="black" cx="621" cy="-306" rx="29.8973" ry="18"/>
+<text text-anchor="middle" x="621" y="-300.9" font-family="Times,serif" font-size="14.00">0141</text>
+</g>
+<!-- pub1&#45;&gt;0141 -->
+<g id="edge28" class="edge"><title>pub1&#45;&gt;0141</title>
+<path fill="none" stroke="black" d="M472.389,-248.032C475.278,-249.411 478.187,-250.758 481,-252 515.96,-267.44 556.827,-282.917 585.35,-293.319"/>
+<polygon fill="black" stroke="black" points="584.301,-296.661 594.895,-296.778 586.686,-290.08 584.301,-296.661"/>
+</g>
+<!-- Consortium -->
+<g id="node25" class="node"><title>Consortium</title>
+<polygon fill="none" stroke="black" points="295.093,-298.544 295.093,-313.456 260.477,-324 211.523,-324 176.907,-313.456 176.907,-298.544 211.523,-288 260.477,-288 295.093,-298.544"/>
+<text text-anchor="middle" x="236" y="-300.9" font-family="Times,serif" font-size="14.00">Consortium</text>
+</g>
+<!-- pub1&#45;&gt;Consortium -->
+<g id="edge32" class="edge"><title>pub1&#45;&gt;Consortium</title>
+<path fill="none" stroke="black" d="M417.692,-248.223C414.787,-249.565 411.852,-250.851 409,-252 370.221,-267.629 325.087,-281.582 290.645,-291.388"/>
+<polygon fill="black" stroke="black" points="289.451,-288.089 280.774,-294.169 291.349,-294.826 289.451,-288.089"/>
+</g>
+<!-- ann0 -->
+<g id="node2" class="node"><title>ann0</title>
+<polygon fill="none" stroke="gray" points="540,-180 454,-180 454,-144 546,-144 546,-174 540,-180"/>
+<polyline fill="none" stroke="gray" points="540,-180 540,-174 "/>
+<polyline fill="none" stroke="gray" points="546,-174 540,-174 "/>
+<text text-anchor="start" x="464" y="-158.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="495" y="-158.233" font-family="Times,serif" font-size="14.00">publish</text>
+</g>
+<!-- ann0&#45;&gt;pub1 -->
+<g id="edge2" class="edge"><title>ann0&#45;&gt;pub1</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M486.121,-180.169C477.847,-191 467.372,-204.712 459.066,-215.587"/>
+</g>
+<!-- pub2 -->
+<g id="node4" class="node"><title>pub2</title>
+<polygon fill="none" stroke="black" points="162,-252 108,-252 108,-216 162,-216 162,-252"/>
+<text text-anchor="middle" x="135" y="-228.9" font-family="Times,serif" font-size="14.00">pub2</text>
+</g>
+<!-- pub2&#45;&gt;rec_advance -->
+<g id="edge38" class="edge"><title>pub2&#45;&gt;rec_advance</title>
+<path fill="none" stroke="black" d="M162.264,-248.336C165.178,-249.655 168.127,-250.905 171,-252 228.226,-273.801 244.936,-271.828 304,-288 308.066,-289.113 312.273,-290.269 316.503,-291.434"/>
+<polygon fill="black" stroke="black" points="315.783,-294.866 326.354,-294.152 317.645,-288.118 315.783,-294.866"/>
+</g>
+<!-- 0111 -->
+<g id="node22" class="node"><title>0111</title>
+<ellipse fill="none" stroke="black" cx="92" cy="-306" rx="28.0958" ry="18"/>
+<text text-anchor="middle" x="92" y="-300.9" font-family="Times,serif" font-size="14.00">0111</text>
+</g>
+<!-- pub2&#45;&gt;0111 -->
+<g id="edge30" class="edge"><title>pub2&#45;&gt;0111</title>
+<path fill="none" stroke="black" d="M124.149,-252.169C119.074,-260.667 112.939,-270.939 107.395,-280.222"/>
+<polygon fill="black" stroke="black" points="104.231,-278.694 102.109,-289.074 110.241,-282.283 104.231,-278.694"/>
+</g>
+<!-- pub2&#45;&gt;Consortium -->
+<g id="edge36" class="edge"><title>pub2&#45;&gt;Consortium</title>
+<path fill="none" stroke="black" d="M160.487,-252.169C173.263,-261.276 188.896,-272.421 202.618,-282.203"/>
+<polygon fill="black" stroke="black" points="200.697,-285.132 210.871,-288.087 204.76,-279.432 200.697,-285.132"/>
+</g>
+<!-- ann1 -->
+<g id="node5" class="node"><title>ann1</title>
+<polygon fill="none" stroke="gray" points="212,-180 126,-180 126,-144 218,-144 218,-174 212,-180"/>
+<polyline fill="none" stroke="gray" points="212,-180 212,-174 "/>
+<polyline fill="none" stroke="gray" points="218,-174 212,-174 "/>
+<text text-anchor="start" x="136" y="-158.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="167" y="-158.233" font-family="Times,serif" font-size="14.00">publish</text>
+</g>
+<!-- ann1&#45;&gt;pub2 -->
+<g id="edge4" class="edge"><title>ann1&#45;&gt;pub2</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M162.663,-180.169C157.097,-191 150.051,-204.712 144.462,-215.587"/>
+</g>
+<!-- WD_prov_dm_20111018 -->
+<g id="node7" class="node"><title>WD_prov_dm_20111018</title>
+<ellipse fill="none" stroke="black" cx="336" cy="-162" rx="100.24" ry="18"/>
+<text text-anchor="middle" x="336" y="-156.9" font-family="Times,serif" font-size="14.00">WD&#45;prov&#45;dm&#45;20111018</text>
+</g>
+<!-- WD_prov_dm_20111018&#45;&gt;pub1 -->
+<g id="edge22" class="edge"><title>WD_prov_dm_20111018&#45;&gt;pub1</title>
+<path fill="none" stroke="black" d="M362.386,-179.429C376.396,-188.683 393.819,-200.192 409.048,-210.252"/>
+<polygon fill="black" stroke="black" points="407.446,-213.388 417.719,-215.979 411.304,-207.547 407.446,-213.388"/>
+</g>
+<!-- ann2 -->
+<g id="node8" class="node"><title>ann2</title>
+<polygon fill="none" stroke="gray" points="381,-108 285,-108 285,-72 387,-72 387,-102 381,-108"/>
+<polyline fill="none" stroke="gray" points="381,-108 381,-102 "/>
+<polyline fill="none" stroke="gray" points="387,-102 381,-102 "/>
+<text text-anchor="start" x="295" y="-86.2333" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="326" y="-86.2333" font-family="Times,serif" font-size="14.00">RecsWD</text>
+</g>
+<!-- ann2&#45;&gt;WD_prov_dm_20111018 -->
+<g id="edge6" class="edge"><title>ann2&#45;&gt;WD_prov_dm_20111018</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M336,-108.169C336,-119 336,-132.712 336,-143.587"/>
+</g>
+<!-- WD_prov_dm_20111215 -->
+<g id="node10" class="node"><title>WD_prov_dm_20111215</title>
+<ellipse fill="none" stroke="black" cx="133" cy="-90" rx="100.24" ry="18"/>
+<text text-anchor="middle" x="133" y="-84.9" font-family="Times,serif" font-size="14.00">WD&#45;prov&#45;dm&#45;20111215</text>
+</g>
+<!-- WD_prov_dm_20111215&#45;&gt;pub2 -->
+<g id="edge24" class="edge"><title>WD_prov_dm_20111215&#45;&gt;pub2</title>
+<path fill="none" stroke="black" d="M126.181,-108.2C122.672,-118.536 118.768,-131.807 117,-144 114.704,-159.834 114.437,-164.207 117,-180 118.418,-188.738 121.048,-197.973 123.867,-206.286"/>
+<polygon fill="black" stroke="black" points="120.642,-207.66 127.332,-215.876 127.225,-205.281 120.642,-207.66"/>
+</g>
+<!-- WD_prov_dm_20111215&#45;&gt;WD_prov_dm_20111018 -->
+<g id="edge20" class="edge"><title>WD_prov_dm_20111215&#45;&gt;WD_prov_dm_20111018</title>
+<path fill="none" stroke="black" d="M178.304,-106.069C208.591,-116.811 248.626,-131.01 280.778,-142.414"/>
+<polygon fill="black" stroke="black" points="279.889,-145.812 290.483,-145.856 282.229,-139.215 279.889,-145.812"/>
+</g>
+<!-- ann3 -->
+<g id="node11" class="node"><title>ann3</title>
+<polygon fill="none" stroke="gray" points="178,-36 82,-36 82,-1.77636e-14 184,-3.55271e-15 184,-30 178,-36"/>
+<polyline fill="none" stroke="gray" points="178,-36 178,-30 "/>
+<polyline fill="none" stroke="gray" points="184,-30 178,-30 "/>
+<text text-anchor="start" x="92" y="-14.2333" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="123" y="-14.2333" font-family="Times,serif" font-size="14.00">RecsWD</text>
+</g>
+<!-- ann3&#45;&gt;WD_prov_dm_20111215 -->
+<g id="edge8" class="edge"><title>ann3&#45;&gt;WD_prov_dm_20111215</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M133,-36.1686C133,-47 133,-60.7124 133,-71.5867"/>
+</g>
+<!-- ann4 -->
+<g id="node14" class="node"><title>ann4</title>
+<polygon fill="none" stroke="gray" points="394,-252 324,-252 324,-216 400,-216 400,-246 394,-252"/>
+<polyline fill="none" stroke="gray" points="394,-252 394,-246 "/>
+<polyline fill="none" stroke="gray" points="400,-246 394,-246 "/>
+<text text-anchor="start" x="334" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="365" y="-230.233" font-family="Times,serif" font-size="14.00">Plan</text>
+</g>
+<!-- ann4&#45;&gt;rec_advance -->
+<g id="edge10" class="edge"><title>ann4&#45;&gt;rec_advance</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M363.766,-252.169C364.819,-263 366.153,-276.712 367.21,-287.587"/>
+</g>
+<!-- ann5 -->
+<g id="node17" class="node"><title>ann5</title>
+<polygon fill="none" stroke="gray" points="580,-252 490,-252 490,-216 586,-216 586,-246 580,-252"/>
+<polyline fill="none" stroke="gray" points="580,-252 580,-246 "/>
+<polyline fill="none" stroke="gray" points="586,-246 580,-246 "/>
+<text text-anchor="start" x="500" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="531" y="-230.233" font-family="Times,serif" font-size="14.00">transreq</text>
+</g>
+<!-- ann5&#45;&gt;0004 -->
+<g id="edge12" class="edge"><title>ann5&#45;&gt;0004</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M530.682,-252.169C526.252,-263.167 520.626,-277.135 516.215,-288.087"/>
+</g>
+<!-- ann6 -->
+<g id="node20" class="node"><title>ann6</title>
+<polygon fill="none" stroke="gray" points="688,-252 604,-252 604,-216 694,-216 694,-246 688,-252"/>
+<polyline fill="none" stroke="gray" points="688,-252 688,-246 "/>
+<polyline fill="none" stroke="gray" points="694,-246 688,-246 "/>
+<text text-anchor="start" x="614" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="645" y="-230.233" font-family="Times,serif" font-size="14.00">pubreq</text>
+</g>
+<!-- ann6&#45;&gt;0141 -->
+<g id="edge14" class="edge"><title>ann6&#45;&gt;0141</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M641.934,-252.169C637.657,-263.167 632.225,-277.135 627.966,-288.087"/>
+</g>
+<!-- ann7 -->
+<g id="node23" class="node"><title>ann7</title>
+<polygon fill="none" stroke="gray" points="84,-252 3.55271e-14,-252 0,-216 90,-216 90,-246 84,-252"/>
+<polyline fill="none" stroke="gray" points="84,-252 84,-246 "/>
+<polyline fill="none" stroke="gray" points="90,-246 84,-246 "/>
+<text text-anchor="start" x="10" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="41" y="-230.233" font-family="Times,serif" font-size="14.00">pubreq</text>
+</g>
+<!-- ann7&#45;&gt;0111 -->
+<g id="edge16" class="edge"><title>ann7&#45;&gt;0111</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M56.8601,-252.169C64.2569,-263.5 73.712,-277.984 80.9509,-289.074"/>
+</g>
+<!-- ann8 -->
+<g id="node26" class="node"><title>ann8</title>
+<polygon fill="none" stroke="gray" points="300,-252 180,-252 180,-216 306,-216 306,-246 300,-252"/>
+<polyline fill="none" stroke="gray" points="300,-252 300,-246 "/>
+<polyline fill="none" stroke="gray" points="306,-246 300,-246 "/>
+<text text-anchor="start" x="190" y="-230.233" font-family="Times,serif" font-size="14.00">type:</text>
+<text text-anchor="start" x="221" y="-230.233" font-family="Times,serif" font-size="14.00">Organization</text>
+</g>
+<!-- ann8&#45;&gt;Consortium -->
+<g id="edge18" class="edge"><title>ann8&#45;&gt;Consortium</title>
+<path fill="none" stroke="gray" stroke-dasharray="5,2" d="M241.234,-252.169C240.181,-263 238.847,-276.712 237.79,-287.587"/>
+</g>
+</g>
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication1/index.html	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,48 @@
+
+
+container
+
+prefix ex </http://example.org/>
+
+prefix w3  <http://www.w3.org/>
+prefix tr  <http://www.w3.org/TR/2011/>
+prefix pr  <http://www.w3.org/2005/10/Process-20051014/tr.html#>
+
+prefix ar1 <https://lists.w3.org/Archives/Member/chairs/2011OctDec/>
+prefix ar2 <https://lists.w3.org/Archives/Member/w3c-archive/2011Oct/>
+prefix ar3 <https://lists.w3.org/Archives/Member/w3c-archive/2011Dec/>
+
+
+entity(tr:WD-prov-dm-20111018, [ prov:type="pr:RecsWD" %% xsd:QName ])
+entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
+entity(pr:rec-advance,         [ prov:type="prov:Plan" %% xsd:QName ])
+
+
+entity(ar1:0004, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#transreq" %% xsd:anyURI ])
+entity(ar2:0141, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
+entity(ar3:0111, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
+
+
+wasDerivedFrom(tr:WD-prov-dm-20111215,tr:WD-prov-dm-20111018)
+
+
+activity(ex:pub1,,,[prov:type="publish"])
+activity(ex:pub2,,,[prov:type="publish"])
+
+
+wasGeneratedBy(tr:WD-prov-dm-20111018, ex:pub1)
+wasGeneratedBy(tr:WD-prov-dm-20111215, ex:pub2)
+
+used(ex:pub1,ar1:0004)
+used(ex:pub1,ar2:0141)
+used(ex:pub2,ar3:0111)
+
+agent(w3:Consortium, [ prov:type="Organization" ])
+
+wasAssociatedWith(ex:pub1, w3:Consortium  @ pr:rec-advance)
+wasAssociatedWith(ex:pub2, w3:Consortium  @ pr:rec-advance)
+
+
+
+endContainer
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication2.dot	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,52 @@
+digraph OPMGraph { rankdir="BT"; 
+rcp [label="rcp",shape="polygon",sides="4"]
+ann9 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">copy directory</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann9 -> rcp [style="dashed",color="gray",arrowhead="none"]
+Overview_html [label="Overview.html"]
+ann10 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">file in hg</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann10 -> Overview_html [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
+ann11 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">html4</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann11 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
+req3 [label="req3"]
+ann12 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">pubreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann12 -> req3 [style="dashed",color="gray",arrowhead="none"]
+webmaster [label="webmaster",shape="polygon",sides="8"]
+ann13 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann13 -> webmaster [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 -> rcp []
+rcp -> Overview_html []
+rcp -> req3 []
+WD_prov_dm_20111215 -> Overview_html []
+rcp -> webmaster []
+}
Binary file model/scrape/examples/w3c-publication2.pdf has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication2.pn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,45 @@
+
+
+container
+
+prefix ex <http://example.org/>
+prefix rec <http://example.org/record>
+
+prefix w3 <http://www.w3.org/TR/2011/>
+prefix hg <http://dvcs.w3.org/hg/prov/raw-file/9628aaff6e20/model/releases/WD-prov-dm-20111215/>
+prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
+
+
+
+entity(hg:Overview.html, [ prov:type="file in hg" ])
+
+entity(w3:WD-prov-dm-20111215, [ prov:type="html4" ])
+
+
+
+
+
+
+activity(ex:rcp,,,[prov:type="copy directory"])
+
+
+wasGeneratedBy(rec:g,w3:WD-prov-dm-20111215, ex:rcp)
+
+entity(ex:req3, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
+
+used(rec:u, ex:rcp,hg:Overview.html)
+used(ex:rcp,ex:req3)
+
+
+wasDerivedFrom(w3:WD-prov-dm-20111215,hg:Overview.html, ex:rcp, rec:g, rec:u)
+
+agent(ex:webmaster, [ prov:type="Person" ])
+
+wasAssociatedWith(ex:rcp, ex:webmaster)
+
+endContainer
+
+
+#activity(ex:a5,,,[prov:type="grammarcheck"])
+#ex:version="1", 
+#ex:version="2"
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication2.prov-xml	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:container xmlns:prov="http://openprovenance.org/prov-xml#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ex="http://example.org/" xmlns:hg="http://dvcs.w3.org/hg/prov/raw-file/9628aaff6e20/model/releases/WD-prov-dm-20111215/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:process="http://www.w3.org/2005/10/Process-20051014/tr.html#" xmlns:rec="http://example.org/record" xmlns:w3="http://www.w3.org/TR/2011/">
+    <prov:records>
+        <prov:activity prov:id="ex:rcp">
+            <prov:type xsi:type="xsd:string">copy directory</prov:type>
+        </prov:activity>
+        <prov:entity prov:id="hg:Overview.html">
+            <prov:type xsi:type="xsd:string">file in hg</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="w3:WD-prov-dm-20111215">
+            <prov:type xsi:type="xsd:string">html4</prov:type>
+        </prov:entity>
+        <prov:entity prov:id="ex:req3">
+            <prov:type xsi:type="xsd:anyURI">http://www.w3.org/2005/08/01-transitions.html#pubreq</prov:type>
+        </prov:entity>
+        <prov:agent prov:id="ex:webmaster">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:dependencies>
+            <prov:wasGeneratedBy prov:id="rec:g">
+                <prov:entity prov:ref="w3:WD-prov-dm-20111215"/>
+                <prov:activity prov:ref="ex:rcp"/>
+            </prov:wasGeneratedBy>
+            <prov:used prov:id="rec:u">
+                <prov:activity prov:ref="ex:rcp"/>
+                <prov:entity prov:ref="hg:Overview.html"/>
+            </prov:used>
+            <prov:used>
+                <prov:activity prov:ref="ex:rcp"/>
+                <prov:entity prov:ref="ex:req3"/>
+            </prov:used>
+            <prov:wasDerivedFrom>
+                <prov:generation prov:ref="rec:g"/>
+                <prov:usage prov:ref="rec:u"/>
+                <prov:activity prov:ref="ex:rcp"/>
+                <prov:effect prov:ref="w3:WD-prov-dm-20111215"/>
+                <prov:cause prov:ref="hg:Overview.html"/>
+            </prov:wasDerivedFrom>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:rcp"/>
+                <prov:agent prov:ref="ex:webmaster"/>
+            </prov:wasAssociatedWith>
+        </prov:dependencies>
+    </prov:records>
+</prov:container>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication3.dot	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,145 @@
+digraph OPMGraph { rankdir="BT"; 
+edit1 [label="edit1",shape="polygon",sides="4"]
+ann14 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">edit</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann14 -> edit1 [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
+ann15 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">document</TD>
+	</TR>
+	<TR>
+	    <TD align="left">version:</TD>
+	    <TD align="left">2</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann15 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
+Luc [label="Luc",shape="polygon",sides="8"]
+ann16 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann16 -> Luc [style="dashed",color="gray",arrowhead="none"]
+Paolo [label="Paolo",shape="polygon",sides="8"]
+ann17 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann17 -> Paolo [style="dashed",color="gray",arrowhead="none"]
+Khalid [label="Khalid",shape="polygon",sides="8"]
+ann18 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann18 -> Khalid [style="dashed",color="gray",arrowhead="none"]
+Stephen [label="Stephen",shape="polygon",sides="8"]
+ann19 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann19 -> Stephen [style="dashed",color="gray",arrowhead="none"]
+Yolanda [label="Yolanda",shape="polygon",sides="8"]
+ann20 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann20 -> Yolanda [style="dashed",color="gray",arrowhead="none"]
+Ryan [label="Ryan",shape="polygon",sides="8"]
+ann21 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann21 -> Ryan [style="dashed",color="gray",arrowhead="none"]
+Paul [label="Paul",shape="polygon",sides="8"]
+ann22 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann22 -> Paul [style="dashed",color="gray",arrowhead="none"]
+Graham [label="Graham",shape="polygon",sides="8"]
+ann23 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann23 -> Graham [style="dashed",color="gray",arrowhead="none"]
+Jim [label="Jim",shape="polygon",sides="8"]
+ann24 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann24 -> Jim [style="dashed",color="gray",arrowhead="none"]
+Simon [label="Simon",shape="polygon",sides="8"]
+ann25 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann25 -> Simon [style="dashed",color="gray",arrowhead="none"]
+James [label="James",shape="polygon",sides="8"]
+ann26 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann26 -> James [style="dashed",color="gray",arrowhead="none"]
+Satya [label="Satya",shape="polygon",sides="8"]
+ann27 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann27 -> Satya [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 -> edit1 []
+edit1 -> Luc []
+edit1 -> Paolo []
+edit1 -> Khalid []
+edit1 -> Stephen []
+edit1 -> Yolanda []
+edit1 -> Ryan []
+edit1 -> Paul []
+edit1 -> Graham []
+edit1 -> Jim []
+edit1 -> Simon []
+edit1 -> James []
+edit1 -> Satya []
+}
Binary file model/scrape/examples/w3c-publication3.pdf has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication3.pn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,41 @@
+
+
+bundle ex:author-view
+
+prefix ex <http://example.org/>
+prefix w3  <http://www.w3.org/>
+prefix tr  <http://www.w3.org/TR/2011/>
+
+entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
+
+agent(ex:Luc,     [ prov:type='prov:Person' ])
+agent(ex:Paolo,   [ prov:type='prov:Person' ])
+agent(ex:Khalid,  [ prov:type='prov:Person' ])
+agent(ex:Stephen, [ prov:type='prov:Person' ])
+agent(ex:Yolanda, [ prov:type='prov:Person' ])
+agent(ex:Ryan,    [ prov:type='prov:Person' ])
+agent(ex:Paul,    [ prov:type='prov:Person' ])
+agent(ex:Graham,  [ prov:type='prov:Person' ])
+agent(ex:Jim,     [ prov:type='prov:Person' ])
+agent(ex:Simon,   [ prov:type='prov:Person' ])
+agent(ex:James,   [ prov:type='prov:Person' ])
+agent(ex:Satya,   [ prov:type='prov:Person' ])
+
+activity(ex:edit1,[prov:type="edit"])
+
+wasGeneratedBy(tr:WD-prov-dm-20111215, ex:edit1)
+
+wasAssociatedWith(ex:edit1, ex:Luc, -,     [prov:role="editor"])
+wasAssociatedWith(ex:edit1, ex:Paolo, -,   [prov:role="editor"])
+wasAssociatedWith(ex:edit1, ex:Khalid, -,  [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Stephen, -, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Yolanda, -, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Ryan, -,    [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Paul, -,    [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Graham, -,  [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Jim, -,     [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Simon, -,   [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:James, -,   [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Satya, -,   [prov:role="contributor"])
+
+endBundle
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3c-publication3.prov-xml	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:container xmlns:prov="http://openprovenance.org/prov-xml#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ex="http://example.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rec="http://example.org/record" xmlns:w3="http://www.w3.org/TR/2011/">
+    <prov:records>
+        <prov:activity prov:id="ex:edit1">
+            <prov:type xsi:type="xsd:string">edit</prov:type>
+        </prov:activity>
+        <prov:entity prov:id="w3:WD-prov-dm-20111215">
+            <prov:type xsi:type="xsd:string">document</prov:type>
+            <ex:version xsi:type="xsd:string">2</ex:version>
+        </prov:entity>
+        <prov:agent prov:id="ex:Luc">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Paolo">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Khalid">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Stephen">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Yolanda">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Ryan">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Paul">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Graham">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Jim">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Simon">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:James">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:agent prov:id="ex:Satya">
+            <prov:type xsi:type="xsd:string">Person</prov:type>
+        </prov:agent>
+        <prov:dependencies>
+            <prov:wasGeneratedBy>
+                <prov:entity prov:ref="w3:WD-prov-dm-20111215"/>
+                <prov:activity prov:ref="ex:edit1"/>
+            </prov:wasGeneratedBy>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Luc"/>
+                <prov:role xsi:type="xsd:string">editor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Paolo"/>
+                <prov:role xsi:type="xsd:string">editor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Khalid"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Stephen"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Yolanda"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Ryan"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Paul"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Graham"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Jim"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Simon"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:James"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+            <prov:wasAssociatedWith>
+                <prov:activity prov:ref="ex:edit1"/>
+                <prov:agent prov:ref="ex:Satya"/>
+                <prov:role xsi:type="xsd:string">contributor</prov:role>
+            </prov:wasAssociatedWith>
+        </prov:dependencies>
+    </prov:records>
+</prov:container>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3c-publication1.dot	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,93 @@
+digraph OPMGraph { rankdir="BT"; 
+pub1 [label="pub1",shape="polygon",sides="4"]
+ann0 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">publish</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann0 -> pub1 [style="dashed",color="gray",arrowhead="none"]
+pub2 [label="pub2",shape="polygon",sides="4"]
+ann1 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">publish</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann1 -> pub2 [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111018 [label="WD-prov-dm-20111018"]
+ann2 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">WD</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann2 -> WD_prov_dm_20111018 [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
+ann3 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">WD</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann3 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
+rec_advance [label="rec-advance"]
+ann4 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Plan</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann4 -> rec_advance [style="dashed",color="gray",arrowhead="none"]
+req1 [label="req1"]
+ann5 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">transreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann5 -> req1 [style="dashed",color="gray",arrowhead="none"]
+req2 [label="req2"]
+ann6 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">pubreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann6 -> req2 [style="dashed",color="gray",arrowhead="none"]
+req3 [label="req3"]
+ann7 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">pubreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann7 -> req3 [style="dashed",color="gray",arrowhead="none"]
+w3c [label="w3c",shape="polygon",sides="8"]
+ann8 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Organization</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann8 -> w3c [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 -> WD_prov_dm_20111018 []
+WD_prov_dm_20111018 -> pub1 []
+WD_prov_dm_20111215 -> pub2 []
+pub1 -> req1 []
+pub1 -> req2 []
+pub2 -> req3 []
+pub1 -> w3c []
+pub1 -> rec_advance []
+pub2 -> w3c []
+pub2 -> rec_advance []
+}
Binary file model/scrape/examples/w3cpub/w3c-publication1.pdf has changed
Binary file model/scrape/examples/w3cpub/w3c-publication1.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3c-publication1.prov-asn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,47 @@
+
+
+container
+
+prefix ex <http://example.org/>
+
+prefix w3 <http://www.w3.org/TR/2011/>
+prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
+
+
+entity(w3:WD-prov-dm-20111018, [ prov:type="WD" ])
+entity(w3:WD-prov-dm-20111215, [ prov:type="WD" ])
+
+entity(process:rec-advance, [ prov:type="Plan" ])
+
+entity(ex:req1, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#transreq" %% xsd:anyURI ])
+entity(ex:req2, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
+entity(ex:req3, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
+
+
+wasDerivedFrom(w3:WD-prov-dm-20111215,w3:WD-prov-dm-20111018)
+
+
+activity(ex:pub1,,,[prov:type="publish"])
+activity(ex:pub2,,,[prov:type="publish"])
+
+
+wasGeneratedBy(w3:WD-prov-dm-20111018, ex:pub1)
+wasGeneratedBy(w3:WD-prov-dm-20111215, ex:pub2)
+
+used(ex:pub1,ex:req1)
+used(ex:pub1,ex:req2)
+used(ex:pub2,ex:req3)
+
+agent(ex:w3c, [ prov:type="Organization" ])
+
+wasAssociatedWith(ex:pub1, ex:w3c  @ process:rec-advance)
+wasAssociatedWith(ex:pub2, ex:w3c  @ process:rec-advance)
+
+
+
+endContainer
+
+
+#activity(ex:a5,,,[prov:type="grammarcheck"])
+#ex:version="1", 
+#ex:version="2"
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3c-publication2.dot	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,52 @@
+digraph OPMGraph { rankdir="BT"; 
+rcp [label="rcp",shape="polygon",sides="4"]
+ann9 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">copy directory</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann9 -> rcp [style="dashed",color="gray",arrowhead="none"]
+Overview_html [label="Overview.html"]
+ann10 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">file in hg</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann10 -> Overview_html [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
+ann11 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">html4</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann11 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
+req3 [label="req3"]
+ann12 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">pubreq</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann12 -> req3 [style="dashed",color="gray",arrowhead="none"]
+webmaster [label="webmaster",shape="polygon",sides="8"]
+ann13 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann13 -> webmaster [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 -> rcp []
+rcp -> Overview_html []
+rcp -> req3 []
+WD_prov_dm_20111215 -> Overview_html []
+rcp -> webmaster []
+}
Binary file model/scrape/examples/w3cpub/w3c-publication2.pdf has changed
Binary file model/scrape/examples/w3cpub/w3c-publication2.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3c-publication2.prov-asn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,45 @@
+
+
+container
+
+prefix ex <http://example.org/>
+prefix rec <http://example.org/record>
+
+prefix w3 <http://www.w3.org/TR/2011/>
+prefix hg <http://dvcs.w3.org/hg/prov/raw-file/9628aaff6e20/model/releases/WD-prov-dm-20111215/>
+prefix process <http://www.w3.org/2005/10/Process-20051014/tr.html#>
+
+
+
+entity(hg:Overview.html, [ prov:type="file in hg" ])
+
+entity(w3:WD-prov-dm-20111215, [ prov:type="html4" ])
+
+
+
+
+
+
+activity(ex:rcp,,,[prov:type="copy directory"])
+
+
+wasGeneratedBy(rec:g,w3:WD-prov-dm-20111215, ex:rcp)
+
+entity(ex:req3, [ prov:type="http://www.w3.org/2005/08/01-transitions.html#pubreq" %% xsd:anyURI ])
+
+used(rec:u, ex:rcp,hg:Overview.html)
+used(ex:rcp,ex:req3)
+
+
+wasDerivedFrom(w3:WD-prov-dm-20111215,hg:Overview.html, ex:rcp, rec:g, rec:u)
+
+agent(ex:webmaster, [ prov:type="Person" ])
+
+wasAssociatedWith(ex:rcp, ex:webmaster)
+
+endContainer
+
+
+#activity(ex:a5,,,[prov:type="grammarcheck"])
+#ex:version="1", 
+#ex:version="2"
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3c-publication3.dot	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,145 @@
+digraph OPMGraph { rankdir="BT"; 
+edit1 [label="edit1",shape="polygon",sides="4"]
+ann14 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">edit</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann14 -> edit1 [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 [label="WD-prov-dm-20111215"]
+ann15 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">document</TD>
+	</TR>
+	<TR>
+	    <TD align="left">version:</TD>
+	    <TD align="left">2</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann15 -> WD_prov_dm_20111215 [style="dashed",color="gray",arrowhead="none"]
+Luc [label="Luc",shape="polygon",sides="8"]
+ann16 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann16 -> Luc [style="dashed",color="gray",arrowhead="none"]
+Paolo [label="Paolo",shape="polygon",sides="8"]
+ann17 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann17 -> Paolo [style="dashed",color="gray",arrowhead="none"]
+Khalid [label="Khalid",shape="polygon",sides="8"]
+ann18 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann18 -> Khalid [style="dashed",color="gray",arrowhead="none"]
+Stephen [label="Stephen",shape="polygon",sides="8"]
+ann19 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann19 -> Stephen [style="dashed",color="gray",arrowhead="none"]
+Yolanda [label="Yolanda",shape="polygon",sides="8"]
+ann20 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann20 -> Yolanda [style="dashed",color="gray",arrowhead="none"]
+Ryan [label="Ryan",shape="polygon",sides="8"]
+ann21 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann21 -> Ryan [style="dashed",color="gray",arrowhead="none"]
+Paul [label="Paul",shape="polygon",sides="8"]
+ann22 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann22 -> Paul [style="dashed",color="gray",arrowhead="none"]
+Graham [label="Graham",shape="polygon",sides="8"]
+ann23 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann23 -> Graham [style="dashed",color="gray",arrowhead="none"]
+Jim [label="Jim",shape="polygon",sides="8"]
+ann24 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann24 -> Jim [style="dashed",color="gray",arrowhead="none"]
+Simon [label="Simon",shape="polygon",sides="8"]
+ann25 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann25 -> Simon [style="dashed",color="gray",arrowhead="none"]
+James [label="James",shape="polygon",sides="8"]
+ann26 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann26 -> James [style="dashed",color="gray",arrowhead="none"]
+Satya [label="Satya",shape="polygon",sides="8"]
+ann27 [color="gray",fontcolor="black",label=<<TABLE cellpadding="0" border="0">
+	<TR>
+	    <TD align="left">type:</TD>
+	    <TD align="left">Person</TD>
+	</TR>
+    </TABLE>>
+,shape="note"]
+ann27 -> Satya [style="dashed",color="gray",arrowhead="none"]
+WD_prov_dm_20111215 -> edit1 []
+edit1 -> Luc []
+edit1 -> Paolo []
+edit1 -> Khalid []
+edit1 -> Stephen []
+edit1 -> Yolanda []
+edit1 -> Ryan []
+edit1 -> Paul []
+edit1 -> Graham []
+edit1 -> Jim []
+edit1 -> Simon []
+edit1 -> James []
+edit1 -> Satya []
+}
Binary file model/scrape/examples/w3cpub/w3c-publication3.pdf has changed
Binary file model/scrape/examples/w3cpub/w3c-publication3.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3c-publication3.prov-asn	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,46 @@
+
+
+container
+
+prefix ex <http://example.org/>
+prefix rec <http://example.org/record>
+
+prefix w3 <http://www.w3.org/TR/2011/>
+
+
+entity(w3:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
+
+
+agent(ex:Luc, [ prov:type="Person" ])
+agent(ex:Paolo, [ prov:type="Person" ])
+agent(ex:Khalid, [ prov:type="Person" ])
+agent(ex:Stephen, [ prov:type="Person" ])
+agent(ex:Yolanda, [ prov:type="Person" ])
+agent(ex:Ryan, [ prov:type="Person" ])
+agent(ex:Paul, [ prov:type="Person" ])
+agent(ex:Graham, [ prov:type="Person" ])
+agent(ex:Jim, [ prov:type="Person" ])
+agent(ex:Simon, [ prov:type="Person" ])
+agent(ex:James, [ prov:type="Person" ])
+agent(ex:Satya, [ prov:type="Person" ])
+
+activity(ex:edit1,,,[prov:type="edit"])
+
+wasGeneratedBy(w3:WD-prov-dm-20111215, ex:edit1)
+
+
+
+wasAssociatedWith(ex:edit1, ex:Luc, [prov:role="editor"])
+wasAssociatedWith(ex:edit1, ex:Paolo, [prov:role="editor"])
+wasAssociatedWith(ex:edit1, ex:Khalid, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Stephen, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Yolanda, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Ryan, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Paul, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Graham, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Jim, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Simon, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:James, [prov:role="contributor"])
+wasAssociatedWith(ex:edit1, ex:Satya, [prov:role="contributor"])
+
+endContainer
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/scrape/examples/w3cpub/w3cpub.txt	Thu Jul 12 15:34:19 2012 +0100
@@ -0,0 +1,87 @@
+
+This example describes the provenance of the prov-dm (version 2)
+document http://www.w3.org/TR/2011/WD-prov-dm-20111215
+
+We can envisage three different accounts at least.
+
+1. Account 1: the W3C view
+This account contains the kind of provenance records that
+W3C could keep, for auditors to check that due processes are followed.
+
+In this account, we see that:
+- WD-prov-dm-20111215 was derived from WD-prov-dm-20111018
+- both WD-prov-dm-20111215 and WD-prov-dm-20111018 were published by the w3c agent
+- the publication activity for WD-prov-dm-20111215 used a publication request (req3)
+- the publication activity for WD-prov-dm-20111018 used another publication request (req2)
+  and a transition request (req1)
+- publications were according to the process rules (a plan).
+
+A simple visualization of Account 1 may be as follows.
+http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication1.pdf
+
+
+2. Account 2: the Web master view
+This account contains the kind of provenance records that the webmaster
+could keep.
+
+In this account, we see that
+- WD-prov-dm-20111215 was derived from Overview.html in the mercurial repo
+- WD-prov-dm-20111215 is the result of copying file(s) to the remote web server
+- webmaster was involved
+- webmaster did all this on the basis of the publication request (req3)
+
+A simple visualization of this account may be as follows.
+http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication2.pdf
+
+
+3. Account 3: the authors view.  
+ That's what each author could keep (for instance, to write in their CV).
+- the document WD-prov-dm-20111215 was co-edited by a set of authors, with various roles
+
+Again, visualization could as follows.
+http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication3.pdf
+
+4. We can envisage other accounts.
+- The mercurial log with all edits.
+- An account where other agents claim contribution to the document (faithfully or not)
+- etc
+
+
+
+To illustrate this example, I have written the three accounts in three separate asn files:
+
+http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication1.prov-asn
+http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication2.prov-asn
+http://dvcs.w3.org/hg/prov/raw-file/default/model/examples/w3cpub/w3c-publication3.prov-asn
+
+
+
+In this example, each WD is identified by its URI
+http://www.w3.org/TR/2011/WD-prov-dm-20111215
+http://www.w3.org/TR/2011/WD-prov-dm-20111018
+
+
+
+The entity records in the different accounts have different attributes
+and different values. (Similarly to example of section 9 in the prov-dm document.)
+
+In account 1, the type that matters for the W3C process is that it is a Working Draft.
+entity(w3:WD-prov-dm-20111215, [ prov:type="WD" ])
+
+In account 2, the type that matters for the W3C master is that it is an html4 document.
+entity(w3:WD-prov-dm-20111215, [ prov:type="html4" ])
+Other attributes that may usefully captured include that the document
+was check to complian with pubrules, it is html4 compliant, etc
+
+In account 3, the authors know this the second version of the prov-dm report.
+Hence, the entity record has the following shape.
+entity(w3:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
+
+When in account 1, we write
+wasGeneratedBy(w3:WD-prov-dm-20111215, ex:pub2)
+we really mean to refer to the record of WD-prov-dm-20111215 in the same account,
+it would not make sense to say ex:pub2 generated WD-prov-dm-20111215 in account 3.
+
+In Account 2, there is a further example that uses record identifiers. In this
+derivation, we need to identify the generation and usage.
+wasDerivedFrom(w3:WD-prov-dm-20111215,hg:Overview.html, ex:rcp, rec:g, rec:u)