Primer: corrections for staged version
authorSimon Miles <simon.miles@kcl.ac.uk>
Sun, 02 Dec 2012 17:17:27 +0000
changeset 5229 7fa1473fd93d
parent 5228 1fe87cfac9a0
child 5230 0d67986c246c
Primer: corrections for staged version
primer/Primer.html
primer/WD-prov-primer-20121211/Overview.html
primer/WD-prov-primer-20121211/toggles.js
primer/toggles.js
--- a/primer/Primer.html	Sun Dec 02 17:06:21 2012 +0000
+++ b/primer/Primer.html	Sun Dec 02 17:17:27 2012 +0000
@@ -13,8 +13,8 @@
    .note { font-size:small; margin-left:50px }
   </style>
 
-  <script src="http://www.w3.org/2007/OWL/toggles.js" type="text/javascript"></script> 
-  <script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script>
+  <script src="toggles.js" type="text/javascript"></script> 
+  <script src="http://www.w3.org/Tools/respec/respec-w3c-common" class="remove" async></script>
 
   <script src="../model/provbib.js" class="remove"></script>
   <script class="remove">
@@ -38,8 +38,8 @@
    
    var respecConfig = {
     // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
-    //specStatus:           "WD-NOTE",
-    specStatus:           "ED",
+    specStatus:           "WD-NOTE",
+    //specStatus:           "ED",
           
     // the specification's short name, as in http://www.w3.org/TR/short-name/
     shortName:            "prov-primer",
@@ -49,7 +49,7 @@
     subtitle   :  "",
  
     // if you wish the publication date to be other than today, set this
-    // publishDate:  "2009-08-06",
+    publishDate:  "2012-12-11",
  
     // if the specification's copyright date is a range of years, specify
     // the start date here:
--- a/primer/WD-prov-primer-20121211/Overview.html	Sun Dec 02 17:06:21 2012 +0000
+++ b/primer/WD-prov-primer-20121211/Overview.html	Sun Dec 02 17:17:27 2012 +0000
@@ -5,36 +5,208 @@
   <title>PROV Model Primer</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   
-<!-- 
+<!--
     === NOTA BENE ===
     For the three scripts below, if your spec resides on dev.w3 you can check them
     out in the same tree and use relative links so that they'll work offline,
-   -->
+  -->
 
   
-<!--  PM  -->
+<!-- PM -->
 
   <style type="text/css">
    .note { font-size:small; margin-left:50px }
   </style>
 
-  <script src="http://www.w3.org/2007/OWL/toggles.js" type="text/javascript"></script> 
+  <script src="toggles.js" type="text/javascript"></script> 
   
 
   
   
- <link href="http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css" rel="stylesheet" type="text/css" charset="utf-8" /><link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel="stylesheet" type="text/css" charset="utf-8" /></head>
- <body style="display: inherit;"><div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C" /></a></p><h1 class="title" id="title">PROV Model Primer</h1><h2 id="w3c-working-draft-11-december-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Working Draft 11 December 2012</h2><dl><dt>This version:</dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-primer/">http://www.w3.org/TR/prov-primer/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/primer/Primer.html">http://dvcs.w3.org/hg/prov/raw-file/default/primer/Primer.html</a></dd><dt>Previous version:</dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-primer-20120724/">http://www.w3.org/TR/2012/WD-prov-primer-20120724/</a></dd><dt>Editors:</dt><dd><a href="http://www.isi.edu/~gil/">Yolanda Gil</a>, Information Sciences Institute, University of Southern California, US</dd>
+ <style>/*****************************************************************
+ * ReSpec 3 CSS
+ * Robin Berjon - http://berjon.com/
+ *****************************************************************/
+
+/* --- INLINES --- */
+em.rfc2119 { 
+    text-transform:     lowercase;
+    font-variant:       small-caps;
+    font-style:         normal;
+    color:              #900;
+}
+
+h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
+h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
+    border: none;
+}
+
+dfn {
+    font-weight:    bold;
+}
+
+a.internalDFN {
+    color:  inherit;
+    border-bottom:  1px solid #99c;
+    text-decoration:    none;
+}
+
+a.externalDFN {
+    color:  inherit;
+    border-bottom:  1px dotted #ccc;
+    text-decoration:    none;
+}
+
+a.bibref {
+    text-decoration:    none;
+}
+
+cite .bibref {
+    font-style: normal;
+}
+
+code {
+    color:  #ff4500;
+}
+
+
+/* --- --- */
+ol.algorithm { counter-reset:numsection; list-style-type: none; }
+ol.algorithm li { margin: 0.5em 0; }
+ol.algorithm li:before { font-weight: bold; counter-increment: numsection; content: counters(numsection, ".") ") "; }
+
+/* --- TOC --- */
+.toc a, .tof a {
+    text-decoration:    none;
+}
+
+a .secno, a .figno {
+    color:  #000;
+}
+
+ul.tof, ol.tof {
+    list-style: none outside none;
+}
+
+.caption {
+    margin-top: 0.5em;
+    font-style:   italic;
+}
+
+/* --- TABLE --- */
+table.simple {
+    border-spacing: 0;
+    border-collapse:    collapse;
+    border-bottom:  3px solid #005a9c;
+}
+
+.simple th {
+    background: #005a9c;
+    color:  #fff;
+    padding:    3px 5px;
+    text-align: left;
+}
+
+.simple th[scope="row"] {
+    background: inherit;
+    color:  inherit;
+    border-top: 1px solid #ddd;
+}
+
+.simple td {
+    padding:    3px 10px;
+    border-top: 1px solid #ddd;
+}
+
+.simple tr:nth-child(even) {
+    background: #f0f6ff;
+}
+
+/* --- DL --- */
+.section dd > p:first-child {
+    margin-top: 0;
+}
+
+.section dd > p:last-child {
+    margin-bottom: 0;
+}
+
+.section dd {
+    margin-bottom:  1em;
+}
+
+.section dl.attrs dd, .section dl.eldef dd {
+    margin-bottom:  0;
+}
+</style><link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WD" />
+<!--[if lt IE 9]><script src='http://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]-->
+</head>
+ <body><div class="head">
+  <p>
+    
+      <a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C" /></a>
+    
+  </p>
+  <h1 class="title" id="title">PROV Model Primer</h1>
+  
+  <h2 id="w3c-working-draft-11-december-2012"><abbr title="World Wide Web Consortium">W3C</abbr> Working Draft 11 December 2012</h2>
+  <dl>
+    
+      <dt>This version:</dt>
+      <dd><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</a></dd>
+      <dt>Latest published version:</dt>
+      <dd><a href="http://www.w3.org/TR/prov-primer/">http://www.w3.org/TR/prov-primer/</a></dd>
+    
+    
+      <dt>Latest editor's draft:</dt>
+      <dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/primer/Primer.html">http://dvcs.w3.org/hg/prov/raw-file/default/primer/Primer.html</a></dd>
+    
+    
+    
+    
+    
+      <dt>Previous version:</dt>
+      <dd><a href="http://www.w3.org/TR/2012/WD-prov-primer-20120724/">http://www.w3.org/TR/2012/WD-prov-primer-20120724/</a></dd>
+    
+    
+    <dt>Editors:</dt>
+    <dd><a href="http://www.isi.edu/~gil/">Yolanda Gil</a>, Information Sciences Institute, University of Southern California, US</dd>
 <dd><a href="http://www.inf.kcl.ac.uk/staff/simonm">Simon Miles</a>, King's College London, UK</dd>
