figure with components and table of relations
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Fri, 16 Mar 2012 13:18:34 +0000
changeset 1915 8c7c5e4251fc
parent 1914 8fce4d94ec82
child 1916 a0f32ffa63d5
figure with components and table of relations
model/extra.css
model/working-copy/wd5-prov-dm-components.html
--- a/model/extra.css	Fri Mar 16 09:01:25 2012 +0000
+++ b/model/extra.css	Fri Mar 16 13:18:34 2012 +0000
@@ -336,6 +336,24 @@
     background-color: #f9f9f9;
 }
 
+.component1-color {
+ background-color: rgba(255,42,42,0.2);
+}
+
+.component2-color {
+ background-color: rgba(0,68,170,0.2);
+}
+
+.component3-color {
+ background-color: rgba(0,170,0,0.2);
+}
+.component4-color {
+ background-color: rgba(204,255,0,0.2);
+}
+
+.component6-color {
+ background-color: rgba(244,105,14,0.2);
+}
 
 .interpretation-forward::before {
     content:    "Interpretation: ";
--- a/model/working-copy/wd5-prov-dm-components.html	Fri Mar 16 09:01:25 2012 +0000
+++ b/model/working-copy/wd5-prov-dm-components.html	Fri Mar 16 13:18:34 2012 +0000
@@ -140,7 +140,7 @@
  
           // if you want to have extra CSS, append them to this list
           // it is recommended that the respec.css stylesheet be kept
-          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css", "./extra.css"],
+          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css", "../extra.css"],
  
           // editors, add as many as you like
           // only "name" is required
@@ -860,6 +860,21 @@
 </div>
 
 
+<div style="text-align: center;">
+<table border="1" style="margin-left: auto; margin-right: auto;">
+<caption>PROV-DM Core Relation Summary</caption>
+<tr><td></td><td>Entity</td><td>Activity</td><td>Agent</td><td>Note</td></tr> 
+<tr><td>Entity</td><td><div class="component3-color"><a>wasDerivedFrom</a><br><a>wasRevisionOf</a><br><a>wasQuotedFrom</a><br><a>hadOriginalSource</a></div><div class="component4-color"><a>alternateOf</a><br><a>specializationOf</a></div></td><td class="component1-color"><a
+title="dfn-Generation">wasGeneratedBy</a></td><td class="component2-color"><a>wasAttributedTo</a></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+<tr><td>Activity</td><td><div class="component1-color"><a>used</a><br><a>wasStartedBy</a><br><a>wasEndedBy</a></div></td><td style="background:rgba(255,42,42,0.2); "><a>wasStartedByActivity</a><br><a>wasInformedBy</a></td><td class="component2-color"><a>wasAssociatedWith</a></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+<tr><td>Agent</td><td>&mdash;</td><td>&mdash;</td><td class="component2-color"><a>actedOnBehalfOf</a></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+<tr><td>Note</td><td>&mdash;</td><td>&mdash;</td><td>&mdash;</td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+</table>
+</div>
+
+
+
+
 <section id="component1"> 
 <h3>Component 1: Entities and Activities</h3>
 
@@ -1011,7 +1026,7 @@
 <div class="glossary-ref" ref="glossary-usage" withspan="true"></div>
 
 
-<p><div class="attributes" id="attributes-usage"><dfn title="dfn-Usage">Usage</dfn><span class="withPn">, written <span class="pnExpression">used(id,a,e,t,attrs)</span> in PROV-N,</span> has the following constituents:
+<p><div class="attributes" id="attributes-usage"><dfn title="used">Usage</dfn><span class="withPn">, written <span class="pnExpression">used(id,a,e,t,attrs)</span> in PROV-N,</span> has the following constituents:
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier for a usage;</li> 
 <li><span class='attribute'>activity</span>: an identifier for the consuming activity;</li>
@@ -1061,7 +1076,7 @@
 <div class="glossary-ref" ref="glossary-start" withspan="true"></div>
 
 
-<p>An activity start<span class="withPn">, written <span class="pnExpression">wasStartedBy(id,a,e,t,attrs)</span> in PROV-N,</span> contains:</p>
+<p>An <dfn title="wasStartedBy">activity start</dfn><span class="withPn">, written <span class="pnExpression">wasStartedBy(id,a,e,t,attrs)</span> in PROV-N,</span> contains:</p>
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier for the activity start;</li> 
 <li><span class='attribute'>activity</span>: an identifier for the started activity;</li> 
@@ -1091,7 +1106,7 @@
 <pre class="codeexample">
 activity(ex:foot_race)
 wasStartedBy(ex:foot_race,ex:bang,2012-03-09T08:05:08-05:00)
-entiy(ex:bang)
+entity(ex:bang)
 agent(ex:DarthVader)
 wasAttributedTo(ex:foot_race,ex:DarthVader)
 </pre>
@@ -1108,7 +1123,7 @@
 <div class="glossary-ref" ref="glossary-end" withspan="true"></div>
 
 
-<p>An activity end<span class="withAsn">, written <span class="pnExpression">wasEndedBy(id,a,e,t,attrs)</span> in PROV-ASN,</span> contains:</p>
+<p>An <dfn title="wasEndedBy">activity end</dfn><span class="withAsn">, written <span class="pnExpression">wasEndedBy(id,a,e,t,attrs)</span> in PROV-ASN,</span> contains:</p>
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier for the activity end;</li> 
 <li><span class='attribute'>activity</span>: an identifier for the ended activity;
@@ -1153,7 +1168,7 @@
 
 
 <p>
-An information flow ordering relation<span class="withPn">, written as 
+An <dfn title="wasInformedBy">information flow</dfn> ordering relation<span class="withPn">, written as 
 <span class="pnExpression">wasInformedBy(id,a2,a1,attrs)</span> in PROV-N,</span> contains: 
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier  identifying the relation;</li> 
@@ -1182,7 +1197,7 @@
 <p>A <dfn title="ControlOrdering">control ordering relation</dfn> states that  activity <span class="name">a2</span> was initiated by another activity <span class="name">a1</span>.</p>
 
 <p>
-A control ordering relation<span class="withPn">, written as 
+A <dfn title="wasStartedByActivity">control ordering</dfn> relation<span class="withPn">, written as 
 <span class="pnExpression">wasStartedByActivity(id, a2, a1, attrs)</span> in PROV-N,</span> contains: </p>
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier of the relation;</li> 
@@ -1258,7 +1273,7 @@
 
 <p><dfn id="dfn-attribution">Attribution</dfn> is the ascribing of an entity to an agent. More precisely, when an entity  <span class="name">e</span> is attributed to agent  <span class="name">ag</span>, entity <span class="name">e</span> was generated by some activity <span class="name">a</span>, which in turn was associated to agent  <span class="name">ag</span>. Thus, this relation is useful when the activity is not known, or irrelevant.
 
-<p> An attribution relation<span class="withPn">, written <span class="pnExpression"> wasAttributedTo(id,e,ag,attr)</span> in PROV-N,</span> contains the following elements:</p>
+<p> An <dfn title="wasAttributedTo">attribution relation</dfn><span class="withPn">, written <span class="pnExpression">wasAttributedTo(id,e,ag,attr)</span> in PROV-N,</span> contains the following elements:</p>
 <ul>
 <li><span class='attribute'>id</span>: an OPTIONAL identifier for the relation;</li> 
 <li><span class='attribute'>entity</span>: an entity identifier;</li>
@@ -1288,7 +1303,7 @@
 <div class="glossary-ref" ref="glossary-activityAssociation" withspan="true"></div>
 
 
-<p><div class="attributes" id="attributes-activity-association">An <dfn title="dfn-activity-association">activity association</dfn><span class="withPn">, written <span class="pnExpression">wasAssociatedWith(id,a,ag,pl,attrs)</span> in PROV-N,</span> has the following
+<p><div class="attributes" id="attributes-activity-association">An <dfn title="wasAssociatedWith">activity association</dfn><span class="withPn">, written <span class="pnExpression">wasAssociatedWith(id,a,ag,pl,attrs)</span> in PROV-N,</span> has the following
 constituents:
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier for the association between an activity and an agent;</li> 
@@ -1365,7 +1380,7 @@
 might be a need to define specific aspects of control that various
 agents exert over a given activity.</p>
 
-<p><div class="attributes" id="attributes-responsibility-chain">A <dfn title="dfn-responsibility-chain">responsibility chain</dfn><span class="withPn">, written <span class="pnExpression">actedOnBehalfOf(id,ag2,ag1,a,attrs)</span> in PROV-N,</span> has the following constituents:
+<p><div class="attributes" id="attributes-responsibility-chain">A <dfn title="actedOnBehalfOf">responsibility chain</dfn><span class="withPn">, written <span class="pnExpression">actedOnBehalfOf(id,ag2,ag1,a,attrs)</span> in PROV-N,</span> has the following constituents:
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier for the responsibility chain;</li> 
 <li><span class='attribute'>subordinate</span>: an identifier for the agent associated with an activity, acting on behalf of the responsible
@@ -1421,7 +1436,7 @@
 A derivation can be described at various levels of precision. In its simplest form, derivation relates two entities. Optionally, attributes can be added to describe modalities of derivation.  If the derivation is the result of a single known activity, then this activity can also be optionally expressed. And to provide a completely accurate description of derivation, the generation and usage of the generated and used entities, respectively, can be provided. The reason for optional information such as activity, generation, and usage to be linked to derivations is to aid analysis of provenance and to facilitate provenance-based reproducibility. </p>
 
 
-<p><div class="attributes" id="attributes-derivation">A <dfn>derivation</dfn><span class="withPn">, written <span class="pnExpression" id="pn-wasDerivedFrom">wasDerivedFrom(id, e2, e1, a, g2, u1, attrs)</span> in PROV-N,</span> contains:
+<p><div class="attributes" id="attributes-derivation">A <dfn title="wasDerivedFrom">derivation</dfn><span class="withPn">, written <span class="pnExpression" id="pn-wasDerivedFrom">wasDerivedFrom(id, e2, e1, a, g2, u1, attrs)</span> in PROV-N,</span> contains:
 <ul>
 <li><em>id</em>:  an OPTIONAL identifier  for a derivation;</li> 
 <li><em>generatedEntity</em>: the identifier of the entity generated by the derivation;</li>
@@ -1475,7 +1490,7 @@
  The agent who is responsible for the revision may optionally be specified.
  Revision is a particular case of  <a href="#Derivation-Relation">derivation</a> of an entity into its revised version.</p>
 
-<p> A revision relation<span class="withPn">, written <span class="pnExpression">wasRevisionOf(id,e2,e1,ag,attrs)</span> in PROV-N,</span> contains:</p>
+<p> A <dfn title="wasRevisionOf">revision</dfn> relation<span class="withPn">, written <span class="pnExpression">wasRevisionOf(id,e2,e1,ag,attrs)</span> in PROV-N,</span> contains:</p>
 <ul>
 <li><span class='attribute'>id</span>: an OPTIONAL identifier for the relation;</li> 
 <li><span class='attribute'>newer</span>: the identifier of the revised  entity;
@@ -1513,7 +1528,7 @@
 
 <p>Quotation
  is a particular case of  <a href="#Derivation-Relation">derivation</a> in which entity <span class="name">e2</span> is derived from an original entity <span class="name">e1</span> by copying, or "quoting", some or all of it.
-  A <dfn>quotation relation</dfn><span class="withPn">, written <span class="pnExpression">wasQuotedFrom(id,e2,e1,ag2,ag1,attrs)</span> in PROV-N,</span> contains:</p>
+  A <dfn title="wasQuotedFrom">quotation</dfn> relation <span class="withPn">, written <span class="pnExpression">wasQuotedFrom(id,e2,e1,ag2,ag1,attrs)</span> in PROV-N,</span> contains:</p>
 <ul>
 <li><span class='attribute'>id</span>: an OPTIONAL identifier for the relation;</li> 
 <li><span class='attribute'>quote</span>:  an identifier (<span class="name">e2</span>) for the entity that represents the quote (the partial copy);
@@ -1561,7 +1576,7 @@
 <a href="http://googlenewsblog.blogspot.com/2010/11/credit-where-credit-is-due.html">http://googlenewsblog.blogspot.com/2010/11/credit-where-credit-is-due.html<a/>.
 
 
-<p> An original source relation<span class="withPn">, written <span class="pnExpression"> hadOriginalSource(id,e2,e1,attrs)</span>,</span> contains:</p>
+<p> An <dfn title="hadOriginalSource">original source</dfn> relation<span class="withPn">, written <span class="pnExpression">hadOriginalSource(id,e2,e1,attrs)</span>,</span> contains:</p>
 <ul>
 <li><span class='attribute'>id</span>:  an OPTIONAL identifier for the relation;</li> 
 <li><span class='attribute'>derived</span>: an identifier for the derived entity; </li>
@@ -1656,7 +1671,7 @@
 
   
 
-<p><div class="attributes" id="attributes-alternate">An <dfn title="dfn-Alternate">alternate relation</dfn><span class="withPn">, written <span class="pnExpression">alternateOf(alt1, alt2)</span> in PROV-N,</span> addresses case (1). It has the following constituents:
+<p><div class="attributes" id="attributes-alternate">An <dfn title="alternateOf">alternate relation</dfn><span class="withPn">, written <span class="pnExpression">alternateOf(alt1, alt2)</span> in PROV-N,</span> addresses case (1). It has the following constituents:
 <ul>
 <li><span class='attribute'>firstAlternate</span>: an identifier of the first of the two entities;</li>
 <li><span class='attribute'>secondAlternate</span>: an identifier of the second of the two entities.</li>
@@ -1681,7 +1696,7 @@
 
 
 <p>
-<div class="attributes" id="attributes-specialization">A <dfn title="dfn-Specialization">specialization relation</dfn><span class="withPn">, written <span class="pnExpression">specializationOf(sub, super)</span> in PROV-N,</span> addresses case  (2). It  has the following constituents:
+<div class="attributes" id="attributes-specialization">A <dfn title="specializationOf">specialization relation</dfn><span class="withPn">, written <span class="pnExpression">specializationOf(sub, super)</span> in PROV-N,</span> addresses case  (2). It  has the following constituents:
 
 <ul>
 <li><span class='attribute'>specializedEntity</span>: an identifier of the specialized entity;</li>
@@ -1822,7 +1837,7 @@
 trustworthiness of some of the entities or agents involved. Likewise, an interactive visualization component may want to enrich a set of provenance descriptions with information helping reproduce their
 visual representation. To help with interoperability, PROV-DM introduces a simple annotation mechanism allowing anything that is identifiable to be associated with notes.</p>
 
-<p><div class="attributes" id="attributes-note">A <dfn title="dfn-note">note</dfn><span class="withPn">, noted <span class="pnExpression">note(id, [ attr1=val1, ...])</span> in PROV-N,</span> contains:
+<p><div class="attributes" id="attributes-note">A <dfn>note</dfn><span class="withPn">, noted <span class="pnExpression">note(id, [ attr1=val1, ...])</span> in PROV-N,</span> contains:
 <ul>
 <li><span class='attribute'>id</span>: an identifier for a note;</li>
 <li><span class='attribute'>attributes</span>: a set of attribute-value pairs, whose meaning is application specific.</li>
@@ -1876,7 +1891,7 @@
 annotated. The annotation mechanism (with note and annotation) forms a key aspect of the extensibility mechanism of PROV-DM (see <a
 href="#extensibility-section">extensibility section</a>).</p>
 
-<p></p><div class="attributes" id="attributes-annotation">An <dfn title="dfn-annotation">annotation relation</dfn><span class="withPn">, written <span class="pnExpression">hasAnnotation(r,n)</span> in PROV-N,</span> has the following constituents:
+<p></p><div class="attributes" id="attributes-annotation">An <dfn title="hasAnnotation">annotation relation</dfn><span class="withPn">, written <span class="pnExpression">hasAnnotation(r,n)</span> in PROV-N,</span> has the following constituents:
 <ul>
 <li><span class='attribute'>something</span>: the identifier of something being annotated;</li>
 <li><span class='attribute'>note</span>: an identifier of a note.</li>
@@ -2119,47 +2134,16 @@
 
 
 
-<section id="term-relation">
-<h3>Table on Relation</h3>
-
-<p>
-This section describes all the PROV-DM relations between the elements introduced in <a href="#term-element">Section Element</a>. While these relations are not
-binary,  they all involve two primary elements. They can be summarized as follows. </p>
-
-
-<div style="text-align: center;">
-<table border="1" style="margin-left: auto; margin-right: auto;">
-<caption>PROV-DM Core Relation Summary</caption>
-<tr><td></td><td>Entity</td><td>Activity</td><td>Agent</td><td>Note</td></tr> 
-<tr><td>Entity</td><td><a title="derivations">wasDerivedFrom</a><br><a title="dfn-alternate">alternateOf</a><br><a title="dfn-specialization">specializationOf</a></td><td><a
-title="dfn-Generation">wasGeneratedBy</a></td><td>&mdash;</td><td><a title="dfn-annotation">hasAnnotation</a></td></tr>
-<tr><td>Activity</td><td><a title="usage">used</a></td><td>&mdash;</td><td><a title="start record">wasStartedBy</a><br><a title="end record">wasEndedBy</a><br><a title="dfn-activity-association">wasAssociatedWith</a></td><td><a title="dfn-annotation">hasAnnotation</a></td></tr>
-<tr><td>Agent</td><td>&mdash;</td><td>&mdash;</td><td><a title="dfn-responsibility-chain">actedOnBehalfOf</a></td><td><a title="dfn-annotation">hasAnnotation</a></td></tr>
-<tr><td>Note</td><td>&mdash;</td><td>&mdash;</td><td>&mdash;</td><td><a title="dfn-annotation">hasAnnotation</a></td></tr>
-</table>
-</div>
-
-
-
-
-
-
-
-
-
-
-
-</section>
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+p
 <section  id="common-relations">
 <h2>Figures on PROV-DM Common Relations</h2>