rescued example from email - eg 10
authorTim L <lebot@rpi.edu>
Sat, 03 Mar 2012 19:09:49 -0500
changeset 1741 891059dce659
parent 1740 36868953ddcf
child 1742 71e8013dd71a
rescued example from email - eg 10
examples/eg-10-trust-agent-annotation-via-notes/rdf/eg-10-trust-agent-annotation-via-notes.ttl
--- a/examples/eg-10-trust-agent-annotation-via-notes/rdf/eg-10-trust-agent-annotation-via-notes.ttl	Sat Mar 03 18:48:14 2012 -0500
+++ b/examples/eg-10-trust-agent-annotation-via-notes/rdf/eg-10-trust-agent-annotation-via-notes.ttl	Sat Mar 03 19:09:49 2012 -0500
@@ -7,4 +7,59 @@
 @prefix void:    <http://rdfs.org/ns/void#> .
 @prefix foaf:    <http://xmlns.com/foaf/0.1/> .
 @prefix prov:    <http://www.w3.org/ns/prov#> .
-@prefix :        <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-2-rdf-stub/rdf/eg-2-rdf-stub.ttl#> .
+@prefix :        <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-10-trust-agent-annotation-via-notes.ttl/rdf/eg-10-trust-agent-annotation-via-notes.ttl#> .
+
+:bundle_1 prov:wasAttributedTo :asserter_1; a prov:Bundle .
+:bundle_1 {
+   :simon a prov:Human .
+   :robbery prov:wasAssociatedWith :simon .
+
+   :john a prov:Human .
+   :charityWork prov:wasAssociatedWith :john .
+}
+
+
+:bundle_2 prov:wasAttributedTo :asserter_2; a prov:Bundle .
+:bundle_2 {
+   :simon a prov:Human.
+   :workHard prov:wasAssociatedWith :simon .
+
+   :john a prov:Human .
+   :notWorkHard prov:wasAssociatedWith :john .
+}
+
+
+:bundle_1_noted prov:wasDerivedFrom  :bundle_1;
+                prov:wasAttributedTo :trust_evaluator_agent; a prov:Bundle .
+:bundle_1_noted {
+   :simon 
+      a prov:Human;
+      prov:hasAnnotation [
+         a prov:Note; :reputation "poor";
+         rdfs:comment "This is a kludge way to get indirection. Use prov:Provenance instead.";
+      ] . # This Note is now an unnecessary level of indirection, since we're in a new bundle/account/provenance. 
+          # We can describe :simon directly and know that :trust_evaluator_agent said so.
+   :robbery prov:wasAssociatedWith :simon .
+
+   :john 
+      a prov:Human;
+      prov:hasAnnotation [
+         a prov:Note; :reputation "excellent";
+         rdfs:comment "This is a kludge way to get indirection. Use prov:Provenance instead.";
+      ] .
+   :charityWork prov:wasAssociatedWith :john .
+}
+
+
+:bundle_1_bundled prov:wasDerivedFrom  :bundle_1;
+                  prov:wasAttributedTo :trust_evaluator_agent; a prov:Bundle .
+:bundle_1_bundled {
+   :simon a prov:Human.                        # Copy/pasted from :bundle_1
+   :workHard prov:wasAssociatedWith :simon .   #
+                                               #
+   :john a prov:Human                          #
+   :NotWorkHard prov:wasAssociatedWith :john . # 
+
+   :simon :reputation "poor" .
+   :john  :reputation "excellent" .
+}