-<dt>Authors:</dt><dd><span><a href="http://semanticweb.org/wiki/Khalid_Belhajjame">Khalid Belhajjame</a></span>, University of Manchester</dd>
+
+    
+      <dt>Authors:</dt>
+      <dd><span><a href="http://semanticweb.org/wiki/Khalid_Belhajjame">Khalid Belhajjame</a></span>, University of Manchester</dd>
 <dd><span>Helena Deus</span>, Digital Enterprise Research Institute (DERI), NUI Galway</dd>
 <dd><span><a href="http://www.oeg-upm.net/index.php/en/phdstudents/28-dgarijo">Daniel Garijo</a></span>, Universidad Politécnica de Madrid</dd>
 <dd><span>Graham Klyne</span>, University of Oxford</dd>
 <dd><span><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier">Paolo Missier</a></span>, Newcastle University</dd>
 <dd><span><a href="http://soiland-reyes.com/stian/">Stian Soiland-Reyes</a></span>, University of Manchester</dd>
 <dd><span><a href="http://tw.rpi.edu/web/person/StephanZednik">Stephan Zednik</a></span>, Rensselaer Polytechnic Institute</dd>
-</dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2012 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p><hr /></div>
-  <div id="abstract" class="introductory section"><h2>Abstract</h2>
+
+    
+  </dl>
+  
+  
+  
+  
+    
+      <p class="copyright">
+        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 
+        2012
+        
+        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> 
+        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
+        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
+        <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
+        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
+        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
+        <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
+      </p>
+    
+  
+  <hr />
+</div>
+  <section id="abstract" class="introductory"><h2>Abstract</h2>
    <p>
     This document provides an intuitive introduction and guide to the
     PROV specification for provenance on the Web. PROV is a core data model for
@@ -49,23 +221,33 @@
    </p>
 
    
-<!--  p>
+<!-- p>
     This is a document for internal discussion, which will ultimately
-    evolve in the first Public Working Draft of the Primer.</p  -->
+    evolve in the first Public Working Draft of the Primer.</p -->
 
-  </div><div id="sotd" class="introductory section"><h2>Status of This Document</h2><p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current <acronym title="World Wide Web Consortium">W3C</acronym> publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/"><acronym title="World Wide Web Consortium">W3C</acronym> technical reports index</a> at http://www.w3.org/TR/.</em></p>
+  </section><section id="sotd" class="introductory"><h2>Status of This Document</h2>
+  
+    
+      
+        <p>
+          <em>This section describes the status of this document at the time of its publication. Other
+          documents may supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision
+          of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports
+          index</a> at http://www.w3.org/TR/.</em>
+        </p>
+        
 <h4 id="prov-family-of-documents">PROV Family of Documents</h4>
 This document is part of the PROV family of documents, a set of documents defining various aspects that are necessary to achieve the vision of inter-operable
 interchange of provenance information in heterogeneous environments such as the Web.  These documents are:
 <ul>
