pho 0.7.8 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/CHANGES +8 -0
  2. data/Rakefile +4 -2
  3. data/doc/rdoc/classes/Pho.html +4 -0
  4. data/doc/rdoc/classes/Pho/CommandLine.html +114 -114
  5. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  6. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  7. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  8. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  9. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  10. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +102 -102
  11. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  12. data/doc/rdoc/classes/Pho/FileManagement.html +16 -0
  13. data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +168 -108
  14. data/doc/rdoc/classes/Pho/FileManagement/BNodeRewritingHandler.html +226 -0
  15. data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +48 -35
  16. data/doc/rdoc/classes/Pho/FileManagement/FileSplitter.html +291 -0
  17. data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +22 -22
  18. data/doc/rdoc/classes/Pho/FileManagement/StatementHandler.html +152 -0
  19. data/doc/rdoc/classes/Pho/FileManagement/Util.html +212 -0
  20. data/doc/rdoc/classes/Pho/Job.html +64 -64
  21. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  22. data/doc/rdoc/classes/Pho/OAI/Record.html +6 -6
  23. data/doc/rdoc/classes/Pho/OAI/Records.html +24 -24
  24. data/doc/rdoc/classes/Pho/OAI/Statistics.html +12 -12
  25. data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
  26. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  27. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  28. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  29. data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +74 -74
  30. data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -78
  31. data/doc/rdoc/classes/Pho/Status.html +26 -26
  32. data/doc/rdoc/classes/Pho/Store.html +215 -215
  33. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
  34. data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
  35. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
  36. data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +6 -6
  37. data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
  38. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
  39. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
  40. data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
  41. data/doc/rdoc/classes/String.html +1 -1
  42. data/doc/rdoc/created.rid +1 -1
  43. data/doc/rdoc/files/CHANGES.html +13 -1
  44. data/doc/rdoc/files/lib/pho/file_management_rb.html +1 -1
  45. data/doc/rdoc/files/lib/pho/file_manager_rb.html +1 -1
  46. data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +1 -1
  47. data/doc/rdoc/files/lib/pho/upload_rb.html +101 -0
  48. data/doc/rdoc/files/lib/pho_rb.html +4 -2
  49. data/doc/rdoc/fr_class_index.html +4 -0
  50. data/doc/rdoc/fr_file_index.html +1 -0
  51. data/doc/rdoc/fr_method_index.html +228 -218
  52. data/lib/pho.rb +4 -1
  53. data/lib/pho/file_management.rb +30 -1
  54. data/lib/pho/file_manager.rb +7 -0
  55. data/lib/pho/rdf_collection.rb +4 -4
  56. data/lib/pho/upload.rb +156 -0
  57. data/tests/tc_bnodehandler.rb +42 -0
  58. data/tests/tc_filesplitter.rb +51 -0
  59. data/tests/ts_pho.rb +3 -1
  60. metadata +56 -8
data/CHANGES CHANGED
@@ -1,5 +1,13 @@
1
1
  Brief notes on significant changes and additions in each release
2
2
 
3
+ == Version 0.7.9
4
+
5
+ * Pho::FileManagement::Util.prepare_platform_upload for preparing batch uploads
6
+ for use with RDFManager.
7
+
8
+ * Added initial support for converting and chunking files into smaller pieces
9
+ for uploading into the Talis Platform. See Pho::FileManagement::FileSplitter.
10
+
3
11
  == Version 0.7.8
4
12
 
5
13
  * Added --updates to allow for store/upload of only changed files
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/testtask'
5
5
  require 'rake/clean'
6
6
 
7
7
  NAME = "pho"
8
- VER = "0.7.8"
8
+ VER = "0.7.9"
9
9
 
10
10
  RDOC_OPTS = ['--quiet', '--title', 'Pho (Talis Platform Client) Reference', '--main', 'README']
11
11
 
@@ -29,7 +29,6 @@ SPEC =
29
29
  s.homepage = 'http://pho.rubyforge.net'
30
30
  s.rubyforge_project = 'pho'
31
31
  s.files = PKG_FILES
32
- s.require_path = "lib"
33
32
  s.bindir = "bin"
34
33
  s.executables = ["talis_store"]
35
34
  s.test_file = "tests/ts_pho.rb"
@@ -37,6 +36,9 @@ SPEC =
37
36
  s.add_dependency("json", ">= 1.1.3")
38
37
  s.add_dependency("mocha", ">= 0.9.5")
39
38
  s.add_dependency("mime-types", ">= 1.16")
