--- a/dictionary/Overview.html Mon Apr 15 15:23:17 2013 +0200
+++ b/dictionary/Overview.html Mon Apr 15 16:13:26 2013 +0200
@@ -2524,16 +2524,16 @@
<b><prov:hadDictionaryMember>
<prov:dictionary prov:ref="d"/>
<prov:keyEntityPair>
+ <prov:key>k0</prov:key>
<prov:entity prov:ref="e0"/>
- <prov:key>k0</prov:key>
</prov:keyEntityPair>
<prov:keyEntityPair>
+ <prov:key>k1</prov:key>
<prov:entity prov:ref="e1"/>
- <prov:key>k1</prov:key>
</prov:keyEntityPair>
<prov:keyEntityPair>
+ <prov:key>k2</prov:key>
<prov:entity prov:ref="e2"/>
- <prov:key>k2</prov:key>
</prov:keyEntityPair>
</prov:hadDictionaryMember></b>
@@ -2578,8 +2578,8 @@
<prov:hadDictionaryMember>
<prov:dictionary prov:ref="d1"/>
<prov:keyEntityPair>
+ <prov:key>k0</prov:key>
<prov:entity prov:ref="e0"/>
- <prov:key>k0</prov:key>
</prov:keyEntityPair>
</prov:hadDictionaryMember>
@@ -2587,12 +2587,12 @@
<prov:newDictionary prov:ref="d2"/>
<prov:oldDictionary prov:ref="d1"/>
<prov:keyEntityPair>
+ <prov:key>k1</prov:key>
<prov:entity prov:ref="e1"/>
- <prov:key>k1</prov:key>
</prov:keyEntityPair>
<prov:keyEntityPair>
+ <prov:key>k2</prov:key>
<prov:entity prov:ref="e2"/>
- <prov:key>k2</prov:key>
</prov:keyEntityPair>
</prov:derivedByInsertionFrom></b>
@@ -2636,16 +2636,16 @@
<prov:hadDictionaryMember>
<prov:dictionary prov:ref="d1"/>
<prov:keyEntityPair>
+ <prov:key>k0</prov:key>
<prov:entity prov:ref="e0"/>
- <prov:key>k0</prov:key>
</prov:keyEntityPair>
<prov:keyEntityPair>
+ <prov:key>k1</prov:key>
<prov:entity prov:ref="e1"/>
- <prov:key>k1</prov:key>
</prov:keyEntityPair>
<prov:keyEntityPair>
+ <prov:key>k2</prov:key>
<prov:entity prov:ref="e2"/>
- <prov:key>k2</prov:key>
</prov:keyEntityPair>
</prov:hadDictionaryMember>
@@ -3108,17 +3108,17 @@
("SS", dbpedia:Mike_Aviles"),
})
- endDocument
+endDocument
</pre>
</section>
<section id="example-prov-o">
<h4>PROV-O</h4>
<p>The following is an excerpt of the complete provenance, not listing all the player entities to avoid overloading this document. The complete provenance is available for download as a <a href="example/example.ttl">separate file</a>.</p>
<pre>
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix dbpedia: <http://dbpedia.org/resource/> .
-@prefix ex: <http://example.com/> .
+@prefix ex: <http://example.com/> .
#All Player Entities, see complete provenance file.
...
@@ -3129,6 +3129,51 @@
... #For all dictionary members, see complete provenance file.
.
+#2011 Opening Day lineup
+ex:2011_opening_day_lineup
+ a prov:Entity, prov:Dictionary;
+ prov:hadDictionaryMember [
+ a prov:KeyEntityPair;
+ prov:pairKey "CF"^^xsd:string;
+ prov:pairEntity dbpedia:Jacoby_Ellsbury;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "2B"^^xsd:string;
+ prov:pairEntity dbpedia:Dustin_Pedroia;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "1B"^^xsd:string;
+ prov:pairEntity dbpedia:Adrian_Gonzalez;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "DH"^^xsd:string;
+ prov:pairEntity dbpedia:David_Ortiz;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "3B"^^xsd:string;
+ prov:pairEntity dbpedia:Kevin_Youkilis;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "RF"^^xsd:string;
+ prov:pairEntity dbpedia:Mike_Cameron;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "LF"^^xsd:string;
+ prov:pairEntity dbpedia:Carl_Crawford;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "C"^^xsd:string;
+ prov:pairEntity dbpedia:Jarrod_Saltalamacchia;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "SS"^^xsd:string;
+ prov:pairEntity dbpedia:Marco_Scutaro;
+ ], [
+ a prov:KeyEntityPair;
+ prov:pairKey "SP"^^xsd:string;
+ prov:pairEntity dbpedia:Jon_Lester;
+ ] .
+
#2011 roster without players that left the team after the 2011 season or changed uniform number
ex:2011_roster_after_removals
a prov:Entity, prov:Dictionary;
@@ -3267,6 +3312,248 @@
</section>
<section id="example-prov-xml">
<h4>PROV-XML</h4>
+ <p>The following is an excerpt of the complete provenance, not listing all the player entities to avoid overloading this document. The complete provenance is available for download as a <a href="example/example.xml">separate file</a>.</p>
+
+ <pre>
+<?xml version="1.0" encoding="UTF-8"?>
+<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:dbpedia="http://dbpedia.org/resource/"
+ xmlns:ex="http://example.com/"
+ xsi:schemaLocation="http://www.w3.org/ns/prov#
+http://www.w3.org/TR/2013/WD-prov-xml-20130312/schema/prov.xsd ">
+ <!-- All Player Entities -->
+ ... <!-- See complete provenance file -->
+ <!-- 2011 Roster -->
+ <prov:dictionary prov:id="ex:2011_roster" />
+ <prov:hadDictionaryMember>
+ ... <!-- See complete provenance file -->
+ </prov:hadDictionaryMember>
+
+ <!-- 2011 Opening Day lineup -->
+ <prov:dictionary prov:id="ex:2011_opening_day_lineup" />
+ <prov:hadDictionaryMember>
+ <prov:keyEntityPair>
+ <prov:key>CF</prov:key>
+ <prov:entity prov:ref="dbpedia:Jacoby_Ellsbury"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>2B</prov:key>
+ <prov:entity prov:ref="dbpedia:Dustin_Pedroia"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>1B</prov:key>
+ <prov:entity prov:ref="dbpedia:Adrian_Gonzalez"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>DH</prov:key>
+ <prov:entity prov:ref="dbpedia:David_Ortiz"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>3B</prov:key>
+ <prov:entity prov:ref="dbpedia:Kevin_Youkilis"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>RF</prov:key>
+ <prov:entity prov:ref="dbpedia:Mike_Cameron"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>LF</prov:key>
+ <prov:entity prov:ref="dbpedia:Carl_Crawford"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>C</prov:key>
+ <prov:entity prov:ref="dbpedia:Jarrod_Saltalamacchia"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>SS</prov:key>
+ <prov:entity prov:ref="dbpedia:Marco_Scutaro"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>SP</prov:key>
+ <prov:entity prov:ref="dbpedia:Jon_Lester"/>
+ </prov:keyEntityPair>
+ </prov:hadDictionaryMember>
+
+ <!-- 2011 roster without players that left the team after the 2011 season or changed uniform number -->
+ <prov:dictionary prov:id="ex:2011_roster_after_removals" />
+ <prov:derivedByRemovalFrom>
+ <prov:newDictionary prov:ref="ex:2011_roster_after_removals"/>
+ <prov:oldDictionary prov:ref="ex:2011_roster"/>
+ <prov:key>10</prov:key>
+ <prov:key>12</prov:key>
+ <prov:key>16</prov:key>
+ <prov:key>23</prov:key>
+ <prov:key>23</prov:key>
+ <prov:key>33</prov:key>
+ <prov:key>35</prov:key>
+ <prov:key>36</prov:key>
+ <prov:key>37</prov:key>
+ <prov:key>41</prov:key>
+ <prov:key>43</prov:key>
+ <prov:key>44</prov:key>
+ <prov:key>49</prov:key>
+ <prov:key>52</prov:key>
+ <prov:key>55</prov:key>
+ <prov:key>56</prov:key>
+ <prov:key>58</prov:key>
+ <prov:key>59</prov:key>
+ <prov:key>60</prov:key>
+ <prov:key>68</prov:key>
+ <prov:key>7</prov:key>
+ <prov:key>70</prov:key>
+ <prov:key>76</prov:key>
+ </prov:derivedByRemovalFrom>
+
+ <!-- 2012 Roster -->
+ <prov:dictionary prov:id="ex:2012_roster" />
+ <prov:derivedByInsertionFrom>
+ <prov:newDictionary prov:ref="ex:2012_roster"/>
+ <prov:oldDictionary prov:ref="ex:2011_roster_after_removals"/>
+ <prov:keyEntityPair>
+ <prov:key>10</prov:key>
+ <prov:entity prov:ref="dbpedia:Kelly_Shoppach"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>12</prov:key>
+ <prov:entity prov:ref="dbpedia:Ryan_Sweeney"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>16</prov:key>
+ <prov:entity prov:ref="dbpedia:Jason_Repko"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>22</prov:key>
+ <prov:entity prov:ref="http://dbpedia.org/resource/James_Loney_(baseball)"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>23</prov:key>
+ <prov:entity prov:ref="dbpedia:Brent_Lillibridge"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>23</prov:key>
+ <prov:entity prov:ref="dbpedia:Danny_Valencia"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>23</prov:key>
+ <prov:entity prov:ref="dbpedia:Marlon_Byrd"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>26</prov:key>
+ <prov:entity prov:ref="dbpedia:Scott_Podsednik"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>32</prov:key>
+ <prov:entity prov:ref="dbpedia:Craig_Breslow"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>35</prov:key>
+ <prov:entity prov:ref="http://dbpedia.org/resource/Aaron_Cook_(baseball)"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>37</prov:key>
+ <prov:entity prov:ref="dbpedia:Mark_Melancon"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>40</prov:key>
+ <prov:entity prov:ref="http://dbpedia.org/resource/Andrew_Bailey_(baseball)"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>44</prov:key>
+ <prov:entity prov:ref="dbpedia:Vicente_Padilla"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>47</prov:key>
+ <prov:entity prov:ref="dbpedia:Justin_Germano"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>47</prov:key>
+ <prov:entity prov:ref="dbpedia:Zach_Stewart"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>5</prov:key>
+ <prov:entity prov:ref="dbpedia:Nick_Punto"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>50</prov:key>
+ <prov:entity prov:ref="dbpedia:Mauro_Gomez"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>52</prov:key>
+ <prov:entity prov:ref="dbpedia:Chris_Carpenter"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>54</prov:key>
+ <prov:entity prov:ref="dbpedia:Pedro_Beato"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>56</prov:key>
+ <prov:entity prov:ref="http://dbpedia.org/resource/Ivan_DeJesus,_Jr."/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>58</prov:key>
+ <prov:entity prov:ref="http://dbpedia.org/resource/Jose_Iglesias_(baseball)"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>59</prov:key>
+ <prov:entity prov:ref="dbpedia:Clayton_Mortensen"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>62</prov:key>
+ <prov:entity prov:ref="dbpedia:Guillermo_Quiroz"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>64</prov:key>
+ <prov:entity prov:ref="dbpedia:Will_Middlebrooks"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>66</prov:key>
+ <prov:entity prov:ref="dbpedia:Daniel_Nava"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>7</prov:key>
+ <prov:entity prov:ref="dbpedia:Cody_Ross"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>70</prov:key>
+ <prov:entity prov:ref="dbpedia:Ryan_Kalish"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>77</prov:key>
+ <prov:entity prov:ref="dbpedia:Pedro_Ciriaco"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>78</prov:key>
+ <prov:entity prov:ref="dbpedia:Justin_Thomas"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>85</prov:key>
+ <prov:entity prov:ref="dbpedia:Che-Hsuan_Lin"/>
+ </prov:keyEntityPair>
+ </prov:derivedByInsertionFrom>
+
+ <!-- 2012 Opening Day lineup (update of 2011 dictionary) -->
+ <prov:dictionary prov:id="ex:2012_roster" />
+ <prov:derivedByInsertionFrom>
+ <prov:newDictionary prov:ref="ex:2012_opening_day_lineup"/>
+ <prov:oldDictionary prov:ref="ex:2011_opening_day_lineup"/>
+ <prov:keyEntityPair>
+ <prov:key>RF</prov:key>
+ <prov:entity prov:ref="dbpedia:Ryan_Sweeney"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>RF</prov:key>
+ <prov:entity prov:ref="dbpedia:Cody_Ross"/>
+ </prov:keyEntityPair>
+ <prov:keyEntityPair>
+ <prov:key>RF</prov:key>
+ <prov:entity prov:ref="dbpedia:Mike_Aviles"/>
+ </prov:keyEntityPair>
+ </prov:derivedByInsertionFrom>
+</prov:document>
+ </pre>
</section>
</section>
</section>
--- a/dictionary/example/example.ttl Mon Apr 15 15:23:17 2013 +0200
+++ b/dictionary/example/example.ttl Mon Apr 15 16:13:26 2013 +0200
@@ -1,7 +1,7 @@
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix dbpedia: <http://dbpedia.org/resource/> .
-@prefix ex: <http://example.com/> .
+@prefix ex: <http://example.com/> .
#All Player Entities
dbpedia:Marco_Scutaro