-<li> <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/">PROV-OVERVIEW</a> (Note), an overview of the PROV family of documents [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-OVERVIEW">PROV-OVERVIEW</a></cite>];</li>
-<li> <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">PROV-PRIMER</a> (Note), a primer for the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-PRIMER">PROV-PRIMER</a></cite>];</li>
-<li> <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/">PROV-O</a> (Recommendation), the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O">PROV-O</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/">PROV-OVERVIEW</a> (Note), an overview of the PROV family of documents [<cite><a class="bibref" href="#bib-PROV-OVERVIEW">PROV-OVERVIEW</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">PROV-PRIMER</a> (Note), a primer for the PROV data model [<cite><a class="bibref" href="#bib-PROV-PRIMER">PROV-PRIMER</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/">PROV-O</a> (Recommendation), the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF [<cite><a class="bibref" href="#bib-PROV-O">PROV-O</a></cite>];</li>
 <li> <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/">PROV-DM</a> (Recommendation), the PROV data model for provenance (this document);</li>
-<li> <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">PROV-N</a> (Recommendation), a notation for provenance aimed at human consumption [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>];</li>
-<li> <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/">PROV-CONSTRAINTS</a> (Recommendation), a set of constraints applying to the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>];</li>
-<li> <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/">PROV-AQ</a> (Note), the mechanisms for accessing and querying provenance [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>]; </li>
-<li> <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/">PROV-XML</a> (Note),  an XML schema for the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML">PROV-XML</a></cite>].</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">PROV-N</a> (Recommendation), a notation for provenance aimed at human consumption [<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/">PROV-CONSTRAINTS</a> (Recommendation), a set of constraints applying to the PROV data model [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/">PROV-AQ</a> (Note), the mechanisms for accessing and querying provenance [<cite><a class="bibref" href="#bib-PROV-AQ">PROV-AQ</a></cite>]; </li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/">PROV-XML</a> (Note),  an XML schema for the PROV data model [<cite><a class="bibref" href="#bib-PROV-XML">PROV-XML</a></cite>].</li>
 
 </ul>
 <h4 id="how-to-read-the-prov-family-of-documentation">How to read the PROV Family of Documentation</h4>
@@ -76,13 +258,55 @@
 <li>Readers seeking to implement other PROV serializations
 should focus on PROV-DM and PROV-CONSTRAINTS.  PROV-O and PROV-N offer examples of mapping to RDF and text, respectively.</li>
 </ul>
-<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a Working Draft. If you wish to make comments regarding this document, please send them to <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>). All feedback is welcome.</p><p>Publication as a Working Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. The group does not expect this document to become a <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation. <acronym title="World Wide Web Consortium">W3C</acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#intuitive-overview-of-prov" class="tocxref"><span class="secno">2. </span>Intuitive overview of PROV</a><ul class="toc"><li class="tocline"><a href="#entities" class="tocxref"><span class="secno">2.1 </span>Entities</a></li><li class="tocline"><a href="#activities" class="tocxref"><span class="secno">2.2 </span>Activities</a></li><li class="tocline"><a href="#usage-and-generation" class="tocxref"><span class="secno">2.3 </span>Usage and Generation</a></li><li class="tocline"><a href="#agents-and-responsibility" class="tocxref"><span class="secno">2.4 </span>Agents and Responsibility</a></li><li class="tocline"><a href="#roles" class="tocxref"><span class="secno">2.5 </span>Roles</a></li><li class="tocline"><a href="#derivation-and-revision" class="tocxref"><span class="secno">2.6 </span>Derivation and Revision</a></li><li class="tocline"><a href="#plans" class="tocxref"><span class="secno">2.7 </span>Plans</a></li><li class="tocline"><a href="#time" class="tocxref"><span class="secno">2.8 </span>Time</a></li><li class="tocline"><a href="#alternate-entities-and-specialization" class="tocxref"><span class="secno">2.9 </span>Alternate Entities and Specialization</a></li></ul></li><li class="tocline"><a href="#examples-of-key-concepts-in-prov" class="tocxref"><span class="secno">3. </span>Examples of Key Concepts in PROV</a><ul class="toc"><li class="tocline"><a href="#entities-1" class="tocxref"><span class="secno">3.1 </span>Entities</a></li><li class="tocline"><a href="#activities-1" class="tocxref"><span class="secno">3.2 </span>Activities</a></li><li class="tocline"><a href="#usage-and-generation-1" class="tocxref"><span class="secno">3.3 </span>Usage and Generation</a></li><li class="tocline"><a href="#agents-and-responsibility-1" class="tocxref"><span class="secno">3.4 </span>Agents and Responsibility</a></li><li class="tocline"><a href="#roles-1" class="tocxref"><span class="secno">3.5 </span>Roles</a></li><li class="tocline"><a href="#derivation-and-revision-1" class="tocxref"><span class="secno">3.6 </span>Derivation and Revision</a></li><li class="tocline"><a href="#plans-1" class="tocxref"><span class="secno">3.7 </span>Plans</a></li><li class="tocline"><a href="#time-1" class="tocxref"><span class="secno">3.8 </span>Time</a></li><li class="tocline"><a href="#alternate-entities-and-specialization-1" class="tocxref"><span class="secno">3.9 </span>Alternate Entities and Specialization</a></li><li class="tocline"><a href="#complete-prov-data" class="tocxref"><span class="secno">3.10 </span>Complete PROV data</a></li></ul></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#changes-since-third-public-working-draft" class="tocxref"><span class="secno">B. </span>Changes Since Third Public Working Draft</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">C. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">C.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">C.2 </span>Informative references</a></li></ul></li></ul></div> 
+
+        <p>
+          This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a Working Draft.
+          
+          If you wish to make comments regarding this document, please send them to 
+          <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> 
+          (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>,
+          <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>).
+          
+          
+          All feedback is welcome.
+        </p>
+        
+          <p>
+            Publication as a Working Draft does not imply endorsement by the <abbr title="World Wide Web Consortium">W3C</abbr> Membership.
+            This is a draft document and may be updated, replaced or obsoleted by other documents at 
+            any time. It is inappropriate to cite this document as other than work in progress.
+          </p>
+        
+        
+        <p>
+          
+            This document was produced by a group operating under the 
+            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
+          
+          The group does not expect this document to become a <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation.
+          
+            
+              <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> 
+            
+            made in connection with the deliverables of the group; that page also includes instructions for 
+            disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains
+            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the
+            information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
+            6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
+          
+          
+        </p>
+        
+      
+    
+  
+</section><section id="toc"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#intuitive-overview-of-prov" class="tocxref"><span class="secno">2. </span>Intuitive overview of PROV</a><ul class="toc"><li class="tocline"><a href="#entities" class="tocxref"><span class="secno">2.1 </span>Entities</a></li><li class="tocline"><a href="#activities" class="tocxref"><span class="secno">2.2 </span>Activities</a></li><li class="tocline"><a href="#usage-and-generation" class="tocxref"><span class="secno">2.3 </span>Usage and Generation</a></li><li class="tocline"><a href="#agents-and-responsibility" class="tocxref"><span class="secno">2.4 </span>Agents and Responsibility</a></li><li class="tocline"><a href="#roles" class="tocxref"><span class="secno">2.5 </span>Roles</a></li><li class="tocline"><a href="#derivation-and-revision" class="tocxref"><span class="secno">2.6 </span>Derivation and Revision</a></li><li class="tocline"><a href="#plans" class="tocxref"><span class="secno">2.7 </span>Plans</a></li><li class="tocline"><a href="#time" class="tocxref"><span class="secno">2.8 </span>Time</a></li><li class="tocline"><a href="#alternate-entities-and-specialization" class="tocxref"><span class="secno">2.9 </span>Alternate Entities and Specialization</a></li></ul></li><li class="tocline"><a href="#examples-of-key-concepts-in-prov" class="tocxref"><span class="secno">3. </span>Examples of Key Concepts in PROV</a><ul class="toc"><li class="tocline"><a href="#entities-1" class="tocxref"><span class="secno">3.1 </span>Entities</a></li><li class="tocline"><a href="#activities-1" class="tocxref"><span class="secno">3.2 </span>Activities</a></li><li class="tocline"><a href="#usage-and-generation-1" class="tocxref"><span class="secno">3.3 </span>Usage and Generation</a></li><li class="tocline"><a href="#agents-and-responsibility-1" class="tocxref"><span class="secno">3.4 </span>Agents and Responsibility</a></li><li class="tocline"><a href="#roles-1" class="tocxref"><span class="secno">3.5 </span>Roles</a></li><li class="tocline"><a href="#derivation-and-revision-1" class="tocxref"><span class="secno">3.6 </span>Derivation and Revision</a></li><li class="tocline"><a href="#plans-1" class="tocxref"><span class="secno">3.7 </span>Plans</a></li><li class="tocline"><a href="#time-1" class="tocxref"><span class="secno">3.8 </span>Time</a></li><li class="tocline"><a href="#alternate-entities-and-specialization-1" class="tocxref"><span class="secno">3.9 </span>Alternate Entities and Specialization</a></li><li class="tocline"><a href="#complete-prov-data" class="tocxref"><span class="secno">3.10 </span>Complete PROV data</a></li></ul></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#changes-since-third-public-working-draft" class="tocxref"><span class="secno">B. </span>Changes Since Third Public Working Draft</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">C. </span>References</a><ul class="toc"><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">C.1 </span>Informative references</a></li></ul></li></ul></section> 
 
 
 
