added viewOf
authorTim L <lebot@rpi.edu>
Thu, 01 Dec 2011 12:53:41 -0500
changeset 1141 760f83521d73
parent 1140 334f14a54217
child 1143 43732dc1e870
added viewOf
ontology/components/EntityInRole/car-purchase.ttl
--- a/ontology/components/EntityInRole/car-purchase.ttl	Thu Dec 01 17:49:17 2011 +0000
+++ b/ontology/components/EntityInRole/car-purchase.ttl	Thu Dec 01 12:53:41 2011 -0500
@@ -11,6 +11,7 @@
 
 :e_2
    a prov:Entity;
+   prov:viewOf :e_1;
    vehicle:make   <http://dbpedia.org/resource/Toyota>;
    vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
    frbrcore:owner <http://data.semanticweb.org/person/tom-heath>;
@@ -20,6 +21,7 @@
 :e_3
    a commerce:ReceivedGoods;
    a prov:Entity; # Since :ReceivedGoods subClassOf Entity.
+   prov:viewOf :e_1;
    vehicle:make   <http://dbpedia.org/resource/Toyota>;
    vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
    vehicle:vin "XYZ123";
@@ -28,7 +30,15 @@
 .
 
 # wasDerivedFrom(e3,e2)  (since e3 was bought by luc from tom)
-:e_3 prov:wasDerivedFrom :e_2 .
+:e_3 prov:wasDerivedFrom  :e_2 .
+:e_3 prov:wasComplementOf :e_2 .
+
+:e_1
+   a prov:Entity;
+   vehicle:make   <http://dbpedia.org/resource/Toyota>;
+   vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
+   vehicle:vin "XYZ123";
+.
 
 :pe_4
    a commerce:Purchase;