insertion
authorStian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Wed, 25 Apr 2012 15:37:45 +0100
changeset 2537 6cd3f16bad60
parent 2536 10f7a3e6ea41
child 2538 33cf7940d669
insertion
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Insertion.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_member.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInsertion.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Insertion.ttl	Wed Apr 25 15:30:24 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Insertion.ttl	Wed Apr 25 15:37:45 2012 +0100
@@ -4,4 +4,21 @@
 @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> ;
+      ];
+   ] .
+
+<http://dbpedia.org/resource/Jim_Thorpe> a prov:Entity .
+
+:our-old-baseball-team-field-positions a prov:Dictionary .
+
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_member.ttl	Wed Apr 25 15:30:24 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_member.ttl	Wed Apr 25 15:37:45 2012 +0100
@@ -4,4 +4,21 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+: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 . 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInsertion.ttl	Wed Apr 25 15:30:24 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInsertion.ttl	Wed Apr 25 15:37:45 2012 +0100
@@ -16,13 +16,10 @@
          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 [ 
@@ -36,9 +33,8 @@
          a prov:KeyValuePair;
          prov:key "pitcher"^^xsd:string;
          prov:value :carl;
-      ];
-   ];
-.
+      ]
+   ] .
 
 :george a prov:Entity .
 :carl   a prov:Entity .