39
+ s.add_dependency("rdf")
40
+ s.add_dependency("rdf-json")
41
+ s.add_dependency("rdf-raptor")
40
42
  end
41
43
 
42
44
  Rake::GemPackageTask.new(SPEC) do |pkg|
@@ -118,6 +118,10 @@
118
118
  <a href="../files/lib/pho/facet_rb.html">
119
119
  lib/pho/facet.rb
120
120
  </a>
121
+ <br />
122
+ <a href="../files/lib/pho/upload_rb.html">
123
+ lib/pho/upload.rb
124
+ </a>
121
125
  <br />
122
126
  <a href="../files/lib/pho/enrichment_rb.html">
123
127
  lib/pho/enrichment.rb
@@ -92,25 +92,25 @@ Class that implements the command-line behaviour
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000132">add_mapping</a>&nbsp;&nbsp;
96
- <a href="#M000133">add_weight</a>&nbsp;&nbsp;
97
- <a href="#M000120">backup</a>&nbsp;&nbsp;
98
- <a href="#M000125">describe</a>&nbsp;&nbsp;
99
- <a href="#M000130">fpmap</a>&nbsp;&nbsp;
100
- <a href="#M000115">new</a>&nbsp;&nbsp;
101
- <a href="#M000117">password</a>&nbsp;&nbsp;
102
- <a href="#M000131">queryprofile</a>&nbsp;&nbsp;
103
- <a href="#M000122">reindex</a>&nbsp;&nbsp;
104
- <a href="#M000123">reset</a>&nbsp;&nbsp;
105
- <a href="#M000124">restore</a>&nbsp;&nbsp;
106
- <a href="#M000121">snapshot</a>&nbsp;&nbsp;
107
- <a href="#M000126">sparql</a>&nbsp;&nbsp;
108
- <a href="#M000119">status</a>&nbsp;&nbsp;
109
- <a href="#M000127">store</a>&nbsp;&nbsp;
110
- <a href="#M000129">store_collection</a>&nbsp;&nbsp;
111
- <a href="#M000118">storename</a>&nbsp;&nbsp;
112
- <a href="#M000128">upload</a>&nbsp;&nbsp;
113
- <a href="#M000116">username</a>&nbsp;&nbsp;
95
+ <a href="#M000142">add_mapping</a>&nbsp;&nbsp;
96
+ <a href="#M000143">add_weight</a>&nbsp;&nbsp;
97
+ <a href="#M000130">backup</a>&nbsp;&nbsp;
98
+ <a href="#M000135">describe</a>&nbsp;&nbsp;
99
+ <a href="#M000140">fpmap</a>&nbsp;&nbsp;
100
+ <a href="#M000125">new</a>&nbsp;&nbsp;
101
+ <a href="#M000127">password</a>&nbsp;&nbsp;
102
+ <a href="#M000141">queryprofile</a>&nbsp;&nbsp;
103
+ <a href="#M000132">reindex</a>&nbsp;&nbsp;
104
+ <a href="#M000133">reset</a>&nbsp;&nbsp;
105
+ <a href="#M000134">restore</a>&nbsp;&nbsp;
106
+ <a href="#M000131">snapshot</a>&nbsp;&nbsp;
107
+ <a href="#M000136">sparql</a>&nbsp;&nbsp;
108
+ <a href="#M000129">status</a>&nbsp;&nbsp;
109
+ <a href="#M000137">store</a>&nbsp;&nbsp;
110
+ <a href="#M000139">store_collection</a>&nbsp;&nbsp;
111
+ <a href="#M000128">storename</a>&nbsp;&nbsp;
112
+ <a href="#M000138">upload</a>&nbsp;&nbsp;
113
+ <a href="#M000126">username</a>&nbsp;&nbsp;
114
114
  </div>
115
115
  </div>
116
116
 
@@ -132,19 +132,19 @@ Class that implements the command-line behaviour
132
132
  <div id="methods">
133
133
  <h3 class="section-bar">Public Class methods</h3>
134
134
 
135
- <div id="method-M000115" class="method-detail">
136
- <a name="M000115"></a>
135
+ <div id="method-M000125" class="method-detail">
136
+ <a name="M000125"></a>
137
137
 
138
138
  <div class="method-heading">
139
- <a href="#M000115" class="method-signature">
139
+ <a href="#M000125" class="method-signature">
140
140
  <span class="method-name">new</span><span class="method-args">(opts, env, store=nil)</span>
141
141
  </a>
142
142
  </div>
