added property_value
authorStephan Zednik <zednis@rpi.edu>
Wed, 25 Apr 2012 16:47:40 -0600
changeset 2546 11d48502e468
parent 2545 7661221ab9d7
child 2547 a64704cc42a7
added property_value
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inserted.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inserted.ttl	Wed Apr 25 16:37:03 2012 -0600
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inserted.ttl	Wed Apr 25 16:47:40 2012 -0600
@@ -4,4 +4,19 @@
 @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 .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl	Wed Apr 25 16:37:03 2012 -0600
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl	Wed Apr 25 16:47:40 2012 -0600
@@ -4,7 +4,12 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix ex:     <http://example.com/> .
 
-ex:illustrationActivity 
-   a prov:Activity; 
-   prov:used              ex:aggregatedByRegions
-.
+# See qualified Usage for example on how the role of :datasetA can be described for this Activity
+:sortActivity
+      a prov:Activity;
+      prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime;
+      prov:used	      :datasetA;
+      prov:generated  :datasetB.
+
+:datasetA a prov:Entity.
+:datasetB a prov:Entity.
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl	Wed Apr 25 16:37:03 2012 -0600
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl	Wed Apr 25 16:47:40 2012 -0600
@@ -4,4 +4,13 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# prov:value is used to reference the entity in a prov:KeyValuePair.
+# The object of a prov:value statement is inferred to be of type prov:Entity .
+# The subject of a prov:value statement is inferred to be of type 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