tweaking W3C from dbpedia example.
authorTim L <lebot@rpi.edu>
Thu, 06 Oct 2011 15:18:44 -0400
changeset 570 4c878ffd3c51
parent 569 75616431832b
child 571 1997b291a350
tweaking W3C from dbpedia example.
ontology/components/NamedGraph/World_Wide_Web_Consortium.trig
--- a/ontology/components/NamedGraph/World_Wide_Web_Consortium.trig	Thu Oct 06 15:03:49 2011 -0400
+++ b/ontology/components/NamedGraph/World_Wide_Web_Consortium.trig	Thu Oct 06 15:18:44 2011 -0400
@@ -7,36 +7,48 @@
 @prefix owl: <http://www.w3.org/2002/07/owl#> .
 @prefix : <#> .
 
-:about_that_big_graph {
+:about_that_big_graph_below {
+
    :what_I_got_from_dbpedia
       a sd:NamedGraph;
       sd:name <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307>;
       prov:hadLocation <>;
+
       dcterms:subject <http://dbpedia.org/resource/World_Wide_Web_Consortium>; 
-      rdfs:comment "The named graph <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307> in this file is from DBpedia.";
+      rdfs:comment 
+         "The named graph <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307> in this file is about W3C.";
+
+      prov:wasGeneratedBy :the_process_that_created_that_big_graph;
+      rdfs:comment 
+         "The named graph <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307> in this file is from DBpedia.";
    .
-   :process_that_created_that_big_graph
+
+   :the_process_that_created_that_big_graph
       a prov:ProcessExecution;
-      rdfs:seeAlso :download, :reserialize; # How does PROV handle composition of processes?
+      rdfs:seeAlso :download, 
+                   :reserialize; # How does PROV handle composition of processes?
    .
    :download
       a prov:ProcessExecution;
-      dcterms:description "curl -H "Accept: application/rdf+xml" -L http://dbpedia.org/resource/World_Wide_Web_Consortium > World_Wide_Web_Consortium.rdf";
+      dcterms:description 
+        "curl -H 'Accept: application/rdf+xml' -L http://dbpedia.org/resource/World_Wide_Web_Consortium > World_Wide_Web_Consortium.rdf";
    .
    :reserialize
       a prov:ProcessExecution;
+      prov:followed :downlaod;
       dcterms:description "rapper -g -o turtle World_Wide_Web_Consortium.rdf";
-      prov:followed :downlaod;
    .
 }
 
 :about_that_big_graph_in_another_sparql_endpoint
-   :logd_copy
-      a sd:NamedGraph;
-      sd:name          <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307>;
+   :graph_copy_in_logd
+      a sd:NamedGraph;         # The endpoint's name does NOT need to match the name in this file.
+      sd:name          <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307>; 
       prov:hadLocation <http://logd.tw.rpi.edu/sparql>;
+
       dcterms:subject  <http://dbpedia.org/resource/World_Wide_Web_Consortium>; 
-      rdfs:comment "The named graph <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307> is ALSO available on a triple store (not just this file).";
+      rdfs:comment 
+         "The named graph <hash:GRAPH_SHA256-488328c605c2f9532819d4ff8258650d2e03087e00454d25f5a39659f01d0b8307> is ALSO available on a triple store (not only in this file).";
    .
 }