prov-n section 5-6
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Tue, 27 Mar 2012 10:47:17 +0100
changeset 2017 a908a4a06424
parent 2016 e3a70fd8293b
child 2018 9edcff5ce6d2
prov-n section 5-6
model/prov-n.html
--- a/model/prov-n.html	Tue Mar 27 10:41:49 2012 +0100
+++ b/model/prov-n.html	Tue Mar 27 10:47:17 2012 +0100
@@ -1741,14 +1741,13 @@
 </p>
 <pre class="codeexample">
 container
-
   prefix ex &lt;http://example.org/&gt;
 
   entity(e2, [ prov:type="File", ex:path="/shared/crime.txt", ex:creator="Alice", 
-             ex:content="There was a lot of crime in London last month."])
-  activity(a1, 2011-11-16T16:05:00,,[prov:type="edit"])
-  wasGeneratedBy(e2, a1, [ex:fct="save"])     
-  wasAssociatedWith(a1, ag2, [prov:role="author"])
+               ex:content="There was a lot of crime in London last month."])
+  activity(a1, 2011-11-16T16:05:00, -,[prov:type="edit"])
+  wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
+  wasAssociatedWith(a1, ag2, -, [prov:role="author"])
   agent(ag2, [ prov:type="prov:Person" %% xsd:QName, ex:name="Bob" ])
 
 endContainer
@@ -1772,7 +1771,7 @@
 
 <p>An account, written <span class="name">account(id, exprs)</span> in PROV-N, contains:</p>
 <ul>
-<li><em>id</em>: an identifier <span class="name">id</span>  that identifies this account;</li>
+<li><em>id</em>: an identifier  that identifies this account;</li>
 <li><em>expressions</em>: a set <span class="name">exprs</span> of expressions;</li>
 </ul>
 
@@ -1834,11 +1833,11 @@
       entity(tr:WD-prov-dm-20111018, [ prov:type="pr:RecsWD" %% xsd:QName ])
       entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
       ...
-      wasAssociatedWith(ex:pub2, w3:Consortium  @ pr:rec-advance))
+      wasAssociatedWith(ex:pub2, w3:Consortium, pr:rec-advance))
 
   account(ex:acc2,
       entity(ex:acc1, [prov:type="prov:AccountEntity" %% xsd:QName ])
-      wasAttributedTo(ex1:acc1,w3:Consortium))
+      wasAttributedTo(ex1:acc1, w3:Consortium))
 
 endContainer
 </pre>