changed prov-o html narrative example syntax for consistency
authorTim L <lebot@rpi.edu>
Fri, 20 Apr 2012 16:24:00 -0400
changeset 2427 4d1aec045dbb
parent 2426 9e1a9cd44e8c
child 2428 dcb6ab46b01b
changed prov-o html narrative example syntax for consistency
examples/eg-26-provo-collections-narrative/rdf/insertion.ttl
examples/eg-26-provo-collections-narrative/rdf/membership.ttl
examples/eg-26-provo-collections-narrative/rdf/removal.ttl
--- a/examples/eg-26-provo-collections-narrative/rdf/insertion.ttl	Fri Apr 20 15:24:54 2012 -0400
+++ b/examples/eg-26-provo-collections-narrative/rdf/insertion.ttl	Fri Apr 20 16:24:00 2012 -0400
@@ -1,20 +1,25 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@prefix :    <http://example.org/> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix :     <http://example.org/> .
 
 :e1 a prov:Entity .
 :e2 a prov:Entity .
+
 :c  a prov:EmptyCollection .
-:c1 a prov:Collection ;
-    prov:derivedByInsertionFrom :c ;
-    prov:qualifiedInsertion [ a prov:Insertion ;
-        prov:collection :c ;
-        prov:inserted [ a prov:KeyValuePair ;
-            prov:key "k1"^^xsd:string ;
-            prov:value :e1 ;
-        ], [ a prov:KeyValuePair ;
-            prov:key "k2"^^xsd:string ;
-            prov:value :e2 ;
-          ]
-    ] .
 
+:c1 a prov:Collection;
+   prov:derivedByInsertionFrom :c;
+   prov:qualifiedInsertion [ 
+      a prov:Insertion;
+      prov:collection :c;
+      prov:inserted [ 
+         a prov:KeyValuePair;
+         prov:key   "k1"^^xsd:string;
+         prov:value :e1;
+      ], [ 
+         a prov:KeyValuePair;
+         prov:key   "k2"^^xsd:string;
+         prov:value :e2;
+      ];
+   ]; 
+. 
--- a/examples/eg-26-provo-collections-narrative/rdf/membership.ttl	Fri Apr 20 15:24:54 2012 -0400
+++ b/examples/eg-26-provo-collections-narrative/rdf/membership.ttl	Fri Apr 20 16:24:00 2012 -0400
@@ -9,13 +9,13 @@
    prov:membership [ 
       a prov:Membership;
       prov:member [ 
-           a prov:KeyValuePair;
-           prov:key   "k1"^^xsd:string;
-           prov:value :e1
-        ], [ 
-           a prov:KeyValuePair;
-           prov:key   "k2"^^xsd:string;
-           prov:value :e2
-        ];
-    ];
+         a prov:KeyValuePair;
+         prov:key   "k1"^^xsd:string;
+         prov:value :e1
+      ], [ 
+         a prov:KeyValuePair;
+         prov:key   "k2"^^xsd:string;
+         prov:value :e2
+      ];
+   ];
 .
--- a/examples/eg-26-provo-collections-narrative/rdf/removal.ttl	Fri Apr 20 15:24:54 2012 -0400
+++ b/examples/eg-26-provo-collections-narrative/rdf/removal.ttl	Fri Apr 20 16:24:00 2012 -0400
@@ -3,9 +3,13 @@
 @prefix :    <http://example.org/> .
 
 :c2 a prov:Collection .
-:c3 a prov:Collection ;
-   prov:derivedByRemovalFrom :c2 ;
-   prov:qualifiedRemoval [ a prov:Removal ;
-        prov:collection :c2 ;
-        prov:removed "k1"^^xsd:string, "k3"^^xsd:string
-     ] .
+
+:c3 a prov:Collection;
+   prov:derivedByRemovalFrom :c2;
+   prov:qualifiedRemoval [ 
+      a prov:Removal;
+      prov:collection :c2;
+      prov:removed    "k1"^^xsd:string, 
+                      "k3"^^xsd:string
+   ];
+.