-  <div id="introduction" class="section"> 
+  <section id="introduction"> 
    
-<!-- OddPage -->
+<!--OddPage-->
 <h2><span class="secno">1. </span>Introduction</h2>
    <p>
     This primer document provides an accessible introduction to the PROV 
@@ -136,7 +360,7 @@
    For general background on provenance, a 
    comprehensive overview of requirements, use cases, prior research, and proposed 
    vocabularies for provenance are available from the 
-   Final Report of the <acronym title="World Wide Web Consortium">W3C</acronym> Provenance Incubator Group [<cite><a class="bibref" rel="biblioentry" href="#bib-PROVENANCE-XG">PROVENANCE-XG</a></cite>].
+   Final Report of the <abbr title="World Wide Web Consortium">W3C</abbr> Provenance Incubator Group [<cite><a class="bibref" href="#bib-PROVENANCE-XG">PROVENANCE-XG</a></cite>].
    That document contains three general scenarios 
    that may help identify the provenance aspects of planned applications and 
    help plan the design of a provenance system.
@@ -147,32 +371,32 @@
   </p>
   <ul>
    <li>An intuitive explanation of how PROV models provenance. A detailed description of
-    all the concepts and relations in the PROV Data Model is provided in [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>].</li>
+    all the concepts and relations in the PROV Data Model is provided in [<cite><a class="bibref" href="#bib-PROV-DM">PROV-DM</a></cite>].</li>
    <li>A simple self-contained example that illustrates how to produce and use PROV assertions, highlighting how 
     to combine PROV with other popular vocabularies such as FOAF and Dublin Core.  A description
