(none)
authorkbelhajj
Thu, 26 Apr 2012 12:26:20 +0100
changeset 2553 5ad893de17f2
parent 2551 6577cc157c40
child 2554 91a3309820f8
(none)
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_AgentInvolvement.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_DictionaryInvolvement.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_entity.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_key.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedStart.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_AgentInvolvement.ttl	Thu Apr 26 09:42:07 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_AgentInvolvement.ttl	Thu Apr 26 12:26:20 2012 +0100
@@ -4,4 +4,16 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:illustrating
+    a prov:Activity; 
+    prov:wasAssociatedWith :derek ;
+    prov:qualifiedAssociation [
+		a prov:AgentInvolvement ;        
+        a prov:Association ;
+        prov:agent :derek ;
+        prov:role :illustrationist
+    ] .
+
+:derek a prov:Person, prov:Agent, prov:Entity .
+
+:illustratonist a prov:Role .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_DictionaryInvolvement.ttl	Thu Apr 26 09:42:07 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_DictionaryInvolvement.ttl	Thu Apr 26 12:26:20 2012 +0100
@@ -4,5 +4,15 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
+:c1 a prov:Dictionary .
 
-#TO DO
\ No newline at end of file
+:c2 a prov:Dictionary, prov:Entity .
+    prov:derivedByRemovalFrom :c1 ;
+    prov:qualifiedRemoval [
+        a prov:DictionaryInvolvement ;
+        a prov:Removal, prov:DictionaryInvolvement ;
+        prov:dictionary :c1 ;
+        prov:removedKey "k1"^^xsd:string  
+    ] .
+
+
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_entity.ttl	Thu Apr 26 09:42:07 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_entity.ttl	Thu Apr 26 12:26:20 2012 +0100
@@ -4,4 +4,13 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:myPost 
+	a prov:Entity;
+	prov:hadOriginalSource :donQuixote;
+	prov:qualifiedSource [
+		a prov:Source;
+		prov:entity :donQuixote;
+		#other attributes of the relationship
+	].
+	
+:donQuixote a prov:Entity.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_key.ttl	Thu Apr 26 09:42:07 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_key.ttl	Thu Apr 26 12:26:20 2012 +0100
@@ -4,4 +4,11 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# prov:key is used to reference the key in a prov:KeyValuePair.
+
+[]
+	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 .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedStart.ttl	Thu Apr 26 09:42:07 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedStart.ttl	Thu Apr 26 12:26:20 2012 +0100
@@ -4,4 +4,15 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# Start can be used to qualify wasStartedBy with time and location information
+:experiment
+	a prov:Activity ;
+	prov:wasStartedBy :researcher ;
+	prov:qualifiedStart [
+		a prov:Start;
+		prov:entity :researcher;
+		prov:atTime "2011-07-06T01:48:36Z"^^xsd:dateTime;
+		prov:atLocation :scienceLab003
+	].
+
+:researcher a prov:Agent.
\ No newline at end of file