ontology/components/EntityInRole/car-purchase.ttl
author Paul Groth <p.t.groth@vu.nl>
Fri, 07 Jun 2013 20:21:19 +0200
changeset 6412 600c6fd1fdb4
parent 717 2b05e8b488c1
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 frbrcore: <http://purl.org/vocab/frbr/core#> .
     5 @prefix muo:      <http://purl.oclc.org/NET/muo/muo#> .
     6 @prefix dcterms:  <http://purl.org/dc/terms/> .
     7 @prefix prov:     <http://www.w3.org/ns/prov-o/> .
     8 @prefix vehicle:  <http://localhost/example/ontology/vehicle#> .
     9 @prefix commerce: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/commerce/commerce.ttl#> .
    10 @prefix :         <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/components/EntityInRole/car-purchase.ttl#> .
    11 
    12 :e_2
    13    a prov:Entity;
    14    prov:viewOf :e_1;
    15    vehicle:make   <http://dbpedia.org/resource/Toyota>;
    16    vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
    17    frbrcore:owner <http://data.semanticweb.org/person/tom-heath>;
    18    rdfs:comment "The Corolla as owned by Tom.";
    19    vehicle:vin "XYZ123";
    20 .
    21 :e_3
    22    a commerce:ReceivedGoods;
    23    a prov:Entity; # Since :ReceivedGoods subClassOf Entity.
    24    prov:viewOf :e_1;
    25    vehicle:make   <http://dbpedia.org/resource/Toyota>;
    26    vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
    27    vehicle:vin "XYZ123";
    28    rdfs:comment "The Corolla as owned by Luc.";
    29    frbrcore:owner <http://data.semanticweb.org/person/luc-moreau>;
    30 .
    31 
    32 # wasDerivedFrom(e3,e2)  (since e3 was bought by luc from tom)
    33 :e_3 prov:wasDerivedFrom  :e_2 .
    34 :e_3 prov:wasComplementOf :e_2 .
    35 
    36 :e_1
    37    a prov:Entity;
    38    vehicle:make   <http://dbpedia.org/resource/Toyota>;
    39    vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
    40    vehicle:vin "XYZ123";
    41 .
    42 
    43 :pe_4
    44    a commerce:Purchase;
    45    a prov:ProcessExecution; # Since :Purchase subClassOf ProcessExecution.
    46    dcterms:date "2011-09-20";
    47    prov:used [
    48       a commerce:Seller;
    49       prov:assumedBy <http://data.semanticweb.org/person/tom-heath>;
    50       a prov:EntityInRole, prov:Entity; # Since :Seller subClassOf EntityInRole.
    51    ];
    52    prov:used [
    53       a commerce:Buyer;
    54       prov:assumedBy <http://data.semanticweb.org/person/luc-moreau>;
    55       a prov:EntityInRole, prov:Entity; # Since :Buyer subClassOf EntityInRole.
    56    ];
    57    prov:used :e2;       # The car as owned by Tom becomes -----------.
    58    prov:used [                                                     # |
    59       a commerce:Payment, prov:Role, prov:Entity;                  # |
    60       rdf:value 25000;                                             # |
    61       muo:measuredIn <http://dbpedia.org/resource/Pound_sterling>; # |
    62    ];                                                              # |
    63    prov:generated :e_3; # The car as owned by Luc  <<----------------
    64    rdfs:seeAlso <http://www.w3.org/2011/prov/track/issues/89>,
    65                 <http://www.w3.org/2011/prov/track/issues/110>;
    66 .
    67 
    68 :e_2_not_e_3
    69    a owl:NegativePropertyAssertion;
    70    rdfs:comment "The car as owned by Tom is not the car as owned by Luc.";
    71    owl:sourceIndividual :e_2;
    72    owl:assertionProperty owl:sameAs;
    73    owl:targetIndividual :e_3;
    74 .