bug fix: xsd:QName
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Fri, 18 Nov 2011 16:22:15 +0000
changeset 969 623e21855b38
parent 968 777fe80b436a
child 970 398ecd23ada1
bug fix: xsd:QName
model/ProvenanceModel.html
--- a/model/ProvenanceModel.html	Fri Nov 18 16:13:22 2011 +0000
+++ b/model/ProvenanceModel.html	Fri Nov 18 16:22:15 2011 +0000
@@ -614,15 +614,15 @@
 <p>
 Agent Records (described at <a href="#record-Agent">Section Agent</a>): the various users are represented as agents, themselves being a type of entity.</p>
 <pre>
-agent(ag1, [ prov:type="prov:Person", ex:name="Alice" ])
-
-agent(ag2, [ prov:type="prov:Person", ex:name="Bob" ])
-
-agent(ag3, [ prov:type="prov:Person", ex:name="Charles" ])
-
-agent(ag4, [ prov:type="prov:Person", ex:name="David" ])
-
-agent(ag5, [ prov:type="prov:Person", ex:name="Edith" ])
+agent(ag1, [ prov:type="prov:Person" %% xsd:QName, ex:name="Alice" ])
+
+agent(ag2, [ prov:type="prov:Person" %% xsd:QName, ex:name="Bob" ])
+
+agent(ag3, [ prov:type="prov:Person" %% xsd:QName, ex:name="Charles" ])
+
+agent(ag4, [ prov:type="prov:Person" %% xsd:QName, ex:name="David" ])
+
+agent(ag5, [ prov:type="prov:Person" %% xsd:QName, ex:name="Edith" ])
 </pre>
 
 
@@ -845,7 +845,7 @@
 <p>
 The following activity assertion</p>
 <pre class="codeexample">
-activity(a1,add-crime-in-london,2011-11-16T16:05:00,2011-11-16T16:06:00,[ex:host="server.example.org",prov:type="ex:edit"])
+activity(a1,add-crime-in-london,2011-11-16T16:05:00,2011-11-16T16:06:00,[ex:host="server.example.org",prov:type="ex:edit" %% xsd:QName])
 </pre>
 <p>identified by identifier <span class="name">id</span>, states the existence of an activity with recipe link <span class="name">add-crime-in-london</span>, start time <span class="name">2011-11-16T16:05:00</span>, and end time <span class="name">2011-11-16T16:06:00</span>, running on host <span class="name">server.example.org</span>, and of type <span class="name">edit</span> (declared in some namespace with prefix <span class="name">app</span>).  The attribute <span class="name">host</span> is application specific, but MUST hold for the duration of activity.  The attribute <span class="name">type</span> is a reserved attribute of PROV-DM, allowing for subtyping to be expressed.</p>
 </div>
@@ -919,7 +919,7 @@
 <div class="anexample">
 <p>With the following assertions,</p>
 <pre class="codeexample">
-agent(e1, [ex:employee="1234", ex:name="Alice", prov:type="prov:Person" %% xsd:anyURI])
+agent(e1, [ex:employee="1234", ex:name="Alice", prov:type="prov:Person" %% xsd:QName])
 
 entity(e2) and wasStartedBy(a1,e2,[prov:role="author"])