examples/eg-10-trust-agent-annotation/rdf/eg-10-trust-agent-annotation-via-notes.ttl
author Paul Groth <p.t.groth@vu.nl>
Fri, 07 Jun 2013 20:21:19 +0200
changeset 6412 600c6fd1fdb4
parent 1742 71e8013dd71a
permissions -rw-r--r--
minor updates to address dong's comments
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix sd:      <http://www.w3.org/ns/sparql-service-description#> .
@prefix dcat:    <http://www.w3.org/ns/dcat#> .
@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-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" .
}