143
143
 
144
144
  <div class="method-description">
145
145
  <p><a class="source-toggle" href="#"
146
- onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
147
- <div class="method-source-code" id="M000115-source">
146
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
147
+ <div class="method-source-code" id="M000125-source">
148
148
  <pre>
149
149
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 6</span>
150
150
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">opts</span>, <span class="ruby-identifier">env</span>, <span class="ruby-identifier">store</span>=<span class="ruby-keyword kw">nil</span>)
@@ -172,19 +172,19 @@ Class that implements the command-line behaviour
172
172
 
173
173
  <h3 class="section-bar">Public Instance methods</h3>
174
174
 
175
- <div id="method-M000132" class="method-detail">
176
- <a name="M000132"></a>
175
+ <div id="method-M000142" class="method-detail">
176
+ <a name="M000142"></a>
177
177
 
178
178
  <div class="method-heading">
179
- <a href="#M000132" class="method-signature">
179
+ <a href="#M000142" class="method-signature">
180
180
  <span class="method-name">add_mapping</span><span class="method-args">(out=$stdout)</span>
181
181
  </a>
182
182
  </div>
183
183
 
184
184
  <div class="method-description">
185
185
  <p><a class="source-toggle" href="#"
186
- onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
187
- <div class="method-source-code" id="M000132-source">
186
+ onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
187
+ <div class="method-source-code" id="M000142-source">
188
188
  <pre>
189
189
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 270</span>
190
190
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_mapping</span>(<span class="ruby-identifier">out</span>=<span class="ruby-identifier">$stdout</span>)
@@ -208,19 +208,19 @@ Class that implements the command-line behaviour
208
208
  </div>
209
209
  </div>
210
210
 
211
- <div id="method-M000133" class="method-detail">
212
- <a name="M000133"></a>
211
+ <div id="method-M000143" class="method-detail">
212
+ <a name="M000143"></a>
213
213
 
214
214
  <div class="method-heading">
215
- <a href="#M000133" class="method-signature">
215
+ <a href="#M000143" class="method-signature">
216
216
  <span class="method-name">add_weight</span><span class="method-args">(out=$stdout)</span>
217
217
  </a>
218
218
  </div>
219
219
 
220
220
  <div class="method-description">
221
221
  <p><a class="source-toggle" href="#"
222
- onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
223
- <div class="method-source-code" id="M000133-source">
222
+ onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
223
+ <div class="method-source-code" id="M000143-source">
224
224
  <pre>
225
225
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 287</span>
226
226
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_weight</span>(<span class="ruby-identifier">out</span>=<span class="ruby-identifier">$stdout</span>)
@@ -244,19 +244,19 @@ Class that implements the command-line behaviour
244
244
  </div>
245
245
  </div>
246
246
 
247
- <div id="method-M000120" class="method-detail">
248
- <a name="M000120"></a>
247
+ <div id="method-M000130" class="method-detail">
248
+ <a name="M000130"></a>
249
249
 
250
250
  <div class="method-heading">
251
- <a href="#M000120" class="method-signature">
251
+ <a href="#M000130" class="method-signature">
252
252
  <span class="method-name">backup</span><span class="method-args">()</span>
253
253
  </a>
254
254
  </div>
255
255
 
256
256
  <div class="method-description">
257
257
  <p><a class="source-toggle" href="#"
258
- onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
259
- <div class="method-source-code" id="M000120-source">
258
+ onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
259
+ <div class="method-source-code" id="M000130-source">
260
260
  <pre>
261
261
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 52</span>
262
262
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">backup</span>()
@@ -278,19 +278,19 @@ Class that implements the command-line behaviour
278
278
  </div>
279
279
  </div>
280
280
 
281
- <div id="method-M000125" class="method-detail">
282
- <a name="M000125"></a>
281
+ <div id="method-M000135" class="method-detail">
282
+ <a name="M000135"></a>
283
283
 
284
284
  <div class="method-heading">
285
- <a href="#M000125" class="method-signature">
285
+ <a href="#M000135" class="method-signature">
286
286
  <span class="method-name">describe</span><span class="method-args">()</span>
287
287
  </a>
288
288
  </div>
289
289
 
290
290
  <div class="method-description">
291
291
  <p><a class="source-toggle" href="#"
292
- onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
293
- <div class="method-source-code" id="M000125-source">
292
+ onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
293
+ <div class="method-source-code" id="M000135-source">
294
294
  <pre>
