added example of wasStartedBy without trigger
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Wed, 09 May 2012 10:40:31 +0100
changeset 2738 8dfc26684ea0
parent 2737 e8d864347471
child 2739 e40c01108a9a
added example of wasStartedBy without trigger
model/working-copy/wd6-wasStartedBy.html
--- a/model/working-copy/wd6-wasStartedBy.html	Wed May 09 08:45:02 2012 +0100
+++ b/model/working-copy/wd6-wasStartedBy.html	Wed May 09 10:40:31 2012 +0100
@@ -370,6 +370,26 @@
 </pre>
 </div>
 
+<div class="anexample">
+<p>
+In this example, filling fuel was started as a consequence of
+observing the low fuel. The trigger entity is unspecified, it could
+for instance have been the low fuel warning light, the fuel tank
+indicator needle position, or the engine not running properly.
+
+
+<pre class="codeexample">
+activity(ex:filling-fuel)
+activity(ex:observing-low-fuel)
+
+agent(ex:driver, [ prov:type="prov:Person" %% xsd:QName )
+wasAssociatedWith(ex:filling-fuel, ex:driver)
+wasAssociatedWith(ex:observing-low-fuel, ex:driver)
+
+wasStartedBy(ex:filling-fuel, -, ex:observing-low-fuel)
+</pre>
+</div>
+
 
 <p>The relations wasStartedBy and used are orthogonal, and thus need to be expressed independently, according to the situation being described.</p>