ontology/components/wasQuotedFrom-hadQuoter/had-quoter-roles.ttl
author Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Fri, 20 Apr 2012 01:14:49 +0100
changeset 2415 47b52dc6a91e
permissions -rw-r--r--
Merge something
     1 @prefix ex:   <http://www.example.org/> .
     2 @prefix prov: <http://www.w3.org/ns/prov-o/> .
     3 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
     4 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
     5 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#"> .
     6 
     7 <> rdfs:comment """Variant of eg-25-had-quoter-was-attributed-to.ttl
     8 	using roles"""@en ;
     9     prov:wasDerivedFrom <had-quoter-was-attributed-to.ttl> .
    10 
    11 #entity(ex:blogpost)
    12 ex:blogpost a prov:Entity .
    13 
    14 #agent(ex:Luc)
    15 ex:Luc a prov:Agent .
    16 
    17 #agent(ex:Paul)
    18 ex:Paul a prov:Agent .
    19 
    20 #wasQuotedFrom(ex:paragraph, ex:blogpost,ex:Luc,ex:Paul)
    21 ex:paragraph a prov:Entity ;
    22     prov:wasQuotedFrom ex:blogpost ;
    23     prov:wasAttributedTo ex:Luc ;
    24     prov:qualifiedAttribution [ a prov:Attribution ;
    25 	# Assuming there can only be one quotation per entity?
    26         prov:agent ex:Luc ;
    27         prov:role ex:Quoter .
    28     ] .
    29 
    30 ex:blogpost prov:wasAttributedTo ex:Paul ;
    31     prov:qualifiedAttribution [ a prov:Attribution ;
    32 	# A bit odd - he was not Quoted when making ex:blogpost,
    33 	# but later
    34         prov:agent ex:Paul ;
    35         prov:role ex:Quoted .
    36     ] .
    37 
    38 
    39 # The blogpost contains a photo by someone else
    40 ex:somePhotographer a prov:Agent ;
    41     owl:differentFrom ex:Paul .
    42 
    43 ex:blogpost prov:wasAttributedTo ex:somePhotographer .
    44 # Fine - not as ex:Quoted role
    45 
    46 
    47 # Paolo made the paragraph appear in italics
    48 ex:Paolo a prov:Agent .
    49 ex:paragraph prov:wasAttributedTo ex:Paolo .
    50 # but not in ex:Quoter role
    51 
    52 
    53 # But what if someone quotes the picture?
    54 #https://twitter.com/#!/soilandreyes/status/193127219894296576
    55 ex:tweet a prov:Entity ;
    56     rdf:value "@pgroth at the Principles of Provenance workshop http://t.co/G7nX3EGb" ;
    57     prov:wasQuotedFrom ex:blogpost ;
    58     prov:wasAttributedTo ex:Stian ;
    59     prov:qualifiedAttribution [ a prov:Attribution ;
    60 	# Assuming there can only be one quotation per entity?
    61         prov:agent ex:Stian ;
    62         prov:role ex:Quoter .
    63     ] .
    64 
    65 # Uh oh... now we have a second ex:Quoted
    66 ex:blogpost prov:wasAttributedTo ex:Paul ;
    67     prov:qualifiedAttribution [ a prov:Attribution ;
    68         prov:agent ex:somePhotographer ;
    69         prov:role ex:Quoted .
    70     ] .
    71 
    72 # But we don't know if it is related to ex:tweet or ex:blogpost