added prov:wasApprovedBy
authorStian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Tue, 01 May 2012 10:46:33 +0100
changeset 2667 217804e49b96
parent 2666 009ef8c3be9d
child 2668 50cb5b8ac275
added prov:wasApprovedBy
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedRevision.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasApprovedBy.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Tue May 01 10:44:29 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Tue May 01 10:46:33 2012 +0100
@@ -8,7 +8,9 @@
 	prov:wasRevisionOf :e1 ;
 	prov:qualifiedRevision [
 		a prov:Revision ;
+                prov:wasApprovedBy :draftEditor ;
 		prov:entity :draft1
 	] .
 
-:draft1 a prov:Entity .
\ No newline at end of file
+:draft1 a prov:Entity .
+:draftEditor a prov:Person, prov:Agent, prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedRevision.ttl	Tue May 01 10:44:29 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedRevision.ttl	Tue May 01 10:46:33 2012 +0100
@@ -4,11 +4,13 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:e1 a prov:Entity .
+:draft2 a prov:Entity ;
+	prov:wasRevisionOf :e1 ;
+	prov:qualifiedRevision [
+		a prov:Revision ;
+                prov:wasApprovedBy :draftEditor ;
+		prov:entity :draft1
+	] .
 
-:e2 a prov:Entity;
-   prov:qualifiedRevision [
-      a prov:Revision ;
-      prov:entity :e1 ;
-   ];
-.
+:draft1 a prov:Entity .
+:draftEditor a prov:Person, prov:Agent, prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasApprovedBy.ttl	Tue May 01 10:44:29 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasApprovedBy.ttl	Tue May 01 10:46:33 2012 +0100
@@ -4,4 +4,13 @@
 @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:wasApprovedBy :draftEditor ;
+		prov:entity :draft1
+	] .
+
+:draft1 a prov:Entity .
+:draftEditor a prov:Person, prov:Agent, prov:Entity .