295
295
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 115</span>
296
296
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe</span>()
@@ -307,19 +307,19 @@ Class that implements the command-line behaviour
307
307
  </div>
308
308
  </div>
309
309
 
310
- <div id="method-M000130" class="method-detail">
311
- <a name="M000130"></a>
310
+ <div id="method-M000140" class="method-detail">
311
+ <a name="M000140"></a>
312
312
 
313
313
  <div class="method-heading">
314
- <a href="#M000130" class="method-signature">
314
+ <a href="#M000140" class="method-signature">
315
315
  <span class="method-name">fpmap</span><span class="method-args">(out=$stdout)</span>
316
316
  </a>
317
317
  </div>
318
318
 
319
319
  <div class="method-description">
320
320
  <p><a class="source-toggle" href="#"
321
- onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
322
- <div class="method-source-code" id="M000130-source">
321
+ onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
322
+ <div class="method-source-code" id="M000140-source">
323
323
  <pre>
324
324
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 221</span>
325
325
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fpmap</span>(<span class="ruby-identifier">out</span>=<span class="ruby-identifier">$stdout</span>)
@@ -355,19 +355,19 @@ Class that implements the command-line behaviour
355
355
  </div>
356
356
  </div>
357
357
 
358
- <div id="method-M000117" class="method-detail">
359
- <a name="M000117"></a>
358
+ <div id="method-M000127" class="method-detail">
359
+ <a name="M000127"></a>
360
360
 
361
361
  <div class="method-heading">
362
- <a href="#M000117" class="method-signature">
362
+ <a href="#M000127" class="method-signature">
363
363
  <span class="method-name">password</span><span class="method-args">()</span>
364
364
  </a>
365
365
  </div>
366
366
 
367
367
  <div class="method-description">
368
368
  <p><a class="source-toggle" href="#"
369
- onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
370
- <div class="method-source-code" id="M000117-source">
369
+ onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
370
+ <div class="method-source-code" id="M000127-source">
371
371
  <pre>
372
372
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 31</span>
373
373
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">password</span>()
@@ -380,19 +380,19 @@ Class that implements the command-line behaviour
380
380
  </div>
381
381
  </div>
382
382
 
383
- <div id="method-M000131" class="method-detail">
384
- <a name="M000131"></a>
383
+ <div id="method-M000141" class="method-detail">
384
+ <a name="M000141"></a>
385
385
 
386
386
  <div class="method-heading">
387
- <a href="#M000131" class="method-signature">
387
+ <a href="#M000141" class="method-signature">
388
388
  <span class="method-name">queryprofile</span><span class="method-args">(out=$stdout)</span>
389
389
  </a>
390
390
  </div>
391
391
 
392
392
  <div class="method-description">
393
393
  <p><a class="source-toggle" href="#"
394
- onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
395
- <div class="method-source-code" id="M000131-source">
394
+ onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
395
+ <div class="method-source-code" id="M000141-source">
396
396
  <pre>
397
397
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 250</span>
398
398
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">queryprofile</span>(<span class="ruby-identifier">out</span>=<span class="ruby-identifier">$stdout</span>)
@@ -419,19 +419,19 @@ Class that implements the command-line behaviour
419
419
  </div>
420
420
  </div>
421
421
 
422
- <div id="method-M000122" class="method-detail">
423
- <a name="M000122"></a>
422
+ <div id="method-M000132" class="method-detail">
423
+ <a name="M000132"></a>
424
424
 
425
425
  <div class="method-heading">
426
- <a href="#M000122" class="method-signature">
426
+ <a href="#M000132" class="method-signature">
427
427
  <span class="method-name">reindex</span><span class="method-args">()</span>
428
428
  </a>
429
429
  </div>
430
430
 
431
431
  <div class="method-description">
432
432
  <p><a class="source-toggle" href="#"
433
- onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
434
- <div class="method-source-code" id="M000122-source">
433
+ onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
434
+ <div class="method-source-code" id="M000132-source">
435
435
  <pre>
436
436
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 77</span>
437
437
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reindex</span>()
@@ -450,19 +450,19 @@ Class that implements the command-line behaviour
450
450
  </div>
451
451
  </div>
452
452
 
453
- <div id="method-M000123" class="method-detail">
454
- <a name="M000123"></a>
453
+ <div id="method-M000133" class="method-detail">
454
+ <a name="M000133"></a>
455
455
 
456
456
  <div class="method-heading">
457
- <a href="#M000123" class="method-signature">
457
+ <a href="#M000133" class="method-signature">
458
458
  <span class="method-name">reset</span><span class="method-args">()</span>
