xml mention moved to mention note
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Tue, 13 Nov 2012 12:17:37 -0500
changeset 4769 7f56c10ba102
parent 4768 ddd4293db756
child 4770 b228e435a973
xml mention moved to mention note
mention/prov-mention.html
--- a/mention/prov-mention.html	Tue Nov 13 12:13:28 2012 -0500
+++ b/mention/prov-mention.html	Tue Nov 13 12:17:37 2012 -0500
@@ -787,6 +787,79 @@
 
 <section id="mention-xml"> 
       <h2>XML Schema for Mention</h2> 
+
+
+<div id="term-Mention" class="section">
+<h4><span class="secno">2.5.3 </span>Mention</h4>
+<div class="glossary-ref">   The <dfn id="concept-mention">mention</dfn> of an entity in a bundle (containing a description of this entity) is another entity that is a specialization of the former and that presents the bundle as a further additional aspect. </div>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Mention"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="specificEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="generalEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="bundle" type="prov:EntityRef"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>Usage in XML:</p><pre class="schema-usage">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="mentionOf" type="prov:Mention"/&gt;
+</pre>
+<pre class="example">&lt;prov:document
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"
+    xmlns:perf="http://example.com/ns/perf#"
+    xmlns:tool="http://example.com/ns/tool#"&gt;
+
+  &lt;prov:bundle prov:id="ex:run1"&gt;
+    &lt;prov:activity prov:id="ex:a1"&gt;
+      &lt;prov:startTime&gt;2011-11-16T16:00:00&lt;/prov:startTime&gt;
+      &lt;prov:endTime&gt;2011-11-16T17:00:00&lt;/prov:endTime&gt;
+    &lt;/prov:activity&gt;
+
+    &lt;prov:wasAssociatedWith&gt;
+      &lt;prov:activity prov:ref="ex:a1" /&gt;
+      &lt;prov:agent prov:ref="ex:Bob" /&gt;
+      &lt;prov:role xsi:type="xsd:QName"&gt;controller&lt;/prov:role&gt;
+    &lt;/prov:wasAssociatedWith&gt;
+  &lt;/prov:bundle&gt;
+
+  &lt;prov:bundle prov:id="ex:run2"&gt;
+    &lt;prov:activity prov:id="ex:a2"&gt;
+      &lt;prov:startTime&gt;2011-11-17T10:00:00&lt;/prov:startTime&gt;
+      &lt;prov:endTime&gt;2011-11-17T17:00:00&lt;/prov:endTime&gt;
+    &lt;/prov:activity&gt;
+
+    &lt;prov:wasAssociatedWith&gt;
+      &lt;prov:activity prov:ref="ex:a2" /&gt;
+      &lt;prov:agent prov:ref="ex:Bob" /&gt;
+      &lt;prov:role xsi:type="xsd:QName"&gt;controller&lt;/prov:role&gt;
+    &lt;/prov:wasAssociatedWith&gt;
+  &lt;/prov:bundle&gt;
+
+  &lt;prov:bundle prov:id="tool:analysis01"&gt;
+    &lt;prov:agent prov:id="tool:Bob-2011-11-16"&gt;
+      &lt;ex:perfrating&gt;good&lt;/ex:perfrating&gt;
+    &lt;/prov:agent&gt;
+
+    <b>&lt;prov:mentionOf&gt;
+      &lt;prov:specificEntity prov:ref="tool:Bob-2011-11-16" /&gt;
+      &lt;prov:generalEntity prov:ref="ex:Bob" /&gt;
+      &lt;prov:bundle prov:ref="ex:run1" /&gt;
+    &lt;/prov:mentionOf&gt;</b>
+
+    &lt;prov:agent prov:id="tool:Bob-2011-11-17"&gt;
+      &lt;ex:perfrating&gt;bad&lt;/ex:perfrating&gt;
+    &lt;/prov:agent&gt;
+
+    <b>&lt;prov:mentionOf&gt;
+      &lt;prov:specificEntity prov:ref="tool:Bob-2011-11-17" /&gt;
+      &lt;prov:generalEntity prov:ref="ex:Bob" /&gt;
+      &lt;prov:bundle prov:ref="ex:run2" /&gt;
+    &lt;/prov:mentionOf&gt;</b>
+  &lt;/prov:bundle&gt;
+
+&lt;/prov:document&gt;</pre>
+</div>
 </section>