-    of the formal PROV ontology (PROV-O) can be found in [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O">PROV-O</a></cite>].</li>
+    of the formal PROV ontology (PROV-O) can be found in [<cite><a class="bibref" href="#bib-PROV-O">PROV-O</a></cite>].</li>
    <li>Example snippets using a notation of PROV designed for human
-    consumption (PROV-N).  Details of this notation can be found at [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>].</li>
+    consumption (PROV-N).  Details of this notation can be found at [<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>].</li>
   </ul>
 
   <p>There are additional reference documents for PROV that are not covered in this 
-   primer, including the PROV Access and Query aspects of the specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>], 
-   the constraints on the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>], 
-   a formal semantics of the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>], and the PROV XML notation 
-   [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML">PROV-XML</a></cite>]. </p>
+   primer, including the PROV Access and Query aspects of the specification [<cite><a class="bibref" href="#bib-PROV-AQ">PROV-AQ</a></cite>], 
+   the constraints on the PROV data model [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>], 
+   a formal semantics of the PROV data model [<cite><a class="bibref" href="#bib-PROV-SEM">PROV-SEM</a></cite>], and the PROV XML notation 
+   [<cite><a class="bibref" href="#bib-PROV-XML">PROV-XML</a></cite>]. </p>
 
- </div>
+ </section>
 
- <div id="intuitive-overview-of-prov" class="section">
+ <section id="intuitive-overview-of-prov">
   
-<!-- OddPage -->
+<!--OddPage-->
 <h2><span class="secno">2. </span>Intuitive overview of PROV</h2>
 
   <p>
    This section provides an intuitive explanation of the main concepts in PROV. 
    As with the rest of this document, it should be treated as a starting point for
-   understanding the model. The PROV data model document [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>]
-   provides precise definitions and constraints [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>] to be used.
+   understanding the model. The PROV data model document [<cite><a class="bibref" href="#bib-PROV-DM">PROV-DM</a></cite>]
+   provides precise definitions and constraints [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>] to be used.
   </p>
   <p>
    The following diagram provides a high level overview of the structure of PROV records,
@@ -185,7 +409,7 @@
    <img src="images/key-concepts.png" alt="PROV key concepts overview" />
   </div>
 
-  <div id="entities" class="section">
+  <section id="entities">
    <h3><span class="secno">2.1 </span>Entities</h3>
 
    <p>
@@ -202,9 +426,9 @@
     and D as an evolving document,
     are three distinct entities for which we may describe provenance.
    </p>
-  </div>
+  </section>
 
-  <div id="activities" class="section">
+  <section id="activities">
    <h3><span class="secno">2.2 </span>Activities</h3>
 
    <p>
@@ -217,9 +441,9 @@
     by a translation from the first version of the document in another language,
     then this translation is an activity.
    </p>
-  </div>
+  </section>
 
-  <div id="usage-and-generation" class="section">
+  <section id="usage-and-generation">
    <h3><span class="secno">2.3 </span>Usage and Generation</h3>
    <p>
     Activities <i>generate</i> new entities.
@@ -232,9 +456,9 @@
     part-way through.
     Likewise, usage does not always occur at the beginning of an activity.
    </p>
-  </div>
+  </section>
 
-  <div id="agents-and-responsibility" class="section">
+  <section id="agents-and-responsibility">
    <h3><span class="secno">2.4 </span>Agents and Responsibility</h3>
    <p>
     An <i>agent</i> takes a role in an activity such 
@@ -267,9 +491,9 @@
     the agent must be declared explicitly both as an agent and as an entity.
    </p>
 
-  </div>
+  </section>
 
-  <div id="roles" class="section">
+  <section id="roles">
    <h3><span class="secno">2.5 </span>Roles</h3>
    <p>
     A <i>role</i> is a description of the function or the part that an entity 
@@ -283,9 +507,9 @@
     &quot;addition to be made to the document&quot;, to generate a further entity in the role of &quot;edited document&quot;.
     Roles are application specific, so PROV does not define any particular roles.
    </p>
-  </div>
+  </section>
 
-  <div id="derivation-and-revision" class="section">
+  <section id="derivation-and-revision">
    <h3><span class="secno">2.6 </span>Derivation and Revision</h3>
    <p>
     When one entity's existence, content, characteristics and so on are
@@ -305,18 +529,18 @@
     Another specialized kind of derivation is to say that one entity, commonly
     a document, <i>quotes</i> from another.
    </p>
-  </div>
+  </section>
 
-  <div id="plans" class="section">
+  <section id="plans">
    <h3><span class="secno">2.7 </span>Plans</h3>
    <p>
     Activities may follow pre-defined procedures, such as recipes, tutorials, instructions, or workflows.
     PROV refers to these, in general, as <i>plans</i>, and allows the description that a plan was followed, by agents,
     in executing an activity.
    </p>
-  </div>
+  </section>
 
-  <div id="time" class="section">
+  <section id="time">
    <h3><span class="secno">2.8 </span>Time</h3>
    <p>
     Time is often a critical aspect of provenance.
@@ -326,9 +550,9 @@
     version of a document was created (generation time), or when a document was
     edited (start and end of the editing activity).
    </p>
-  </div>
+  </section>
 
-  <div id="alternate-entities-and-specialization" class="section">
+  <section id="alternate-entities-and-specialization">
    <h3><span class="secno">2.9 </span>Alternate Entities and Specialization</h3>
    <p>
     There is often more than one way to describe something in a record of
@@ -376,7 +600,7 @@
     in this case.
    </p>
    
-<!-- 
+<!--
    <h3>Alternate Entities and Specialization</h3>
    <p>
     Entities are defined in a flexible way in PROV, allowing for different
@@ -411,15 +635,15 @@
     with a unique identifier even though it is specified as different alternates 
     throughout the provenance records.
    </p>
-    -->
-
-  </div>   
+   -->
 
- </div>
+  </section>   
 
- <div id="examples-of-key-concepts-in-prov" class="section">
+ </section>
+
+ <section id="examples-of-key-concepts-in-prov">
   
-<!-- OddPage -->
+<!--OddPage-->
 <h2><span class="secno">3. </span>Examples of Key Concepts in PROV</h2>
 
   <p>
@@ -435,9 +659,9 @@
    The samples can be displayed in one or more of the following formats.
   </p>
   <ul>
-   <li>[<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O">PROV-O</a></cite>] RDF triples, expressed using the [<cite><a class="bibref" rel="biblioentry" href="#bib-TURTLE">TURTLE</a></cite>] notation.</li>
-   <li>[<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>] expressions.</li>
-   <li>[<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML">PROV-XML</a></cite>] fragments.</li>
+   <li>[<cite><a class="bibref" href="#bib-PROV-O">PROV-O</a></cite>] RDF triples, expressed using the [<cite><a class="bibref" href="#bib-TURTLE">TURTLE</a></cite>] notation.</li>
+   <li>[<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>] expressions.</li>
+   <li>[<cite><a class="bibref" href="#bib-PROV-XML">PROV-XML</a></cite>] fragments.</li>
   </ul>
   <p>
    Select the formats to display using the buttons below. Note that if all formats
@@ -478,7 +702,7 @@
   </form>
 
 
-  <div id="entities-1" class="section">
+  <section id="entities-1">
    <h3><span class="secno">3.1 </span>Entities</h3>
 
    <p>
@@ -557,9 +781,9 @@
     are denoted using ovals, as shown below.
    </p>
    <img src="images/entities.png" alt="Visualization of the example entities" />
-  </div>
+  </section>
 
-  <div id="activities-1" class="section">
+  <section id="activities-1">
    <h3><span class="secno">3.2 </span>Activities</h3>
 
    <p>
@@ -671,9 +895,9 @@
     In visualizations of the PROV data, activities are depicted as rectangles, as below.
    </p>
    <img src="images/activities.png" alt="Visualization of the example activities" />
-  </div>
+  </section>
 
-  <div id="usage-and-generation-1" class="section">
+  <section id="usage-and-generation-1">
    <h3><span class="secno">3.3 </span>Usage and Generation</h3>
 
    <p>
@@ -715,7 +939,7 @@
   wasGeneratedBy(ex:composition, ex:compose, -)
     </pre>
     <p>Note that the - argument in the examples above denote unspecified optional
-     information. See the [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>] specification for the details of what arguments
+     information. See the [<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>] specification for the details of what arguments
      may be expressed in each PROV-N statement.
     </p>
    </div>
@@ -796,9 +1020,9 @@
     entities and activities. The arrows point from the future to the past.
    </p>
    <img src="images/use-generate.png" alt="Connection of the entities and activities by use and generation links" />
-  </div>
+  </section>
 
-  <div id="agents-and-responsibility-1" class="section">
+  <section id="agents-and-responsibility-1">
    <h3><span class="secno">3.4 </span>Agents and Responsibility</h3>
 
    <p>
@@ -1004,9 +1228,9 @@
     We can extend our graphical depiction to show the agents, association and attribution links.
    </p>
    <img src="images/agents.png" alt="Agents added to provenance graph and linked to entities and activities" />
-  </div>
+  </section>
 
-  <div id="roles-1" class="section">
+  <section id="roles-1">
    <h3><span class="secno">3.5 </span>Roles</h3>
 
    <p>
@@ -1230,9 +1454,9 @@
     Depicting the above visually, we have the following.
    </p>
    <img src="images/roles.png" alt="Provenance graph annotated with roles played by entities and agents" />
-  </div>
+  </section>
 
-  <div id="derivation-and-revision-1" class="section">
+  <section id="derivation-and-revision-1">
    <h3><span class="secno">3.6 </span>Derivation and Revision</h3>
 
    <p>
@@ -1385,9 +1609,9 @@
     with arrows in our visualization.
    </p>
    <img src="images/derivation.png" alt="Derivation and revision links between entities" />
-  </div>
+  </section>
 
-  <div id="plans-1" class="section">
+  <section id="plans-1">
    <h3><span class="secno">3.7 </span>Plans</h3>
 
    <p>
@@ -1510,9 +1734,9 @@
     an agent, and so, in our visualization, connect to the link between them.
    </p>
    <img src="images/plans.png" alt="Annotaion of example provenance graph with plan followed" />
-  </div>
+  </section>
 
-  <div id="time-1" class="section">
+  <section id="time-1">
    <h3><span class="secno">3.8 </span>Time</h3>
 
    <p>
@@ -1620,9 +1844,9 @@
     links between activities and entities or agents.
    </p>
    <img src="images/time.png" alt="Annotation of provenance graph with example timestamps" />
-  </div>
+  </section>
 
-  <div id="alternate-entities-and-specialization-1" class="section">
+  <section id="alternate-entities-and-specialization-1">
    <h3><span class="secno">3.9 </span>Alternate Entities and Specialization</h3>
 
    <p>
@@ -1785,9 +2009,9 @@
     as links between them.
    </p>
    <img src="images/specialization.png" alt="Specialization and alternate links between entities" />
-  </div>
+  </section>
 
-  <div id="complete-prov-data" class="section">
+  <section id="complete-prov-data">
    <h3><span class="secno">3.10 </span>Complete PROV data</h3>
    <p>
     The full set of examples shown above are available in <a href="primer-turtle-examples.txt">PROV-O Turtle format</a>
@@ -1795,21 +2019,21 @@
     We visualize the whole example below.
    </p>
    <img src="images/everything.png" alt="Provenance graph for whole example" />
-  </div>
- </div>
+  </section>
+ </section>
 
- <div class="appendix section" id="acknowledgements">
+ <section class="appendix" id="acknowledgements">
   
-<!-- OddPage -->
+<!--OddPage-->
 <h2><span class="secno">A. </span>Acknowledgements</h2>
   <p>
    The Provenance Working Group members.
   </p>
- </div>
+ </section>
 
- <div class="appendix section" id="changes-since-third-public-working-draft"> 
+ <section class="appendix" id="changes-since-third-public-working-draft"> 
   
-<!-- OddPage -->
+<!--OddPage-->
 <h2><span class="secno">B. </span>Changes Since Third Public Working Draft</h2> 
   <ul>
    <li>Corrected mailing list address for public comments.</li>
@@ -1825,12 +2049,12 @@
    <li>Changed example figures to follow PROV style guidelines.</li>
    <li>Fixed minor typos.</li>
   </ul>
- </div>
+ </section>
 
 
-<div id="references" class="appendix section">
-<!-- OddPage -->
-<h2><span class="secno">C. </span>References</h2><div id="normative-references" class="section"><h3><span class="secno">C.1 </span>Normative references</h3><p>No normative references.</p></div><div id="informative-references" class="section"><h3><span class="secno">C.2 </span>Informative references</h3><dl class="bibliography"><dt id="bib-PROV-AQ">[PROV-AQ]</dt><dd>Graham Klyne; Paul Groth; eds. <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><cite>Provenance Access and Query</cite></a>. 19 June 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/">http://www.w3.org/TR/2012/WD-prov-aq-20120619/</a>
+<section id="references" class="appendix">
+<!--OddPage-->
+<h2><span class="secno">C. </span>References</h2><section id="informative-references"><h3><span class="secno">C.1 </span>Informative references</h3><dl class="bibliography"><dt id="bib-PROV-AQ">[PROV-AQ]</dt><dd>Graham Klyne; Paul Groth; eds. <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><cite>Provenance Access and Query</cite></a>. 19 June 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/">http://www.w3.org/TR/2012/WD-prov-aq-20120619/</a>
 </dd><dt id="bib-PROV-CONSTRAINTS">[PROV-CONSTRAINTS]</dt><dd>James Cheney; Paolo Missier; Luc Moreau; eds. <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><cite>Constraints of the PROV Data Model</cite></a>. 11 December 2012, W3C Candidate Recommendation. URL: <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/">http://www.w3.org/TR/2012/CR-prov-constraints-20121211/</a>
 </dd><dt id="bib-PROV-DM">[PROV-DM]</dt><dd>Luc Moreau; Paolo Missier; eds. <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/"><cite>PROV-DM: The PROV Data Model</cite></a>. 11 December 2012, W3C Candidate Recommendation. URL: <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/">http://www.w3.org/TR/2012/CR-prov-dm-20121211/</a>
 </dd><dt id="bib-PROV-N">[PROV-N]</dt><dd>Luc Moreau; Paolo Missier; eds. <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/"><cite>PROV-N: The Provenance Notation</cite></a>. 11 December 2012, W3C Candidate Recommendation. URL: <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">http://www.w3.org/TR/2012/CR-prov-n-20121211/</a>
@@ -1841,4 +2065,4 @@
 </dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd>Hook Hua; Curt Tilmes; Stephan Zednik; eds. <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite>PROV-XML: The PROV XML Schema</cite></a>. 11 December 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</a>
 </dd><dt id="bib-PROVENANCE-XG">[PROVENANCE-XG]</dt><dd>Yolanda Gil, James Cheney, Paul Groth, Olaf Hartig, Simon Miles, Luc Moreau, Paulo Pinheiro da Silva <a href="http://www.w3.org/2005/Incubator/prov/XGR-prov/"><cite>Provenance XG Final Report</cite></a>. 8 December 2010. URL: <a href="http://www.w3.org/2005/Incubator/prov/XGR-prov/">http://www.w3.org/2005/Incubator/prov/XGR-prov/</a>
 </dd><dt id="bib-TURTLE">[TURTLE]</dt><dd>Eric Prud'hommeaux, Gavin Carothers <a href="http://www.w3.org/TR/2011/WD-turtle-20110809/"><cite>Turtle: Terse RDF Triple Language</cite></a>. 9 August 2011. W3C Working Draft. URL: <a href="http://www.w3.org/TR/2011/WD-turtle-20110809/">http://www.w3.org/TR/2011/WD-turtle-20110809/</a>
-</dd></dl></div></div></body></html>
\ No newline at end of file
+</dd></dl></section></section></body></html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/WD-prov-primer-20121211/toggles.js	Sun Dec 02 17:17:27 2012 +0000
@@ -0,0 +1,52 @@
+/*
+	Written by Jonathan Snook, http://www.snook.ca/jonathan
+	Add-ons by Robert Nyman, http://www.robertnyman.com
+	Author says "The credit comment is all it takes, no license. Go crazy with it!:-)"
+	From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
+*/
+
+function getElementsByClassName(oElm, strTagName, oClassNames){
+	var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
+	var arrReturnElements = new Array();
+	var arrRegExpClassNames = new Array();
+	if(typeof oClassNames == "object"){
+		for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
+			arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
+		}
+	}
+	else{
+		arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
+	}
+	var oElement;
+	var bMatchesAll;
+	for(var j=0; !(j>=arrElements.length); j++){ /*>*/
+		oElement = arrElements[j];
+		bMatchesAll = true;
+		for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
+			if(!arrRegExpClassNames[k].test(oElement.className)){
+				bMatchesAll = false;
+				break;
+			}
+		}
+		if(bMatchesAll){
+			arrReturnElements.push(oElement);
+		}
+	}
+	return (arrReturnElements)
+}
+
+function set_display_by_class(el, cls, newValue) {
+   var e = getElementsByClassName(document, el, cls);
+   if (e != null) {
+      for (var i=0; !(i>=e.length); i++) {
+        e[i].style.display = newValue;
+      }
+   }
+}
+
+function set_display_by_id(id, newValue) {
+   var e = document.getElementById(id);
+   if (e != null) {
+     e.style.display = newValue;
+   }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/toggles.js	Sun Dec 02 17:17:27 2012 +0000
@@ -0,0 +1,52 @@
+/*
+	Written by Jonathan Snook, http://www.snook.ca/jonathan
+	Add-ons by Robert Nyman, http://www.robertnyman.com
+	Author says "The credit comment is all it takes, no license. Go crazy with it!:-)"
+	From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
+*/
+
+function getElementsByClassName(oElm, strTagName, oClassNames){
+	var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
+	var arrReturnElements = new Array();
+	var arrRegExpClassNames = new Array();
+	if(typeof oClassNames == "object"){
+		for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
+			arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
+		}
+	}
+	else{
+		arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
+	}
+	var oElement;
+	var bMatchesAll;
+	for(var j=0; !(j>=arrElements.length); j++){ /*>*/
+		oElement = arrElements[j];
+		bMatchesAll = true;
+		for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
+			if(!arrRegExpClassNames[k].test(oElement.className)){
+				bMatchesAll = false;
+				break;
+			}
+		}
+		if(bMatchesAll){
+			arrReturnElements.push(oElement);
+		}
+	}
+	return (arrReturnElements)
+}
+
+function set_display_by_class(el, cls, newValue) {
+   var e = getElementsByClassName(document, el, cls);
+   if (e != null) {
+      for (var i=0; !(i>=e.length); i++) {
+        e[i].style.display = newValue;
+      }
+   }
+}
+
+function set_display_by_id(id, newValue) {
+   var e = document.getElementById(id);
+   if (e != null) {
+     e.style.display = newValue;
+   }
+}
\ No newline at end of file