added class_Revision.ttl
authorStephan Zednik <zednis@rpi.edu>
Wed, 25 Apr 2012 17:17:49 -0600
changeset 2547 a64704cc42a7
parent 2546 11d48502e468
child 2549 7e354a3ad5f5
added class_Revision.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_collection.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_membership.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Wed Apr 25 16:47:40 2012 -0600
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Wed Apr 25 17:17:49 2012 -0600
@@ -4,4 +4,11 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:draft2 a prov:Entity ;
+	prov:wasRevisionOf :e1 ;
+	prov:qualifiedRevision [
+		a prov:Revision ;
+		prov:entity :draft1
+	] .
+
+:draft1 a prov:Entity .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_collection.ttl	Wed Apr 25 16:47:40 2012 -0600
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_collection.ttl	Wed Apr 25 17:17:49 2012 -0600
@@ -4,4 +4,20 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# prov:collection references the previous collection 
+# entity in a prov:qualifiedInsertion|prov:qualifiedRemoval
+:collection-version-6
+	a prov:Dictionary;
+	prov:derivedByInsertionFrom :collection-version-5 ;
+	   prov:qualifiedInsertion [ 
+	      a prov:Insertion;
+	      prov:collection :collection-version-5 ;
+		  prov:inserted [ 
+	         a prov:KeyValuePair;
+	         prov:key   "k6"^^xsd:string ;
+	         prov:value :e6 ;
+	      ];
+	   ] .
+
+:collection-version-5 a prov:Dictionary .
+:e6 a prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_membership.ttl	Wed Apr 25 16:47:40 2012 -0600
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_membership.ttl	Wed Apr 25 17:17:49 2012 -0600
@@ -4,4 +4,21 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:e1 a prov:Entity .
+:e2 a prov:Entity .
+
+:c1 a prov:Dictionary, prov:Entity;
+   prov:membership [ 
+      a prov:Membership;
+      # These are (some of the) members of c1
+      prov:member [ 
+         a prov:KeyValuePair;
+         prov:key   "k1"^^xsd:string;
+         prov:value :e1
+      ], [ 
+         a prov:KeyValuePair;
+         prov:key   "k2"^^xsd:string;
+         prov:value :e2
+      ];
+   ];
+.