Updated referencing elements via prov:ref instead of element content id.
authorhhua
Fri, 14 Sep 2012 11:51:26 -0700
changeset 4466 b52d3dd80c48
parent 4465 31b59066eb69
child 4467 7a9b5f8cf03f
Updated referencing elements via prov:ref instead of element content id.
examples/eg-40-xml-examples-by-term/xml/Bundle.xml
--- a/examples/eg-40-xml-examples-by-term/xml/Bundle.xml	Wed Sep 12 23:48:00 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Bundle.xml	Fri Sep 14 11:51:26 2012 -0700
@@ -29,6 +29,8 @@
         <prov:entity prov:id="alice:bundle2">
             <prov:type>prov:Bundle</prov:type>
         </prov:entity>
+        <prov:entity prov:id="ex:Bob" />
+        <prov:entity prov:id="ex:Alice" />
         <prov:dependencies>
             <prov:wasGeneratedBy>
                 <prov:time>2012-05-24T10:00:01</prov:time>
@@ -51,12 +53,12 @@
                 <prov:usedEntity prov:ref="ex:report1" />
             </prov:wasDerivedFrom>
             <prov:wasAttributedTo>
-                <prov:entity>bob:bundle1</prov:entity>
-                <prov:agent>ex:Bob</prov:agent>
+                <prov:entity prov:ref="bob:bundle1" />
+                <prov:agent prov:ref="ex:Bob" />
             </prov:wasAttributedTo>
             <prov:wasAttributedTo>
-                <prov:entity>alice:bundle2</prov:entity>
-                <prov:agent>ex:Alice</prov:agent>
+                <prov:entity prov:ref="alice:bundle2" />
+                <prov:agent prov:ref="ex:Alice" />
             </prov:wasAttributedTo>
         </prov:dependencies>
     </prov:records>