459
459
  </a>
460
460
  </div>
461
461
 
462
462
  <div class="method-description">
463
463
  <p><a class="source-toggle" href="#"
464
- onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
465
- <div class="method-source-code" id="M000123-source">
464
+ onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
465
+ <div class="method-source-code" id="M000133-source">
466
466
  <pre>
467
467
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 89</span>
468
468
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>()
@@ -479,19 +479,19 @@ Class that implements the command-line behaviour
479
479
  </div>
480
480
  </div>
481
481
 
482
- <div id="method-M000124" class="method-detail">
483
- <a name="M000124"></a>
482
+ <div id="method-M000134" class="method-detail">
483
+ <a name="M000134"></a>
484
484
 
485
485
  <div class="method-heading">
486
- <a href="#M000124" class="method-signature">
486
+ <a href="#M000134" class="method-signature">
487
487
  <span class="method-name">restore</span><span class="method-args">()</span>
488
488
  </a>
489
489
  </div>
490
490
 
491
491
  <div class="method-description">
492
492
  <p><a class="source-toggle" href="#"
493
- onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
494
- <div class="method-source-code" id="M000124-source">
493
+ onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
494
+ <div class="method-source-code" id="M000134-source">
495
495
  <pre>
496
496
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 99</span>
497
497
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore</span>()
@@ -514,19 +514,19 @@ Class that implements the command-line behaviour
514
514
  </div>
515
515
  </div>
516
516
 
517
- <div id="method-M000121" class="method-detail">
518
- <a name="M000121"></a>
517
+ <div id="method-M000131" class="method-detail">
518
+ <a name="M000131"></a>
519
519
 
520
520
  <div class="method-heading">
521
- <a href="#M000121" class="method-signature">
521
+ <a href="#M000131" class="method-signature">
522
522
  <span class="method-name">snapshot</span><span class="method-args">()</span>
523
523
  </a>
524
524
  </div>
525
525
 
526
526
  <div class="method-description">
527
527
  <p><a class="source-toggle" href="#"
528
- onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
529
- <div class="method-source-code" id="M000121-source">
528
+ onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
529
+ <div class="method-source-code" id="M000131-source">
530
530
  <pre>
531
531
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 67</span>
532
532
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snapshot</span>()
@@ -543,19 +543,19 @@ Class that implements the command-line behaviour
543
543
  </div>
544
544
  </div>
545
545
 
546
- <div id="method-M000126" class="method-detail">
547
- <a name="M000126"></a>
546
+ <div id="method-M000136" class="method-detail">
547
+ <a name="M000136"></a>
548
548
 
549
549
  <div class="method-heading">
550
- <a href="#M000126" class="method-signature">
550
+ <a href="#M000136" class="method-signature">
551
551
  <span class="method-name">sparql</span><span class="method-args">()</span>
552
552
  </a>
553
553
  </div>
554
554
 
555
555
  <div class="method-description">
556
556
  <p><a class="source-toggle" href="#"
557
- onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
558
- <div class="method-source-code" id="M000126-source">
557
+ onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
558
+ <div class="method-source-code" id="M000136-source">
559
559
  <pre>
560
560
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 125</span>
561
561
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql</span>()
@@ -573,19 +573,19 @@ Class that implements the command-line behaviour
573
573
  </div>
574
574
  </div>
575
575
 
576
- <div id="method-M000119" class="method-detail">
577
- <a name="M000119"></a>
576
+ <div id="method-M000129" class="method-detail">
577
+ <a name="M000129"></a>
578
578
 
579
579
  <div class="method-heading">
580
- <a href="#M000119" class="method-signature">
580
+ <a href="#M000129" class="method-signature">
581
581
  <span class="method-name">status</span><span class="method-args">()</span>
582
582
  </a>
583
583
  </div>
584
584
 
585
585
  <div class="method-description">
586
586
  <p><a class="source-toggle" href="#"
587
- onclick="toggleCode('M000119-source');return false;">[Source]</a></p>
588
- <div class="method-source-code" id="M000119-source">
587
+ onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
588
+ <div class="method-source-code" id="M000129-source">
589
589
  <pre>
590
590
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 47</span>
591
591
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>()
@@ -597,19 +597,19 @@ Class that implements the command-line behaviour
597
597
  </div>
598
598
  </div>
599
599
 
600
- <div id="method-M000127" class="method-detail">
601
- <a name="M000127"></a>
600
+ <div id="method-M000137" class="method-detail">
601
+ <a name="M000137"></a>
602
602
 
