resolving prefixes in car example.
authorTim L <lebot@rpi.edu>
Tue, 04 Oct 2011 08:34:45 -0400
changeset 461 727c47e06881
parent 460 d5d6b67002b4
child 462 7f0d26e48556
resolving prefixes in car example.
ontology/components/EntityInRole/car-purchase.ttl
--- a/ontology/components/EntityInRole/car-purchase.ttl	Tue Oct 04 08:31:34 2011 -0400
+++ b/ontology/components/EntityInRole/car-purchase.ttl	Tue Oct 04 08:34:45 2011 -0400
@@ -1,25 +1,28 @@
+@prefix rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix frbrcore: <http://purl.org/vocab/frbr/core#> .
 @prefix muo:      <http://purl.oclc.org/NET/muo/muo#> .
 @prefix dcterms:  <http://purl.org/dc/terms/> .
 @prefix prov:     <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
 @prefix vehicle:  <http://localhost/example/ontology/vehicle#> .
+@prefix commerce: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/examples/ontology-extensions/commerce/commerce.ttl#> .
 @prefix :         <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/components/EntityInRole/car-purchase.ttl#> .
 
 :e_2
    a prov:Entity;
-   vehicle:make  <http://dbpedia.org/resource/Toyota>;
-   vehicle:model <http://dbpedia.org/resource/Toyota_Corolla>;
-   frbr:owner    <http://data.semanticweb.org/person/tom-heath>;
+   vehicle:make   <http://dbpedia.org/resource/Toyota>;
+   vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
+   frbrcore:owner <http://data.semanticweb.org/person/tom-heath>;
    rdfs:comment "The Corolla as owned by Tom.";
    vehicle:vin "XYZ123";
 .
 :e_3
    a prov:Entity;
-   vehicle:make  <http://dbpedia.org/resource/Toyota>;
-   vehicle:model <http://dbpedia.org/resource/Toyota_Corolla>;
+   vehicle:make   <http://dbpedia.org/resource/Toyota>;
+   vehicle:model  <http://dbpedia.org/resource/Toyota_Corolla>;
    vehicle:vin "XYZ123";
    rdfs:comment "The Corolla as owned by Luc.";
-   frbr:owner    <http://data.semanticweb.org/person/luc-moreau>;
+   frbrcore:owner <http://data.semanticweb.org/person/luc-moreau>;
 .
 
 # wasDerivedFrom(e3,e2)  (since e3 was bought by luc from tom)