don quixote tweak - provo example
authorTim L <lebot@rpi.edu>
Mon, 14 May 2012 21:43:51 -0400
changeset 2816 951544210da0
parent 2815 4514e7f6caf5
child 2817 bfa0612fea9b
don quixote tweak - provo example
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadOriginalSource.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadOriginalSource.ttl	Mon May 14 21:13:09 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadOriginalSource.ttl	Mon May 14 21:43:51 2012 -0400
@@ -1,19 +1,35 @@
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
 ## Having an original source is a particular case of derivation.
 
-:myPost 
+:myQuote
    a prov:Entity;
-   prov:hadOriginalSource :donQuixote;
+   prov:value """In a village of La Mancha, the name of which I have no desire 
+               to call to mind, there lived not long since one of those gentlemen 
+               that keep a lance in the lance-rack, an old buckler, a lean hack, 
+               and a greyhound for coursing.""";
+   prov:hadOriginalSource <http://dbpedia.org/resource/Don_Quixote>;
+   prov:wasDerivedFrom    <http://dbpedia.org/resource/Don_Quixote>; # This is inferred.
    prov:qualifiedSource [
       a prov:Source;
-      prov:entity :donQuixote;
-      # other attributes of the relationship
+      prov:entity <http://dbpedia.org/resource/Don_Quixote>;
+      :volume  1;
+      :chapter 1;
    ];
 .
         
-:donQuixote a prov:Entity.
+<http://dbpedia.org/resource/Don_Quixote> 
+   a prov:Entity;
+   prov:wasAttributedTo :cervantes;
+   foaf:homepage <http://en.wikipedia.org/wiki/Don_Quixote>;
+.
+
+:cervantes
+   a prov:Person;
+   foaf:name "Miguel de Cervantes";
+.