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 1741 891059dce659
permissions -rw-r--r--
minor updates to address dong's comments
     1 @prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
     2 @prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
     3 @prefix owl:     <http://www.w3.org/2002/07/owl#> .
     4 @prefix dcterms: <http://purl.org/dc/terms/> .
     5 @prefix sd:      <http://www.w3.org/ns/sparql-service-description#> .
     6 @prefix dcat:    <http://www.w3.org/ns/dcat#> .
     7 @prefix void:    <http://rdfs.org/ns/void#> .
     8 @prefix foaf:    <http://xmlns.com/foaf/0.1/> .
     9 @prefix prov:    <http://www.w3.org/ns/prov#> .
    10 @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#> .
    11 
    12 :bundle_1 prov:wasAttributedTo :asserter_1; a prov:Bundle .
    13 :bundle_1 {
    14    :simon a prov:Human .
    15    :robbery prov:wasAssociatedWith :simon .
    16 
    17    :john a prov:Human .
    18    :charityWork prov:wasAssociatedWith :john .
    19 }
    20 
    21 
    22 :bundle_2 prov:wasAttributedTo :asserter_2; a prov:Bundle .
    23 :bundle_2 {
    24    :simon a prov:Human.
    25    :workHard prov:wasAssociatedWith :simon .
    26 
    27    :john a prov:Human .
    28    :notWorkHard prov:wasAssociatedWith :john .
    29 }
    30 
    31 
    32 :bundle_1_noted prov:wasDerivedFrom  :bundle_1;
    33                 prov:wasAttributedTo :trust_evaluator_agent; a prov:Bundle .
    34 :bundle_1_noted {
    35    :simon 
    36       a prov:Human;
    37       prov:hasAnnotation [
    38          a prov:Note; :reputation "poor";
    39          rdfs:comment "This is a kludge way to get indirection. Use prov:Provenance instead.";
    40       ] . # This Note is now an unnecessary level of indirection, since we're in a new bundle/account/provenance. 
    41           # We can describe :simon directly and know that :trust_evaluator_agent said so.
    42    :robbery prov:wasAssociatedWith :simon .
    43 
    44    :john 
    45       a prov:Human;
    46       prov:hasAnnotation [
    47          a prov:Note; :reputation "excellent";
    48          rdfs:comment "This is a kludge way to get indirection. Use prov:Provenance instead.";
    49       ] .
    50    :charityWork prov:wasAssociatedWith :john .
    51 }
    52 
    53 
    54 :bundle_1_bundled prov:wasDerivedFrom  :bundle_1;
    55                   prov:wasAttributedTo :trust_evaluator_agent; a prov:Bundle .
    56 :bundle_1_bundled {
    57    :simon a prov:Human.                        # Copy/pasted from :bundle_1
    58    :workHard prov:wasAssociatedWith :simon .   #
    59                                                #
    60    :john a prov:Human                          #
    61    :NotWorkHard prov:wasAssociatedWith :john . # 
    62 
    63    :simon :reputation "poor" .
    64    :john  :reputation "excellent" .
    65 }