603
603
  <div class="method-heading">
604
- <a href="#M000127" class="method-signature">
604
+ <a href="#M000137" class="method-signature">
605
605
  <span class="method-name">store</span><span class="method-args">()</span>
606
606
  </a>
607
607
  </div>
608
608
 
609
609
  <div class="method-description">
610
610
  <p><a class="source-toggle" href="#"
611
- onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
612
- <div class="method-source-code" id="M000127-source">
611
+ onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
612
+ <div class="method-source-code" id="M000137-source">
613
613
  <pre>
614
614
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 136</span>
615
615
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>()
@@ -652,19 +652,19 @@ Class that implements the command-line behaviour
652
652
  </div>
653
653
  </div>
654
654
 
655
- <div id="method-M000129" class="method-detail">
656
- <a name="M000129"></a>
655
+ <div id="method-M000139" class="method-detail">
656
+ <a name="M000139"></a>
657
657
 
658
658
  <div class="method-heading">
659
- <a href="#M000129" class="method-signature">
659
+ <a href="#M000139" class="method-signature">
660
660
  <span class="method-name">store_collection</span><span class="method-args">(collection)</span>
661
661
  </a>
662
662
  </div>
663
663
 
664
664
  <div class="method-description">
665
665
  <p><a class="source-toggle" href="#"
666
- onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
667
- <div class="method-source-code" id="M000129-source">
666
+ onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
667
+ <div class="method-source-code" id="M000139-source">
668
668
  <pre>
669
669
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 201</span>
670
670
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_collection</span>(<span class="ruby-identifier">collection</span>)
@@ -691,19 +691,19 @@ Class that implements the command-line behaviour
691
691
  </div>
692
692
  </div>
693
693
 
694
- <div id="method-M000118" class="method-detail">
695
- <a name="M000118"></a>
694
+ <div id="method-M000128" class="method-detail">
695
+ <a name="M000128"></a>
696
696
 
697
697
  <div class="method-heading">
698
- <a href="#M000118" class="method-signature">
698
+ <a href="#M000128" class="method-signature">
699
699
  <span class="method-name">storename</span><span class="method-args">()</span>
700
700
  </a>
701
701
  </div>
702
702
 
703
703
  <div class="method-description">
704
704
  <p><a class="source-toggle" href="#"
705
- onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
706
- <div class="method-source-code" id="M000118-source">
705
+ onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
706
+ <div class="method-source-code" id="M000128-source">
707
707
  <pre>
708
708
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 37</span>
709
709
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">storename</span>()
@@ -720,19 +720,19 @@ Class that implements the command-line behaviour
720
720
  </div>
721
721
  </div>
722
722
 
723
- <div id="method-M000128" class="method-detail">
724
- <a name="M000128"></a>
723
+ <div id="method-M000138" class="method-detail">
724
+ <a name="M000138"></a>
725
725
 
726
726
  <div class="method-heading">
727
- <a href="#M000128" class="method-signature">
727
+ <a href="#M000138" class="method-signature">
728
728
  <span class="method-name">upload</span><span class="method-args">()</span>
729
729
  </a>
730
730
  </div>
731
731
 
732
732
  <div class="method-description">
733
733
  <p><a class="source-toggle" href="#"
734
- onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
735
- <div class="method-source-code" id="M000128-source">
734
+ onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
735
+ <div class="method-source-code" id="M000138-source">
736
736
  <pre>
737
737
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 172</span>
738
738
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>()
@@ -768,19 +768,19 @@ Class that implements the command-line behaviour
768
768
  </div>
769
769
  </div>
770
770
 
771
- <div id="method-M000116" class="method-detail">
772
- <a name="M000116"></a>
771
+ <div id="method-M000126" class="method-detail">
772
+ <a name="M000126"></a>
773
773
 
774
774
  <div class="method-heading">
775
- <a href="#M000116" class="method-signature">
775
+ <a href="#M000126" class="method-signature">
776
776
  <span class="method-name">username</span><span class="method-args">()</span>
777
777
  </a>
778
778
  </div>
779
779
 
780
780
  <div class="method-description">
781
781
  <p><a class="source-toggle" href="#"
782
- onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
783
- <div class="method-source-code" id="M000116-source">
782
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
783
+ <div class="method-source-code" id="M000126-source">
784
784
  <pre>
785
785
  <span class="ruby-comment cmt"># File lib/pho/command_line.rb, line 25</span>
786
786
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">username</span>()