fixed syntax on provo egs
authorTim L <lebot@rpi.edu>
Fri, 01 Jun 2012 16:34:56 -0400
changeset 3153 69bd159d7ddb
parent 3152 78efedd89958
child 3154 749c9573ffe2
fixed syntax on provo egs
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Generation.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Source.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Trace.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadOriginalSource.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_tracedTo.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Generation.ttl	Fri Jun 01 16:25:52 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Generation.ttl	Fri Jun 01 16:34:56 2012 -0400
@@ -10,11 +10,11 @@
    rdfs:comment """The BBC news home page on 2012-04-03 contained a reference 
                    to a given news item, but the BBC news home page on the next day did not.""";
 
-   prov:wasGeneratedBy :publishingActivity.
+   prov:wasGeneratedBy :publishingActivity;
    prov:qualifiedGeneration [
       a prov:Generation, prov:InstantaneousEvent;
       prov:atTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
-	  prov:activity :publishingActivity.
+      prov:activity :publishingActivity;
    ];
    prov:qualifiedInvalidation [
       a prov:Invalidation, prov:InstantaneousEvent;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Source.ttl	Fri Jun 01 16:25:52 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Source.ttl	Fri Jun 01 16:34:56 2012 -0400
@@ -10,9 +10,9 @@
    prov:qualifiedSource [
       a prov:Source;
       prov:entity :donQuixote;
-      :confidenceValue "6"^^xsd:integer 
-      rdfs:comment """I am not sure if :myPost Don Quixote was the original source, 
-                      so I assert a confidence value of 6 out of 10.""";
+      :confidenceValue "6"^^xsd:integer;
+      rdfs:comment """Not sure if Don Quixote was the original source, 
+                      so asserting a confidence value of 6 out of 10.""";
    ];
 .
 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Trace.ttl	Fri Jun 01 16:25:52 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Trace.ttl	Fri Jun 01 16:34:56 2012 -0400
@@ -2,7 +2,7 @@
 @prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:     <http://www.w3.org/2002/07/owl#> .
 @prefix prov:    <http://www.w3.org/ns/prov#> .
-@prefix dcterms: <http://purl.org/dc/elements/1.1/>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
 @prefix :        <http://example.com/> .
 
 :newsArticle
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadOriginalSource.ttl	Fri Jun 01 16:25:52 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadOriginalSource.ttl	Fri Jun 01 16:34:56 2012 -0400
@@ -1,26 +1,30 @@
-@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 lang: <http://lexvo.org/id/iso639-3/> .
-@prefix frbr: <http://purl.org/vocab/frbr/core#> .
-@prefix :     <http://example.com/> .
+@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 lang:    <http://lexvo.org/id/iso639-3/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix frbr:    <http://purl.org/vocab/frbr/core#> .
+@prefix :        <http://example.com/> .
 
 ## Having an original source is a particular case of derivation.
 
-<http://www.gutenberg.org/ebooks/996> dcterms:title "Don Quixote" ;
-    rdf:type   prov:Entity, frbr:Work ;
-    prov:wasAttributedTo :ormsby ;
-    dcterms:language lang:eng ;
-    prov:hadOriginalSource <http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892> .
+<http://www.gutenberg.org/ebooks/996>
+   a prov:Entity, frbr:Work;
+   dcterms:title          "Don Quixote";
+   prov:wasAttributedTo   :ormsby;
+   dcterms:language       lang:eng;
+   prov:hadOriginalSource <http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892>;
+.
 
 #### The English version book is a translation that is based on the original Spanish book
 
-<http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892> ;
-    rdf:type    prov:Entity, frbr:Work ;
-    prov:wasAttributedTo :cervantes ;
-    dcterms:language lang:spa .
+<http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892>;
+    a prov:Entity, frbr:Work;
+    prov:wasAttributedTo :cervantes;
+    dcterms:language     lang:spa;
+.
 
 :cervantes
    a prov:Person;
@@ -30,4 +34,4 @@
 :ormsby
    a prov:Person;
    foaf:name "John Ormsby";
-. 
+.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_tracedTo.ttl	Fri Jun 01 16:25:52 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_tracedTo.ttl	Fri Jun 01 16:34:56 2012 -0400
@@ -2,7 +2,7 @@
 @prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:     <http://www.w3.org/2002/07/owl#> .
 @prefix prov:    <http://www.w3.org/ns/prov#> .
-@prefix dcterms: <http://purl.org/dc/elements/1.1/>.
+@prefix dcterms: <http://purl.org/dc/terms/> .
 @prefix :        <http://example.com/> .
 
 # An up-to-date web page listing the presidents of the United States