provo example
authorTim L <lebot@rpi.edu>
Mon, 23 Apr 2012 14:52:03 -0400
changeset 2465 a4ea51d4b836
parent 2464 455bdba843e7
child 2466 85e804665162
provo example
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_KeyValuePair.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_KeyValuePair.ttl	Mon Apr 23 14:29:37 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_KeyValuePair.ttl	Mon Apr 23 14:52:03 2012 -0400
@@ -4,4 +4,40 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:our-NEW-baseball-team-field-positions
+   a prov:Dictionary, :FieldPositions;
+   prov:derivedByInsertionFrom :our-old-baseball-team-field-positions;
+   prov:qualifiedInsertion [ 
+      a prov:Insertion;
+      prov:collection :our-old-baseball-team-field-positions;
+      prov:inserted [ 
+         a prov:KeyValuePair;
+         prov:key   "first-basename"^^xsd:string;
+         prov:value <http://dbpedia.org/resource/Jim_Thorpe>;
+      ];
+   ];
+   prov:hadActivity :hiring_jim_thorpe;
+.
+
+<http://dbpedia.org/resource/Jim_Thorpe> a prov:Entity .
+:hiring_jim_thorpe a prov:Activity .
+
+:our-old-baseball-team-field-positions
+   a prov:Dictionary, :FieldPositions;
+   prov:membership [ 
+      a prov:Membership;
+      prov:member [
+         a prov:KeyValuePair;
+         prov:key "first-baseman"^^xsd:string;
+         prov:value :george;
+      ];
+      prov:member [
+         a prov:KeyValuePair;
+         prov:key "pitcher"^^xsd:string;
+         prov:value :carl;
+      ];
+   ];
+.
+
+:george a prov:Entity .
+:carl   a prov:Entity .