--- a/xml/prov-xml.html Mon Nov 12 17:08:22 2012 -0500
+++ b/xml/prov-xml.html Mon Nov 12 16:25:25 2012 -0700
@@ -40,97 +40,11 @@
</style>
- <!-- TODO, pull down respec.js and fix status=0 bug -->
- <!--<script type="text/javascript" src="ReSpec.js/js/respec.js" class="remove"></script>-->
<script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script>
-
<script src="http://www.w3.org/2007/OWL/toggles.js" class="remove"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
-
<script src="../model/glossary.js" class="remove"></script>
- <!-- This is a test to see if the respec data-oninclude is working -->
- <!--
- <script>
- function insertSchemaComplexType(doc, content, name) {
- var xml = $.parseXML(content);
- var segment = $(xml).find('complexType[name~="' + name + '"]')[0];
- return "<pre>"+doc._esc((new XMLSerializer()).serializeToString(segment))+"</pre>";
- }
-
- function insertSchemaElement(doc, content, name) {
- var xml = $.parseXML(content);
- var segment = $(xml).find('element[name~="' + name + '"]').not('[type*="Ref"]')[0];
- return "<pre>"+doc._esc((new XMLSerializer()).serializeToString(segment))+"</pre>";
- }
-
- function formatExample(doc, content) {
- var xml = $.parseXML(content);
- return "<pre>"+doc._esc((new XMLSerializer()).serializeToString(xml))+"</pre>";
- }
-
- function insertSchema_Entity(doc, content) { return insertSchemaComplexType(doc, content, "Entity"); }
- function insertSchema_entity(doc, content) { return insertSchemaElement(doc, content, "entity"); }
-
- function insertSchema_Activity(doc, content) { return insertSchemaComplexType(doc, content, "Activity"); }
- function insertSchema_activity(doc, content) { return insertSchemaElement(doc, content, "activity"); }
-
- function insertSchema_Agent(doc, content) { return insertSchemaComplexType(doc, content, "Agent"); }
- function insertSchema_agent(doc, content) { return insertSchemaElement(doc, content, "agent"); }
-
- function insertSchema_Generation(doc, content) { return insertSchemaComplexType(doc, content, "Generation"); }
- function insertSchema_wasGeneratedBy(doc, content) { return insertSchemaElement(doc, content, "wasGeneratedBy"); }
-
- function insertSchema_Usage(doc, content) { return insertSchemaComplexType(doc, content, "Usage"); }
- function insertSchema_used(doc, content) { return insertSchemaElement(doc, content, "used"); }
-
- function insertSchema_Communication(doc, content) { return insertSchemaComplexType(doc, content, "Communication"); }
- function insertSchema_wasInformedBy(doc, content) { return insertSchemaElement(doc, content, "wasInformedBy"); }
-
- function insertSchema_Start(doc, content) { return insertSchemaComplexType(doc, content, "Start"); }
- function insertSchema_wasStartedBy(doc, content) { return insertSchemaElement(doc, content, "wasStartedBy"); }
-
- function insertSchema_End(doc, content) { return insertSchemaComplexType(doc, content, "End"); }
- function insertSchema_wasEndedBy(doc, content) { return insertSchemaElement(doc, content, "wasEndedBy"); }
-
- function insertSchema_Invalidation(doc, content) { return insertSchemaComplexType(doc, content, "Invalidation"); }
- function insertSchema_wasInvalidatedBy(doc, content) { return insertSchemaElement(doc, content, "wasInvalidatedBy"); }
-
- function insertSchema_Derivation(doc, content) { return insertSchemaComplexType(doc, content, "Derivation"); }
- function insertSchema_wasDerivedFrom(doc, content) { return insertSchemaElement(doc, content, "wasDerivedFrom"); }
-
- function insertSchema_Attribution(doc, content) { return insertSchemaComplexType(doc, content, "Attribution"); }
- function insertSchema_wasAttributedTo(doc, content) { return insertSchemaElement(doc, content, "wasAttributedTo"); }
-
- function insertSchema_Association(doc, content) { return insertSchemaComplexType(doc, content, "Association"); }
- function insertSchema_wasAssociatedWith(doc, content) { return insertSchemaElement(doc, content, "wasAssociatedWith"); }
-
- function insertSchema_Delegation(doc, content) { return insertSchemaComplexType(doc, content, "Delegation"); }
- function insertSchema_actedOnBehalfOf(doc, content) { return insertSchemaElement(doc, content, "actedOnBehalfOf"); }
-
- function insertSchema_Influence(doc, content) { return insertSchemaComplexType(doc, content, "Influence"); }
- function insertSchema_wasInfluencedBy(doc, content) { return insertSchemaElement(doc, content, "wasInfluencedBy"); }
-
- function insertSchema_Specialization(doc, content) { return insertSchemaComplexType(doc, content, "Specialization"); }
- function insertSchema_specializationOf(doc, content) { return insertSchemaElement(doc, content, "specializationOf"); }
-
- function insertSchema_Alternate(doc, content) { return insertSchemaComplexType(doc, content, "Alternate"); }
- function insertSchema_alternateOf(doc, content) { return insertSchemaElement(doc, content, "alternateOf"); }
-
- function insertSchema_Mention(doc, content) { return insertSchemaComplexType(doc, content, "Mention"); }
- function insertSchema_mentionOf(doc, content) { return insertSchemaElement(doc, content, "mentionOf"); }
-
- function insertSchema_Membership(doc, content) { return insertSchemaComplexType(doc, content, "Membership"); }
- function insertSchema_hadMember(doc, content) { return insertSchemaElement(doc, content, "hadMember"); }
-
- function insertSchema_label(doc, content) { return insertSchemaElement(doc, content, "label"); }
- function insertSchema_role(doc, content) { return insertSchemaElement(doc, content, "role"); }
- function insertSchema_type(doc, content) { return insertSchemaElement(doc, content, "type"); }
- function insertSchema_location(doc, content) { return insertSchemaElement(doc, content, "location"); }
- function insertSchema_value(doc, content) { return insertSchemaElement(doc, content, "value"); }
-
- </script>
- -->
<script>
$(function() {
@@ -574,10 +488,6 @@
<td><a>Specialization</a></td>
<td><a title="specializationOf">prov:Specialization</a></td>
</tr>
-<tr class="component5-color">
- <td><a>Mention</a></td>
- <td><a title="mentionOf">prov:Mention</a></td>
-</tr>
<tr>
<td colspan="3" style="border-width: 0px; "></td>
</tr>
@@ -1560,7 +1470,7 @@
<section id="component5">
<h3>Component 5: Alternate Entities</h3>
<p>The fifth component of PROV-DM is concerned with
-relations SpecializationOf (<a>specialization</a>), AlternateOf (<a>alternate</a>), and MentionOf (<a>mention</a>) between entities.</p>
+relations SpecializationOf (<a>specialization</a>) and AlternateOf (<a>alternate</a>) between entities.</p>
<section id="term-Specialization">
<h4>Specialization</h4>
@@ -1634,82 +1544,6 @@
</pre>
</section> <!-- end term-Alternate -->
-<section id="term-Mention">
-<h4>Mention</h4>
-<div class="glossary-ref" data-ref="glossary-mention"></div>
-<pre class="schema-type">
-<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Mention">
- <xs:sequence>
- <xs:element name="specificEntity" type="prov:EntityRef"/>
- <xs:element name="generalEntity" type="prov:EntityRef"/>
- <xs:element name="bundle" type="prov:EntityRef"/>
- </xs:sequence>
-</xs:complexType>
-</pre>
-<pre class="schema-usage">
-<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="mentionOf" type="prov:Mention"/>
-</pre>
-<pre class="example">
-<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#">
-
- <prov:bundle prov:id="ex:run1">
- <prov:activity prov:id="ex:a1">
- <prov:startTime>2011-11-16T16:00:00</prov:startTime>
- <prov:endTime>2011-11-16T17:00:00</prov:endTime>
- </prov:activity>
-
- <prov:wasAssociatedWith>
- <prov:activity prov:ref="ex:a1" />
- <prov:agent prov:ref="ex:Bob" />
- <prov:role xsi:type="xsd:QName">controller</prov:role>
- </prov:wasAssociatedWith>
- </prov:bundle>
-
- <prov:bundle prov:id="ex:run2">
- <prov:activity prov:id="ex:a2">
- <prov:startTime>2011-11-17T10:00:00</prov:startTime>
- <prov:endTime>2011-11-17T17:00:00</prov:endTime>
- </prov:activity>
-
- <prov:wasAssociatedWith>
- <prov:activity prov:ref="ex:a2" />
- <prov:agent prov:ref="ex:Bob" />
- <prov:role xsi:type="xsd:QName">controller</prov:role>
- </prov:wasAssociatedWith>
- </prov:bundle>
-
- <prov:bundle prov:id="tool:analysis01">
- <prov:agent prov:id="tool:Bob-2011-11-16">
- <ex:perfrating>good</ex:perfrating>
- </prov:agent>
-
- <b><prov:mentionOf>
- <prov:specificEntity prov:ref="tool:Bob-2011-11-16" />
- <prov:generalEntity prov:ref="ex:Bob" />
- <prov:bundle prov:ref="ex:run1" />
- </prov:mentionOf></b>
-
- <prov:agent prov:id="tool:Bob-2011-11-17">
- <ex:perfrating>bad</ex:perfrating>
- </prov:agent>
-
- <b><prov:mentionOf>
- <prov:specificEntity prov:ref="tool:Bob-2011-11-17" />
- <prov:generalEntity prov:ref="ex:Bob" />
- <prov:bundle prov:ref="ex:run2" />
- </prov:mentionOf></b>
- </prov:bundle>
-
-</prov:document>
-</pre>
-</section> <!-- end term-Mention -->
-
</section> <!-- end component5 -->
@@ -2248,15 +2082,6 @@
</xs:sequence>
</xs:complexType>
- <xs:complexType name="Mention">
- <xs:sequence>
- <xs:element name="specificEntity" type="prov:EntityRef"/>
- <xs:element name="generalEntity" type="prov:EntityRef"/>
- <xs:element name="bundle" type="prov:EntityRef"/>
- </xs:sequence>
- </xs:complexType>
-
-
<!-- Component 6 -->
<xs:complexType name="Membership">
@@ -2345,7 +2170,6 @@
<xs:element name="specializationOf" type="prov:Specialization"/>
<xs:element name="alternateOf" type="prov:Alternate"/>
- <xs:element name="mentionOf" type="prov:Mention"/>
<!-- Component 6 elements -->
@@ -2370,7 +2194,6 @@
<xs:element ref="prov:wasInfluencedBy"/>
<xs:element ref="prov:specializationOf"/>
<xs:element ref="prov:alternateOf"/>
- <xs:element ref="prov:mentionOf"/>
<xs:element ref="prov:hadMember"/>
<xs:any namespace="##other"/>
</xs:choice>