pho 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/CHANGES +12 -1
  2. data/Rakefile +2 -2
  3. data/doc/index.html +15 -1
  4. data/doc/rdoc/classes/Pho.html +14 -0
  5. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  6. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  7. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  8. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  9. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +90 -90
  10. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  11. data/doc/rdoc/classes/Pho/Job.html +64 -64
  12. data/doc/rdoc/classes/Pho/Jobs.html +61 -61
  13. data/doc/rdoc/classes/Pho/Namespaces.html +6 -1
  14. data/doc/rdoc/classes/Pho/QueryProfile.html +61 -61
  15. data/doc/rdoc/classes/Pho/RDFCollection.html +71 -71
  16. data/doc/rdoc/classes/Pho/RDF_JSON.html +118 -0
  17. data/doc/rdoc/classes/Pho/RDF_JSON/SetAlgebra.html +240 -0
  18. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  19. data/doc/rdoc/classes/Pho/Status.html +26 -26
  20. data/doc/rdoc/classes/Pho/Store.html +342 -264
  21. data/doc/rdoc/classes/Pho/Update.html +127 -0
  22. data/doc/rdoc/classes/Pho/Update/Changeset.html +520 -0
  23. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +330 -0
  24. data/doc/rdoc/classes/Pho/Update/Changesets.html +204 -0
  25. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +248 -0
  26. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +213 -0
  27. data/doc/rdoc/classes/Pho/Update/Statement.html +302 -0
  28. data/doc/rdoc/classes/String.html +146 -0
  29. data/doc/rdoc/created.rid +1 -1
  30. data/doc/rdoc/files/CHANGES.html +33 -2
  31. data/doc/rdoc/files/lib/pho/changeset_builder_rb.html +108 -0
  32. data/doc/rdoc/files/lib/pho/changeset_rb.html +108 -0
  33. data/doc/rdoc/files/lib/pho/job_rb.html +1 -1
  34. data/doc/rdoc/files/lib/pho/query_profile_rb.html +1 -1
  35. data/doc/rdoc/files/lib/pho/rdf_json_rb.html +101 -0
  36. data/doc/rdoc/files/lib/pho/store_rb.html +1 -1
  37. data/doc/rdoc/files/lib/pho_rb.html +4 -1
  38. data/doc/rdoc/fr_class_index.html +10 -0
  39. data/doc/rdoc/fr_file_index.html +3 -0
  40. data/doc/rdoc/fr_method_index.html +140 -110
  41. data/lib/pho.rb +14 -1
  42. data/lib/pho/changeset.rb +312 -0
  43. data/lib/pho/changeset_builder.rb +118 -0
  44. data/lib/pho/job.rb +1 -1
  45. data/lib/pho/query_profile.rb +1 -1
  46. data/lib/pho/rdf_json.rb +81 -0
  47. data/lib/pho/store.rb +63 -25
  48. data/tests/tc_changeset.rb +273 -0
  49. data/tests/tc_changeset_builder.rb +151 -0
  50. data/tests/tc_changesets.rb +96 -0
  51. data/tests/tc_metabox.rb +20 -2
  52. data/tests/tc_query_profile.rb +4 -2
  53. data/tests/tc_rdf_json.rb +273 -0
  54. data/tests/tc_search.rb +5 -5
  55. data/tests/tc_sparql.rb +12 -0
  56. data/tests/ts_pho.rb +5 -1
  57. metadata +25 -3
@@ -131,10 +131,15 @@
131
131
  <td>=</td>
132
132
  <td class="context-item-value">&quot;http://purl.org/dc/terms/&quot;</td>
133
133
  </tr>
134
+ <tr class="top-aligned-row context-row">
135
+ <td class="context-item-name">CHANGESET</td>
136
+ <td>=</td>
137
+ <td class="context-item-value">&quot;http://purl.org/vocab/changeset/schema#&quot;</td>
138
+ </tr>
134
139
  <tr class="top-aligned-row context-row">
135
140
  <td class="context-item-name">MAPPING</td>
136
141
  <td>=</td>
