bundle example updated
authorSatya Sahoo <satya.sahoo@case.edu>
Mon, 24 Sep 2012 17:24:11 -0400
changeset 4477 fd73db6e4572
parent 4476 7c238aba1d07
child 4478 0bbd5b38ab1b
bundle example updated
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Bundle.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Bundle.ttl	Tue Sep 18 11:17:01 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Bundle.ttl	Mon Sep 24 17:24:11 2012 -0400
@@ -1,66 +1,14 @@
-@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 prov:    <http://www.w3.org/ns/prov#> .
-@prefix dcterms: <http://purl.org/dc/terms/> .
-@prefix alice:   <http://example.com/alice#> .
-@prefix bob:     <http://example.com/bob#> .
+@base:           <http://www.example.com/example.ttl> .
 @prefix my:      <http://example.com/my#> .
-@prefix :        <http://example.com/> .
-
-# Let us consider two entities :report1 and :report2.
-
-:report1
-   a my:Report, prov:Entity;
-   my:version "1";
-   prov:generatedAtTime "2012-05-24T10:00:01"^^xsd:dateTime;
-.
-
-:report2
-   a my:Report, prov:Entity;
-   my:version "2";
-   prov:generatedAtTime "2012-05-25T11:00:01"^^xsd:dateTime;
-   prov:wasDerivedFrom :report1;
-.
+@prefix prov:    <http://www.w3.org/ns/prov#> .
 
-# Let us assume that Bob observed the creation of :report1. 
-# A first bundle can be expressed.
- 
-bob:bundle1 {
-   :report1
-      a my:Report, prov:Entity;
-      my:version "1";
-      prov:generatedAtTime "2012-05-24T10:00:01"^^xsd:dateTime;
-   .
-}
+## A provenance file located a http://example.com/example.ttl
 
-# In contrast, Alice observed the creation of :report2 
-# and its derivation from :report1.
- 
-alice:bundle2 {
-   :report1 a prov:Entity .
-   :report2
-      a my:Report, prov:Entity;
-      my:version "2";
-      prov:generatedAtTime "2012-05-25T11:00:01"^^xsd:dateTime;
-      prov:wasDerivedFrom :report1;
-   .
-}
+< > a prov:Bundle;
+    prov:generatedAtTime "2012-05-24T10:30:00"^^xsd:dateTime;
+    prov:wasAttributedTo :Bob.
 
-# The first bundle contains the descriptions corresponding to Bob 
-# observing the creation of :report1.
- 
-bob:bundle1
-   a prov:Bundle;
-   prov:generatedAtTime "2012-05-24T10:30:00"^^xsd:dateTime;
-   prov:wasAttributedTo :Bob;
-.
-
-# In contrast, the second bundle is attributed to Alice who observed 
-# the derivation of :report2 from :report1.
- 
-alice:bundle2
-   a prov:Bundle;
-   prov:generatedAtTime "2012-05-25T11:15:00"^^xsd:dateTime;
-   prov:wasAttributedTo :Alice;
-.
+my:report1
+    a my:Report, prov:Entity;
+	my:version "1";
+	prov:generatedAtTime "2012-05-24T10:00:01"^^xsd:dateTime.
\ No newline at end of file