provo example
authorTim L <lebot@rpi.edu>
Mon, 23 Apr 2012 15:29:21 -0400
changeset 2474 137413b626ea
parent 2473 84179130127c
child 2475 b4088a31328b
provo example
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInsertion.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInsertion.ttl	Mon Apr 23 15:25:46 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInsertion.ttl	Mon Apr 23 15:29:21 2012 -0400
@@ -4,4 +4,41 @@
 @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-baseman"^^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 .