137
- <td class="context-item-value">{ &quot;bf&quot; =&gt; CONFIG, &quot;frm&quot; =&gt; FRAME, &quot;rdf&quot; =&gt; RDF, &quot;rdfs&quot; =&gt; RDFS, &quot;dc&quot; =&gt; DC, &quot;dcterms&quot; =&gt; DC_TERMS</td>
142
+ <td class="context-item-value">{ &quot;bf&quot; =&gt; CONFIG, &quot;frm&quot; =&gt; FRAME, &quot;rdf&quot; =&gt; RDF, &quot;rdfs&quot; =&gt; RDFS, &quot;dc&quot; =&gt; DC, &quot;dcterms&quot; =&gt; DC_TERMS, &quot;cs&quot; =&gt; CHANGESET</td>
138
143
  </tr>
139
144
  </table>
140
145
  </div>
@@ -98,16 +98,16 @@ href="Store.html">Store</a> methods.
98
98
  <h3 class="section-bar">Methods</h3>
99
99
 
100
100
  <div class="name-list">
101
- <a href="#M000027">&lt;&lt;</a>&nbsp;&nbsp;
102
- <a href="#M000025">create_weighting</a>&nbsp;&nbsp;
103
- <a href="#M000028">get_by_name</a>&nbsp;&nbsp;
104
- <a href="#M000031">mapped_name?</a>&nbsp;&nbsp;
105
- <a href="#M000026">new</a>&nbsp;&nbsp;
106
- <a href="#M000024">read_from_store</a>&nbsp;&nbsp;
107
- <a href="#M000030">remove</a>&nbsp;&nbsp;
108
- <a href="#M000029">remove_by_name</a>&nbsp;&nbsp;
109
- <a href="#M000032">to_rdf</a>&nbsp;&nbsp;
110
- <a href="#M000033">upload</a>&nbsp;&nbsp;
101
+ <a href="#M000056">&lt;&lt;</a>&nbsp;&nbsp;
102
+ <a href="#M000054">create_weighting</a>&nbsp;&nbsp;
103
+ <a href="#M000057">get_by_name</a>&nbsp;&nbsp;
104
+ <a href="#M000060">mapped_name?</a>&nbsp;&nbsp;
105
+ <a href="#M000055">new</a>&nbsp;&nbsp;
106
+ <a href="#M000053">read_from_store</a>&nbsp;&nbsp;
107
+ <a href="#M000059">remove</a>&nbsp;&nbsp;
108
+ <a href="#M000058">remove_by_name</a>&nbsp;&nbsp;
109
+ <a href="#M000061">to_rdf</a>&nbsp;&nbsp;
110
+ <a href="#M000062">upload</a>&nbsp;&nbsp;
111
111
  </div>
112
112
  </div>
113
113
 
@@ -161,11 +161,11 @@ URI for this resource
161
161
  <div id="methods">
162
162
  <h3 class="section-bar">Public Class methods</h3>
163
163
 
164
- <div id="method-M000025" class="method-detail">
165
- <a name="M000025"></a>
164
+ <div id="method-M000054" class="method-detail">
165
+ <a name="M000054"></a>
166
166
 
167
167
  <div class="method-heading">
168
- <a href="#M000025" class="method-signature">
168
+ <a href="#M000054" class="method-signature">
169
169
  <span class="method-name">create_weighting</span><span class="method-args">(store, name, weight)</span>
170
170
  </a>
171
171
  </div>
@@ -188,8 +188,8 @@ according to the Platform naming rules
188
188
  </td></tr>
189
189
  </table>
190
190
  <p><a class="source-toggle" href="#"
191
- onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
192
- <div class="method-source-code" id="M000025-source">
191
+ onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
192
+ <div class="method-source-code" id="M000054-source">
193
193
  <pre>
194
194
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 84</span>
195
195
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">QueryProfile</span>.<span class="ruby-identifier">create_weighting</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">weight</span>)
@@ -206,19 +206,19 @@ according to the Platform naming rules
206
206
  </div>
207
207
  </div>
208
208
 
209
- <div id="method-M000026" class="method-detail">
210
- <a name="M000026"></a>
209
+ <div id="method-M000055" class="method-detail">
210
+ <a name="M000055"></a>
211
211
 
212
212
  <div class="method-heading">
213
- <a href="#M000026" class="method-signature">
213
+ <a href="#M000055" class="method-signature">
214
214
  <span class="method-name">new</span><span class="method-args">(uri, label, field_weights=Array.new)</span>
215
215
  </a>
216
216
  </div>
217
217
 
218
218
  <div class="method-description">
219
219
  <p><a class="source-toggle" href="#"
220
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
221
- <div class="method-source-code" id="M000026-source">
220
+ onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
221
+ <div class="method-source-code" id="M000055-source">
222
222
  <pre>
223
223
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 94</span>
224
224
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">label</span>, <span class="ruby-identifier">field_weights</span>=<span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>)
@@ -231,19 +231,19 @@ according to the Platform naming rules
231
231
  </div>
232
232
  </div>
233
233
 
234
- <div id="method-M000024" class="method-detail">
235
- <a name="M000024"></a>
234
+ <div id="method-M000053" class="method-detail">
235
+ <a name="M000053"></a>
236
236
 
237
237
  <div class="method-heading">
238
- <a href="#M000024" class="method-signature">
238
+ <a href="#M000053" class="method-signature">
239
239
  <span class="method-name">read_from_store</span><span class="method-args">(store)</span>
240
240
  </a>
241
241
  </div>
242
242
 
243
243
  <div class="method-description">
244
244
  <p><a class="source-toggle" href="#"
245
- onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
246
- <div class="method-source-code" id="M000024-source">
245
+ onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
246
+ <div class="method-source-code" id="M000053-source">
247
247
  <pre>
248
248
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 53</span>
249
249
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">QueryProfile</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
@@ -277,19 +277,19 @@ according to the Platform naming rules
277
277
 
278
278
  <h3 class="section-bar">Public Instance methods</h3>
279
279
 
280
- <div id="method-M000027" class="method-detail">
281
- <a name="M000027"></a>
280
+ <div id="method-M000056" class="method-detail">
281
+ <a name="M000056"></a>
282
282
 
283
283
  <div class="method-heading">
284
- <a href="#M000027" class="method-signature">
284
+ <a href="#M000056" class="method-signature">
285
285
  <span class="method-name">&lt;&lt;</span><span class="method-args">(weight)</span>
286
286
  </a>
287
287
  </div>
288
288
 
289
289
  <div class="method-description">
290
290
  <p><a class="source-toggle" href="#"
291
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
292
- <div class="method-source-code" id="M000027-source">
291
+ onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
292
+ <div class="method-source-code" id="M000056-source">
293
293
  <pre>
294
294
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 100</span>
295
295
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">weight</span>)
@@ -300,11 +300,11 @@ according to the Platform naming rules
300
300
  </div>
301
301
  </div>
302
302
 
303
- <div id="method-M000028" class="method-detail">
304
- <a name="M000028"></a>
303
+ <div id="method-M000057" class="method-detail">
304
+ <a name="M000057"></a>
305
305
 
306
306
  <div class="method-heading">
307
- <a href="#M000028" class="method-signature">
307
+ <a href="#M000057" class="method-signature">
308
308
  <span class="method-name">get_by_name</span><span class="method-args">(name)</span>
309
309
  </a>
310
310
  </div>
@@ -314,8 +314,8 @@ according to the Platform naming rules
314
314
  Retrieve a FieldWeighing by name
315
315
  </p>
316
316
  <p><a class="source-toggle" href="#"
317
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
318
- <div class="method-source-code" id="M000028-source">
317
+ onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
318
+ <div class="method-source-code" id="M000057-source">
319
319
  <pre>
320
320
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 105</span>
321
321
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
@@ -326,11 +326,11 @@ Retrieve a FieldWeighing by name
326
326
  </div>
327
327
  </div>
328
328
 
329
- <div id="method-M000031" class="method-detail">
330
- <a name="M000031"></a>
329
+ <div id="method-M000060" class="method-detail">
330
+ <a name="M000060"></a>
331
331
 
332
332
  <div class="method-heading">
333
- <a href="#M000031" class="method-signature">
333
+ <a href="#M000060" class="method-signature">
334
334
  <span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
335
335
  </a>
336
336
  </div>
@@ -340,8 +340,8 @@ Retrieve a FieldWeighing by name
340
340
  Is there a field weighting for a property with this name?
341
341
  </p>
342
342
  <p><a class="source-toggle" href="#"
343
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
344
- <div class="method-source-code" id="M000031-source">
343
+ onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
344
+ <div class="method-source-code" id="M000060-source">
345
345
  <pre>
346
346
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 123</span>
347
347
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
@@ -352,11 +352,11 @@ Is there a field weighting for a property with this name?
352
352
  </div>
353
353
  </div>
354
354
 
355
- <div id="method-M000030" class="method-detail">
356
- <a name="M000030"></a>
355
+ <div id="method-M000059" class="method-detail">
356
+ <a name="M000059"></a>
357
357
 
358
358
  <div class="method-heading">
359
- <a href="#M000030" class="method-signature">
359
+ <a href="#M000059" class="method-signature">
360
360
  <span class="method-name">remove</span><span class="method-args">(fw)</span>
361
361
  </a>
362
362
  </div>
@@ -367,8 +367,8 @@ Remove a <a href="FieldWeighting.html">FieldWeighting</a> from the
367
367
  collection
368
368
  </p>
369
369
  <p><a class="source-toggle" href="#"
370
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
371
- <div class="method-source-code" id="M000030-source">
370
+ onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
371
+ <div class="method-source-code" id="M000059-source">
372
372
  <pre>
373
373
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 118</span>
374
374
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">fw</span>)
@@ -379,11 +379,11 @@ collection
379
379
  </div>
380
380
  </div>
381
381
 
382
- <div id="method-M000029" class="method-detail">
383
- <a name="M000029"></a>
382
+ <div id="method-M000058" class="method-detail">
383
+ <a name="M000058"></a>
384
384
 
385
385
  <div class="method-heading">
386
- <a href="#M000029" class="method-signature">
386
+ <a href="#M000058" class="method-signature">
387
387
  <span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
388
388
  </a>
389
389
  </div>
@@ -393,8 +393,8 @@ collection
393
393
  Remove a <a href="FieldWeighting.html">FieldWeighting</a> by name
394
394
  </p>
395
395
  <p><a class="source-toggle" href="#"
396
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
397
- <div class="method-source-code" id="M000029-source">
396
+ onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
397
+ <div class="method-source-code" id="M000058-source">
398
398
  <pre>
399
399
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 110</span>
400
400
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
@@ -408,11 +408,11 @@ Remove a <a href="FieldWeighting.html">FieldWeighting</a> by name
408
408
  </div>
409
409
  </div>
410
410
 
411
- <div id="method-M000032" class="method-detail">
412
- <a name="M000032"></a>
411
+ <div id="method-M000061" class="method-detail">
412
+ <a name="M000061"></a>
413
413
 
414
414
  <div class="method-heading">
415
- <a href="#M000032" class="method-signature">
415
+ <a href="#M000061" class="method-signature">
416
416
  <span class="method-name">to_rdf</span><span class="method-args">()</span>
417
417
  </a>
418
418
  </div>
@@ -423,8 +423,8 @@ Dump this object to an RDF/XML representation suitable for submitting to
423
423
  the Platform
424
424
  </p>
425
425
  <p><a class="source-toggle" href="#"
426
- onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
427
- <div class="method-source-code" id="M000032-source">
426
+ onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
427
+ <div class="method-source-code" id="M000061-source">
428
428
  <pre>
429
429
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 128</span>
430
430
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
@@ -439,7 +439,7 @@ the Platform
439
439
  <span class="ruby-identifier">rdf</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot; &lt;rdfs:label&gt;#{@label}&lt;/rdfs:label&gt; &quot;</span>
440
440
 
441
441
  <span class="ruby-ivar">@field_weights</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">property</span><span class="ruby-operator">|</span>
442
- <span class="ruby-identifier">rdf</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot; &lt;frm:fieldWeight rdf:resource=\&quot;#{property.uri}\&quot;/&gt; &quot;</span>
442
+ <span class="ruby-identifier">rdf</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot; &lt;bf:fieldWeight rdf:resource=\&quot;#{property.uri}\&quot;/&gt; &quot;</span>
443
443
  <span class="ruby-keyword kw">end</span>
444
444
 
445
445
  <span class="ruby-identifier">rdf</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot; &lt;/rdf:Description&gt;&quot;</span>
@@ -455,11 +455,11 @@ the Platform
455
455
  </div>
456
456
  </div>
457
457
 
458
- <div id="method-M000033" class="method-detail">
459
- <a name="M000033"></a>
458
+ <div id="method-M000062" class="method-detail">
459
+ <a name="M000062"></a>
460
460
 
461
461
  <div class="method-heading">
462
- <a href="#M000033" class="method-signature">
462
+ <a href="#M000062" class="method-signature">
463
463
  <span class="method-name">upload</span><span class="method-args">(store)</span>
464
464
  </a>
465
465
  </div>
@@ -470,8 +470,8 @@ Upload an RDF/XML presentation of this object to the provided Platform <a
470
470
  href="Store.html">Store</a>
471
471
  </p>
472
472
  <p><a class="source-toggle" href="#"
473
- onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
474
- <div class="method-source-code" id="M000033-source">
473
+ onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
474
+ <div class="method-source-code" id="M000062-source">
475
475
  <pre>
476
476
  <span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 153</span>
477
477
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">store</span>)
@@ -82,7 +82,7 @@
82
82
  <p>
83
83
  Provides a simple mechanism for managing a directory of RDF/XML documents
84
84
  and uploading them to platform <a
85
- href="RDFCollection.html#M000095">store</a>.
85
+ href="RDFCollection.html#M000125">store</a>.
86
86
  </p>
87
87
  <p>
88
88
  Allows a collection to be mirrored into the platform
@@ -97,17 +97,17 @@ Allows a collection to be mirrored into the platform
97
97
  <h3 class="section-bar">Methods</h3>
98
98
 
99
99
  <div class="name-list">
100
- <a href="#M000099">failures</a>&nbsp;&nbsp;
101
- <a href="#M000103">get_fail_file_for</a>&nbsp;&nbsp;
102
- <a href="#M000104">get_ok_file_for</a>&nbsp;&nbsp;
103
- <a href="#M000098">list</a>&nbsp;&nbsp;
104
- <a href="#M000094">new</a>&nbsp;&nbsp;
105
- <a href="#M000101">new_files</a>&nbsp;&nbsp;
106
- <a href="#M000097">reset</a>&nbsp;&nbsp;
107
- <a href="#M000096">retry_failures</a>&nbsp;&nbsp;
108
- <a href="#M000095">store</a>&nbsp;&nbsp;
109
- <a href="#M000100">successes</a>&nbsp;&nbsp;
110
- <a href="#M000102">summary</a>&nbsp;&nbsp;
100
+ <a href="#M000129">failures</a>&nbsp;&nbsp;
101
+ <a href="#M000133">get_fail_file_for</a>&nbsp;&nbsp;
102
+ <a href="#M000134">get_ok_file_for</a>&nbsp;&nbsp;
103
+ <a href="#M000128">list</a>&nbsp;&nbsp;
104
+ <a href="#M000124">new</a>&nbsp;&nbsp;
105
+ <a href="#M000131">new_files</a>&nbsp;&nbsp;
106
+ <a href="#M000127">reset</a>&nbsp;&nbsp;
107
+ <a href="#M000126">retry_failures</a>&nbsp;&nbsp;
108
+ <a href="#M000125">store</a>&nbsp;&nbsp;
109
+ <a href="#M000130">successes</a>&nbsp;&nbsp;
110
+ <a href="#M000132">summary</a>&nbsp;&nbsp;
111
111
  </div>
112
112
  </div>
113
113
 
@@ -152,19 +152,19 @@ Allows a collection to be mirrored into the platform
152
152
  <div id="methods">
153
153
  <h3 class="section-bar">Public Class methods</h3>
154
154
 
155
- <div id="method-M000094" class="method-detail">
156
- <a name="M000094"></a>
155
+ <div id="method-M000124" class="method-detail">
156
+ <a name="M000124"></a>
157
157
 
158
158
  <div class="method-heading">
159
- <a href="#M000094" class="method-signature">
159
+ <a href="#M000124" class="method-signature">
160
160
  <span class="method-name">new</span><span class="method-args">(store, dir, rdf_suffix=RDF, ok_suffix=OK, fail_suffix=FAIL, sleep=1)</span>
161
161
  </a>
162
162
  </div>
163
163
 
164
164
  <div class="method-description">
165
165
  <p><a class="source-toggle" href="#"
166
- onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
167
- <div class="method-source-code" id="M000094-source">
166
+ onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
167
+ <div class="method-source-code" id="M000124-source">
168
168
  <pre>
169
169
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 16</span>
170
170
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">dir</span>, <span class="ruby-identifier">rdf_suffix</span>=<span class="ruby-constant">RDF</span>, <span class="ruby-identifier">ok_suffix</span>=<span class="ruby-constant">OK</span>, <span class="ruby-identifier">fail_suffix</span>=<span class="ruby-constant">FAIL</span>, <span class="ruby-identifier">sleep</span>=<span class="ruby-value">1</span>)
@@ -182,22 +182,22 @@ Allows a collection to be mirrored into the platform
182
182
 
183
183
  <h3 class="section-bar">Public Instance methods</h3>
184
184
 
185
- <div id="method-M000099" class="method-detail">
186
- <a name="M000099"></a>
185
+ <div id="method-M000129" class="method-detail">
186
+ <a name="M000129"></a>
187
187
 
188
188
  <div class="method-heading">
189
- <a href="#M000099" class="method-signature">
189
+ <a href="#M000129" class="method-signature">
190
190
  <span class="method-name">failures</span><span class="method-args">()</span>
191
191
  </a>
192
192
  </div>
193
193
 
194
194
  <div class="method-description">
195
195
  <p>
196
- List <a href="RDFCollection.html#M000099">failures</a>
196
+ List <a href="RDFCollection.html#M000129">failures</a>
197
197
  </p>
198
198
  <p><a class="source-toggle" href="#"
199
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
200
- <div class="method-source-code" id="M000099-source">
199
+ onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
200
+ <div class="method-source-code" id="M000129-source">
201
201
  <pre>
202
202
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 62</span>
203
203
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">failures</span>()
@@ -212,19 +212,19 @@ List <a href="RDFCollection.html#M000099">failures</a>
212
212
  </div>
213
213
  </div>
214
214
 
215
- <div id="method-M000103" class="method-detail">
216
- <a name="M000103"></a>
215
+ <div id="method-M000133" class="method-detail">
216
+ <a name="M000133"></a>
217
217
 
218
218
  <div class="method-heading">
219
- <a href="#M000103" class="method-signature">
219
+ <a href="#M000133" class="method-signature">
220
220
  <span class="method-name">get_fail_file_for</span><span class="method-args">(filename)</span>
221
221
  </a>
222
222
  </div>
223
223
 
224
224
  <div class="method-description">
225
225
  <p><a class="source-toggle" href="#"
226
- onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
227
- <div class="method-source-code" id="M000103-source">
226
+ onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
227
+ <div class="method-source-code" id="M000133-source">
228
228
  <pre>
229
229
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 103</span>
230
230
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_fail_file_for</span>(<span class="ruby-identifier">filename</span>)
@@ -235,19 +235,19 @@ List <a href="RDFCollection.html#M000099">failures</a>
235
235
  </div>
236
236
  </div>
237
237
 
238
- <div id="method-M000104" class="method-detail">
239
- <a name="M000104"></a>
238
+ <div id="method-M000134" class="method-detail">
239
+ <a name="M000134"></a>
240
240
 
241
241
  <div class="method-heading">
242
- <a href="#M000104" class="method-signature">
242
+ <a href="#M000134" class="method-signature">
243
243
  <span class="method-name">get_ok_file_for</span><span class="method-args">(filename)</span>
244
244
  </a>
245
245
  </div>
246
246
 
247
247
  <div class="method-description">
248
248
  <p><a class="source-toggle" href="#"
249
- onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
250
- <div class="method-source-code" id="M000104-source">
249
+ onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
250
+ <div class="method-source-code" id="M000134-source">
251
251
  <pre>
252
252
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 107</span>
253
253
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_ok_file_for</span>(<span class="ruby-identifier">filename</span>)
@@ -258,11 +258,11 @@ List <a href="RDFCollection.html#M000099">failures</a>
258
258
  </div>
259
259
  </div>
260
260
 
261
- <div id="method-M000098" class="method-detail">
262
- <a name="M000098"></a>
261
+ <div id="method-M000128" class="method-detail">
262
+ <a name="M000128"></a>
263
263
 
264
264
  <div class="method-heading">
265
- <a href="#M000098" class="method-signature">
265
+ <a href="#M000128" class="method-signature">
266
266
  <span class="method-name">list</span><span class="method-args">()</span>
267
267
  </a>
268
268
  </div>
@@ -272,8 +272,8 @@ List <a href="RDFCollection.html#M000099">failures</a>
272
272
  List files being managed
273
273
  </p>
274
274
  <p><a class="source-toggle" href="#"
275
- onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
276
- <div class="method-source-code" id="M000098-source">
275
+ onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
276
+ <div class="method-source-code" id="M000128-source">
277
277
  <pre>
278
278
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 57</span>
279
279
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list</span>()
@@ -284,23 +284,23 @@ List files being managed
284
284
  </div>
285
285
  </div>
286
286
 
287
- <div id="method-M000101" class="method-detail">
288
- <a name="M000101"></a>
287
+ <div id="method-M000131" class="method-detail">
288
+ <a name="M000131"></a>
289
289
 
290
290
  <div class="method-heading">
291
- <a href="#M000101" class="method-signature">
291
+ <a href="#M000131" class="method-signature">
292
292
  <span class="method-name">new_files</span><span class="method-args">()</span>
293
293
  </a>
294
294
  </div>
295
295
 
296
296
  <div class="method-description">
297
297
  <p>
298
- List any <a href="RDFCollection.html#M000094">new</a> files in the
298
+ List any <a href="RDFCollection.html#M000124">new</a> files in the
299
299
  directory
300
300
  </p>
301
301
  <p><a class="source-toggle" href="#"
302
- onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
303
- <div class="method-source-code" id="M000101-source">
302
+ onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
303
+ <div class="method-source-code" id="M000131-source">
304
304
  <pre>
305
305
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 80</span>
306
306
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_files</span>()
@@ -319,11 +319,11 @@ directory
319
319
  </div>
320
320
  </div>
321
321
 
322
- <div id="method-M000097" class="method-detail">
323
- <a name="M000097"></a>
322
+ <div id="method-M000127" class="method-detail">
323
+ <a name="M000127"></a>
324
324
 
325
325
  <div class="method-heading">
326
- <a href="#M000097" class="method-signature">
326
+ <a href="#M000127" class="method-signature">
327
327
  <span class="method-name">reset</span><span class="method-args">(reset_store=false)</span>
328
328
  </a>
329
329
  </div>
@@ -332,12 +332,12 @@ directory
332
332
  <p>
333
333
  Reset the directory to clear out any previous statuses <a
334
334
  href="Store.html">Store</a> can also be <a
335
- href="RDFCollection.html#M000097">reset</a> at the same time: use with
335
+ href="RDFCollection.html#M000127">reset</a> at the same time: use with
336
336
  care!
337
337
  </p>
338
338
  <p><a class="source-toggle" href="#"
339
- onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
340
- <div class="method-source-code" id="M000097-source">
339
+ onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
340
+ <div class="method-source-code" id="M000127-source">
341
341
  <pre>
342
342
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 47</span>
343
343
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>(<span class="ruby-identifier">reset_store</span>=<span class="ruby-keyword kw">false</span>)
@@ -353,11 +353,11 @@ care!
353
353
  </div>
354
354
  </div>
355
355
 
356
- <div id="method-M000096" class="method-detail">
357
- <a name="M000096"></a>
356
+ <div id="method-M000126" class="method-detail">
357
+ <a name="M000126"></a>
358
358
 
359
359
  <div class="method-heading">
360
- <a href="#M000096" class="method-signature">
360
+ <a href="#M000126" class="method-signature">
361
361
  <span class="method-name">retry_failures</span><span class="method-args">()</span>
362
362
  </a>
363
363
  </div>
@@ -367,8 +367,8 @@ care!
367
367
  Retry anything known to have failed
368
368
  </p>
369
369
  <p><a class="source-toggle" href="#"
370
- onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
371
- <div class="method-source-code" id="M000096-source">
370
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
371
+ <div class="method-source-code" id="M000126-source">
372
372
  <pre>
373
373
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 35</span>
374
374
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retry_failures</span>()
@@ -385,11 +385,11 @@ Retry anything known to have failed
385
385
  </div>
386
386
  </div>
387
387
 
388
- <div id="method-M000095" class="method-detail">
389
- <a name="M000095"></a>
388
+ <div id="method-M000125" class="method-detail">
389
+ <a name="M000125"></a>
390
390
 
391
391
  <div class="method-heading">
392
- <a href="#M000095" class="method-signature">
392
+ <a href="#M000125" class="method-signature">
393
393
  <span class="method-name">store</span><span class="method-args">()</span>
394
394
  </a>
395
395
  </div>
@@ -400,8 +400,8 @@ Retry anything known to have failed
400
400
  directory
401
401
  </p>
402
402
  <p><a class="source-toggle" href="#"
403
- onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
404
- <div class="method-source-code" id="M000095-source">
403
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
404
+ <div class="method-source-code" id="M000125-source">
405
405
  <pre>
406
406
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 26</span>
407
407
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>()
@@ -416,22 +416,22 @@ directory
416
416
  </div>
417
417
  </div>
418
418
 
419
- <div id="method-M000100" class="method-detail">
420
- <a name="M000100"></a>
419
+ <div id="method-M000130" class="method-detail">
420
+ <a name="M000130"></a>
421
421
 
422
422
  <div class="method-heading">
423
- <a href="#M000100" class="method-signature">
423
+ <a href="#M000130" class="method-signature">
424
424
  <span class="method-name">successes</span><span class="method-args">()</span>
425
425
  </a>
426
426
  </div>
427
427
 
428
428
  <div class="method-description">
429
429
  <p>
430
- List <a href="RDFCollection.html#M000100">successes</a>
430
+ List <a href="RDFCollection.html#M000130">successes</a>
431
431
  </p>
432
432
  <p><a class="source-toggle" href="#"
433
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
434
- <div class="method-source-code" id="M000100-source">
433
+ onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
434
+ <div class="method-source-code" id="M000130-source">
435
435
  <pre>
436
436
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 71</span>
437
437
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">successes</span>()
@@ -446,11 +446,11 @@ List <a href="RDFCollection.html#M000100">successes</a>
446
446
  </div>
447
447
  </div>
448
448
 
449
- <div id="method-M000102" class="method-detail">
450
- <a name="M000102"></a>
449
+ <div id="method-M000132" class="method-detail">
450
+ <a name="M000132"></a>
451
451
 
452
452
  <div class="method-heading">
453
- <a href="#M000102" class="method-signature">
453
+ <a href="#M000132" class="method-signature">
454
454
  <span class="method-name">summary</span><span class="method-args">()</span>
455
455
  </a>
456
456
  </div>
@@ -461,8 +461,8 @@ Summarize the state of the collection to the provied IO object Creates a
461
461
  simple report
462
462
  </p>
463
463
  <p><a class="source-toggle" href="#"
464
- onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
465
- <div class="method-source-code" id="M000102-source">
464
+ onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
465
+ <div class="method-source-code" id="M000132-source">
466
466
  <pre>
467
467
  <span class="ruby-comment cmt"># File lib/pho/rdf_collection.rb, line 94</span>
468
468
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">summary</span>()