pho 0.6 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. data/CHANGES +6 -0
  2. data/Rakefile +1 -1
  3. data/doc/rdoc/classes/Pho/CommandLine.html +67 -67
  4. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  5. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  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/FileManagement/AbstractFileManager.html +63 -63
  12. data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +24 -24
  13. data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +18 -18
  14. data/doc/rdoc/classes/Pho/Job.html +64 -64
  15. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  16. data/doc/rdoc/classes/Pho/QueryProfile.html +60 -60
  17. data/doc/rdoc/classes/Pho/RDF/Parser.html +24 -24
  18. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  19. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  20. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  21. data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -42
  22. data/doc/rdoc/classes/Pho/Status.html +26 -26
  23. data/doc/rdoc/classes/Pho/Store.html +209 -209
  24. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
  25. data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
  26. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
  27. data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +159 -0
  28. data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
  29. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
  30. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
  31. data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
  32. data/doc/rdoc/created.rid +1 -1
  33. data/doc/rdoc/files/CHANGES.html +13 -1
  34. data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
  35. data/doc/rdoc/files/lib/pho/sparql_rb.html +1 -1
  36. data/doc/rdoc/fr_method_index.html +183 -182
  37. data/examples/linkeddata/proxy.rb +74 -0
  38. data/lib/pho/command_line.rb +1 -1
  39. data/lib/pho/sparql.rb +9 -0
  40. data/tests/tc_sparql_helper.rb +10 -1
  41. metadata +5 -2
@@ -92,10 +92,10 @@ Captures status information relating to a store
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000103">new</a>&nbsp;&nbsp;
96
- <a href="#M000104">read_from_store</a>&nbsp;&nbsp;
97
- <a href="#M000105">readable?</a>&nbsp;&nbsp;
98
- <a href="#M000106">writeable?</a>&nbsp;&nbsp;
95
+ <a href="#M000104">new</a>&nbsp;&nbsp;
96
+ <a href="#M000105">read_from_store</a>&nbsp;&nbsp;
97
+ <a href="#M000106">readable?</a>&nbsp;&nbsp;
98
+ <a href="#M000107">writeable?</a>&nbsp;&nbsp;
99
99
  </div>
100
100
  </div>
101
101
 
@@ -153,19 +153,19 @@ Interval before status should be requested again.
153
153
  <div id="methods">
154
154
  <h3 class="section-bar">Public Class methods</h3>
155
155
 
156
- <div id="method-M000103" class="method-detail">
157
- <a name="M000103"></a>
156
+ <div id="method-M000104" class="method-detail">
157
+ <a name="M000104"></a>
158
158
 
159
159
  <div class="method-heading">
160
- <a href="#M000103" class="method-signature">
160
+ <a href="#M000104" class="method-signature">
161
161
  <span class="method-name">new</span><span class="method-args">(retry_interval, status_message, access_mode)</span>
162
162
  </a>
163
163
  </div>
164
164
 
165
165
  <div class="method-description">
166
166
  <p><a class="source-toggle" href="#"
167
- onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
168
- <div class="method-source-code" id="M000103-source">
167
+ onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
168
+ <div class="method-source-code" id="M000104-source">
169
169
  <pre>
170
170
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 25</span>
171
171
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">retry_interval</span>, <span class="ruby-identifier">status_message</span>, <span class="ruby-identifier">access_mode</span>)
@@ -178,11 +178,11 @@ Interval before status should be requested again.
178
178
  </div>
179
179
  </div>
180
180
 
181
- <div id="method-M000104" class="method-detail">
182
- <a name="M000104"></a>
181
+ <div id="method-M000105" class="method-detail">
182
+ <a name="M000105"></a>
183
183
 
184
184
  <div class="method-heading">
185
- <a href="#M000104" class="method-signature">
185
+ <a href="#M000105" class="method-signature">
186
186
  <span class="method-name">read_from_store</span><span class="method-args">(store)</span>
187
187
  </a>
188
188
  </div>
@@ -202,8 +202,8 @@ href="Status.html">Status</a> object.
202
202
  </td></tr>
203
203
  </table>
204
204
  <p><a class="source-toggle" href="#"
205
- onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
206
- <div class="method-source-code" id="M000104-source">
205
+ onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
206
+ <div class="method-source-code" id="M000105-source">
207
207
  <pre>
208
208
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 36</span>
209
209
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Status</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
@@ -229,22 +229,22 @@ href="Status.html">Status</a> object.
229
229
 
230
230
  <h3 class="section-bar">Public Instance methods</h3>
231
231
 
232
- <div id="method-M000105" class="method-detail">
233
- <a name="M000105"></a>
232
+ <div id="method-M000106" class="method-detail">
233
+ <a name="M000106"></a>
234
234
 
235
235
  <div class="method-heading">
236
- <a href="#M000105" class="method-signature">
236
+ <a href="#M000106" class="method-signature">
237
237
  <span class="method-name">readable?</span><span class="method-args">()</span>
238
238
  </a>
239
239
  </div>
240
240
 
241
241
  <div class="method-description">
242
242
  <p>
243
- Is the store <a href="Status.html#M000105">readable?</a>
243
+ Is the store <a href="Status.html#M000106">readable?</a>
244
244
  </p>
245
245
  <p><a class="source-toggle" href="#"
246
- onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
247
- <div class="method-source-code" id="M000105-source">
246
+ onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
247
+ <div class="method-source-code" id="M000106-source">
248
248
  <pre>
249
249
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 54</span>
250
250
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">readable?</span>
@@ -255,22 +255,22 @@ Is the store <a href="Status.html#M000105">readable?</a>
255
255
  </div>
256
256
  </div>
257
257
 
258
- <div id="method-M000106" class="method-detail">
259
- <a name="M000106"></a>
258
+ <div id="method-M000107" class="method-detail">
259
+ <a name="M000107"></a>
260
260
 
261
261
  <div class="method-heading">
262
- <a href="#M000106" class="method-signature">
262
+ <a href="#M000107" class="method-signature">
263
263
  <span class="method-name">writeable?</span><span class="method-args">()</span>
264
264
  </a>
265
265
  </div>
266
266
 
267
267
  <div class="method-description">
268
268
  <p>
269
- Is the store <a href="Status.html#M000106">writeable?</a>
269
+ Is the store <a href="Status.html#M000107">writeable?</a>
270
270
  </p>
271
271
  <p><a class="source-toggle" href="#"
272
- onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
273
- <div class="method-source-code" id="M000106-source">
272
+ onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
273
+ <div class="method-source-code" id="M000107-source">
274
274
  <pre>
275
275
  <span class="ruby-comment cmt"># File lib/pho/status.rb, line 59</span>
276
276
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">writeable?</span>
@@ -109,39 +109,39 @@ See the examples directory in the distribution
109
109
  <h3 class="section-bar">Methods</h3>
110
110
 
111
111
  <div class="name-list">
112
- <a href="#M000160">augment</a>&nbsp;&nbsp;
113
- <a href="#M000159">augment_uri</a>&nbsp;&nbsp;
114
- <a href="#M000144">build_uri</a>&nbsp;&nbsp;
115
- <a href="#M000161">configure_headers_for_conditional_get</a>&nbsp;&nbsp;
116
- <a href="#M000164">delete_item</a>&nbsp;&nbsp;
117
- <a href="#M000148">describe</a>&nbsp;&nbsp;
118
- <a href="#M000157">facet</a>&nbsp;&nbsp;
119
- <a href="#M000171">get_field_predicate_map</a>&nbsp;&nbsp;
120
- <a href="#M000165">get_item</a>&nbsp;&nbsp;
121
- <a href="#M000166">get_job</a>&nbsp;&nbsp;
122
- <a href="#M000167">get_jobs</a>&nbsp;&nbsp;
123
- <a href="#M000173">get_query_profile</a>&nbsp;&nbsp;
124
- <a href="#M000158">get_search_params</a>&nbsp;&nbsp;
125
- <a href="#M000170">get_snapshots</a>&nbsp;&nbsp;
126
- <a href="#M000169">get_status</a>&nbsp;&nbsp;
127
- <a href="#M000142">new</a>&nbsp;&nbsp;
128
- <a href="#M000172">put_field_predicate_map</a>&nbsp;&nbsp;
129
- <a href="#M000174">put_query_profile</a>&nbsp;&nbsp;
130
- <a href="#M000162">record_etags</a>&nbsp;&nbsp;
131
- <a href="#M000156">search</a>&nbsp;&nbsp;
132
- <a href="#M000143">set_credentials</a>&nbsp;&nbsp;
133
- <a href="#M000155">sparql</a>&nbsp;&nbsp;
134
- <a href="#M000153">sparql_ask</a>&nbsp;&nbsp;
135
- <a href="#M000150">sparql_client</a>&nbsp;&nbsp;
136
- <a href="#M000152">sparql_construct</a>&nbsp;&nbsp;
137
- <a href="#M000151">sparql_describe</a>&nbsp;&nbsp;
138
- <a href="#M000154">sparql_select</a>&nbsp;&nbsp;
139
- <a href="#M000145">store_data</a>&nbsp;&nbsp;
140
- <a href="#M000146">store_file</a>&nbsp;&nbsp;
141
- <a href="#M000147">store_url</a>&nbsp;&nbsp;
142
- <a href="#M000149">submit_changeset</a>&nbsp;&nbsp;
143
- <a href="#M000168">submit_job</a>&nbsp;&nbsp;
144
- <a href="#M000163">upload_item</a>&nbsp;&nbsp;
112
+ <a href="#M000161">augment</a>&nbsp;&nbsp;
113
+ <a href="#M000160">augment_uri</a>&nbsp;&nbsp;
114
+ <a href="#M000145">build_uri</a>&nbsp;&nbsp;
115
+ <a href="#M000162">configure_headers_for_conditional_get</a>&nbsp;&nbsp;
116
+ <a href="#M000165">delete_item</a>&nbsp;&nbsp;
117
+ <a href="#M000149">describe</a>&nbsp;&nbsp;
118
+ <a href="#M000158">facet</a>&nbsp;&nbsp;
119
+ <a href="#M000172">get_field_predicate_map</a>&nbsp;&nbsp;
120
+ <a href="#M000166">get_item</a>&nbsp;&nbsp;
121
+ <a href="#M000167">get_job</a>&nbsp;&nbsp;
122
+ <a href="#M000168">get_jobs</a>&nbsp;&nbsp;
123
+ <a href="#M000174">get_query_profile</a>&nbsp;&nbsp;
124
+ <a href="#M000159">get_search_params</a>&nbsp;&nbsp;
125
+ <a href="#M000171">get_snapshots</a>&nbsp;&nbsp;
126
+ <a href="#M000170">get_status</a>&nbsp;&nbsp;
127
+ <a href="#M000143">new</a>&nbsp;&nbsp;
128
+ <a href="#M000173">put_field_predicate_map</a>&nbsp;&nbsp;
129
+ <a href="#M000175">put_query_profile</a>&nbsp;&nbsp;
130
+ <a href="#M000163">record_etags</a>&nbsp;&nbsp;
131
+ <a href="#M000157">search</a>&nbsp;&nbsp;
132
+ <a href="#M000144">set_credentials</a>&nbsp;&nbsp;
133
+ <a href="#M000156">sparql</a>&nbsp;&nbsp;
134
+ <a href="#M000154">sparql_ask</a>&nbsp;&nbsp;
135
+ <a href="#M000151">sparql_client</a>&nbsp;&nbsp;
136
+ <a href="#M000153">sparql_construct</a>&nbsp;&nbsp;
137
+ <a href="#M000152">sparql_describe</a>&nbsp;&nbsp;
138
+ <a href="#M000155">sparql_select</a>&nbsp;&nbsp;
139
+ <a href="#M000146">store_data</a>&nbsp;&nbsp;
140
+ <a href="#M000147">store_file</a>&nbsp;&nbsp;
141
+ <a href="#M000148">store_url</a>&nbsp;&nbsp;
142
+ <a href="#M000150">submit_changeset</a>&nbsp;&nbsp;
143
+ <a href="#M000169">submit_job</a>&nbsp;&nbsp;
144
+ <a href="#M000164">upload_item</a>&nbsp;&nbsp;
145
145
  </div>
146
146
  </div>
147
147
 
@@ -195,11 +195,11 @@ Retrieve the admin username configured in this instance
195
195
  <div id="methods">
196
196
  <h3 class="section-bar">Public Class methods</h3>
197
197
 
198
- <div id="method-M000142" class="method-detail">
199
- <a name="M000142"></a>
198
+ <div id="method-M000143" class="method-detail">
199
+ <a name="M000143"></a>
200
200
 
201
201
  <div class="method-heading">
202
- <a href="#M000142" class="method-signature">
202
+ <a href="#M000143" class="method-signature">
203
203
  <span class="method-name">new</span><span class="method-args">(storeuri, username=nil, password=nil, client = HTTPClient.new() )</span>
204
204
  </a>
205
205
  </div>
@@ -223,8 +223,8 @@ Create an instance of the store class
223
223
  </td></tr>
224
224
  </table>
225
225
  <p><a class="source-toggle" href="#"
226
- onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
227
- <div class="method-source-code" id="M000142-source">
226
+ onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
227
+ <div class="method-source-code" id="M000143-source">
228
228
  <pre>
229
229
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 43</span>
230
230
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">storeuri</span>, <span class="ruby-identifier">username</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">password</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">client</span> = <span class="ruby-constant">HTTPClient</span>.<span class="ruby-identifier">new</span>() )
@@ -241,11 +241,11 @@ Create an instance of the store class
241
241
 
242
242
  <h3 class="section-bar">Public Instance methods</h3>
243
243
 
244
- <div id="method-M000160" class="method-detail">
245
- <a name="M000160"></a>
244
+ <div id="method-M000161" class="method-detail">
245
+ <a name="M000161"></a>
246
246
 
247
247
  <div class="method-heading">
248
- <a href="#M000160" class="method-signature">
248
+ <a href="#M000161" class="method-signature">
249
249
  <span class="method-name">augment</span><span class="method-args">(data)</span>
250
250
  </a>
251
251
  </div>
@@ -261,8 +261,8 @@ Platform
261
261
  </td></tr>
262
262
  </table>
263
263
  <p><a class="source-toggle" href="#"
264
- onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
265
- <div class="method-source-code" id="M000160-source">
264
+ onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
265
+ <div class="method-source-code" id="M000161-source">
266
266
  <pre>
267
267
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 299</span>
268
268
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">augment</span>(<span class="ruby-identifier">data</span>)
@@ -275,11 +275,11 @@ Platform
275
275
  </div>
276
276
  </div>
277
277
 
278
- <div id="method-M000159" class="method-detail">
279
- <a name="M000159"></a>
278
+ <div id="method-M000160" class="method-detail">
279
+ <a name="M000160"></a>
280
280
 
281
281
  <div class="method-heading">
282
- <a href="#M000159" class="method-signature">
282
+ <a href="#M000160" class="method-signature">
283
283
  <span class="method-name">augment_uri</span><span class="method-args">(uri)</span>
284
284
  </a>
285
285
  </div>
@@ -295,8 +295,8 @@ data in this store
295
295
  </td></tr>
296
296
  </table>
297
297
  <p><a class="source-toggle" href="#"
298
- onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
299
- <div class="method-source-code" id="M000159-source">
298
+ onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
299
+ <div class="method-source-code" id="M000160-source">
300
300
  <pre>
301
301
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 290</span>
302
302
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">augment_uri</span>(<span class="ruby-identifier">uri</span>)
@@ -309,11 +309,11 @@ data in this store
309
309
  </div>
310
310
  </div>
311
311
 
312
- <div id="method-M000144" class="method-detail">
313
- <a name="M000144"></a>
312
+ <div id="method-M000145" class="method-detail">
313
+ <a name="M000145"></a>
314
314
 
315
315
  <div class="method-heading">
316
- <a href="#M000144" class="method-signature">
316
+ <a href="#M000145" class="method-signature">
317
317
  <span class="method-name">build_uri</span><span class="method-args">(uri)</span>
318
318
  </a>
319
319
  </div>
@@ -328,8 +328,8 @@ Build a request uri, by concatenating it with the base uri of the store
328
328
  </td></tr>
329
329
  </table>
330
330
  <p><a class="source-toggle" href="#"
331
- onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
332
- <div class="method-source-code" id="M000144-source">
331
+ onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
332
+ <div class="method-source-code" id="M000145-source">
333
333
  <pre>
334
334
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 61</span>
335
335
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build_uri</span>(<span class="ruby-identifier">uri</span>)
@@ -347,11 +347,11 @@ Build a request uri, by concatenating it with the base uri of the store
347
347
  </div>
348
348
  </div>
349
349
 
350
- <div id="method-M000161" class="method-detail">
351
- <a name="M000161"></a>
350
+ <div id="method-M000162" class="method-detail">
351
+ <a name="M000162"></a>
352
352
 
353
353
  <div class="method-heading">
354
- <a href="#M000161" class="method-signature">
354
+ <a href="#M000162" class="method-signature">
355
355
  <span class="method-name">configure_headers_for_conditional_get</span><span class="method-args">(u, headers, etags, if_match)</span>
356
356
  </a>
357
357
  </div>
@@ -361,8 +361,8 @@ Build a request uri, by concatenating it with the base uri of the store
361
361
  Added appropriate http header for conditional get requests
362
362
  </p>
363
363
  <p><a class="source-toggle" href="#"
364
- onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
365
- <div class="method-source-code" id="M000161-source">
364
+ onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
365
+ <div class="method-source-code" id="M000162-source">
366
366
  <pre>
367
367
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 306</span>
368
368
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_headers_for_conditional_get</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">headers</span>, <span class="ruby-identifier">etags</span>, <span class="ruby-identifier">if_match</span>)
@@ -380,11 +380,11 @@ Added appropriate http header for conditional get requests
380
380
  </div>
381
381
  </div>
382
382
 
383
- <div id="method-M000164" class="method-detail">
384
- <a name="M000164"></a>
383
+ <div id="method-M000165" class="method-detail">
384
+ <a name="M000165"></a>
385
385
 
386
386
  <div class="method-heading">
387
- <a href="#M000164" class="method-signature">
387
+ <a href="#M000165" class="method-signature">
388
388
  <span class="method-name">delete_item</span><span class="method-args">(uri)</span>
389
389
  </a>
390
390
  </div>
@@ -402,8 +402,8 @@ Delete an item from the Contentbox in this <a href="Store.html">Store</a>
402
402
  TODO: conditional deletes
403
403
  </p>
404
404
  <p><a class="source-toggle" href="#"
405
- onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
406
- <div class="method-source-code" id="M000164-source">
405
+ onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
406
+ <div class="method-source-code" id="M000165-source">
407
407
  <pre>
408
408
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 361</span>
409
409
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_item</span>(<span class="ruby-identifier">uri</span>)
@@ -417,11 +417,11 @@ TODO: conditional deletes
417
417
  </div>
418
418
  </div>
419
419
 
420
- <div id="method-M000148" class="method-detail">
421
- <a name="M000148"></a>
420
+ <div id="method-M000149" class="method-detail">
421
+ <a name="M000149"></a>
422
422
 
423
423
  <div class="method-heading">
424
- <a href="#M000148" class="method-signature">
424
+ <a href="#M000149" class="method-signature">
425
425
  <span class="method-name">describe</span><span class="method-args">(uri, format=&quot;application/rdf+xml&quot;, etags=nil, if_match=false)</span>
426
426
  </a>
427
427
  </div>
@@ -434,7 +434,7 @@ document, but other formats can be requested, as supported by the Talis
434
434
  Platform. E.g. application/json
435
435
  </p>
436
436
  <table>
437
- <tr><td valign="top">uri:</td><td>the URI of the resource to <a href="Store.html#M000148">describe</a>
437
+ <tr><td valign="top">uri:</td><td>the URI of the resource to <a href="Store.html#M000149">describe</a>
438
438
 
439
439
  </td></tr>
440
440
  <tr><td valign="top">format:</td><td>the preferred response format
@@ -451,18 +451,18 @@ false to perform a Conditional GET
451
451
  </table>
452
452
  <p>
453
453
  Note that this method is different from <a
454
- href="Store.html#M000151">sparql_describe</a> in that it is intended to be
454
+ href="Store.html#M000152">sparql_describe</a> in that it is intended to be
455
455
  used to generate a description of a single URI, using an separated service
456
456
  exposed by the Platform. This service is optimised for retrieval of
457
457
  descriptions for single resources and supports HTTP caching and conditional
458
- retrieval. The <a href="Store.html#M000151">sparql_describe</a> method
458
+ retrieval. The <a href="Store.html#M000152">sparql_describe</a> method
459
459
  should be used to submit more complex DESCRIBE queries to the Platform,
460
460
  e.g. to generate descriptions of resources matching a particular graph
461
461
  pattern.
462
462
  </p>
463
463
  <p><a class="source-toggle" href="#"
464
- onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
465
- <div class="method-source-code" id="M000148-source">
464
+ onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
465
+ <div class="method-source-code" id="M000149-source">
466
466
  <pre>
467
467
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 140</span>
468
468
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>, <span class="ruby-identifier">etags</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">if_match</span>=<span class="ruby-keyword kw">false</span>)
@@ -478,18 +478,18 @@ pattern.
478
478
  </div>
479
479
  </div>
480
480
 
481
- <div id="method-M000157" class="method-detail">
482
- <a name="M000157"></a>
481
+ <div id="method-M000158" class="method-detail">
482
+ <a name="M000158"></a>
483
483
 
484
484
  <div class="method-heading">
485
- <a href="#M000157" class="method-signature">
485
+ <a href="#M000158" class="method-signature">
486
486
  <span class="method-name">facet</span><span class="method-args">(query, facets, params=nil)</span>
487
487
  </a>
488
488
  </div>
489
489
 
490
490
  <div class="method-description">
491
491
  <p>
492
- Perform a facetted <a href="Store.html#M000156">search</a> against the
492
+ Perform a facetted <a href="Store.html#M000157">search</a> against the
493
493
  Metabox indexes.
494
494
  </p>
495
495
  <table>
@@ -508,7 +508,7 @@ The <em>params</em> hash can contain the following values:
508
508
  </p>
509
509
  <ul>
510
510
  <li><b>top</b>: the maximum number of results to return for each <a
511
- href="Store.html#M000157">facet</a>
511
+ href="Store.html#M000158">facet</a>
512
512
 
513
513
  </li>
514
514
  <li><b>output</b>: the preferred response format, can be html or xml (the
@@ -517,8 +517,8 @@ default)
517
517
  </li>
518
518
  </ul>
519
519
  <p><a class="source-toggle" href="#"
520
- onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
521
- <div class="method-source-code" id="M000157-source">
520
+ onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
521
+ <div class="method-source-code" id="M000158-source">
522
522
  <pre>
523
523
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 265</span>
524
524
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">facet</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">facets</span>, <span class="ruby-identifier">params</span>=<span class="ruby-keyword kw">nil</span>)
@@ -537,11 +537,11 @@ default)
537
537
  </div>
538
538
  </div>
539
539
 
540
- <div id="method-M000171" class="method-detail">
541
- <a name="M000171"></a>
540
+ <div id="method-M000172" class="method-detail">
541
+ <a name="M000172"></a>
542
542
 
543
543
  <div class="method-heading">
544
- <a href="#M000171" class="method-signature">
544
+ <a href="#M000172" class="method-signature">
545
545
  <span class="method-name">get_field_predicate_map</span><span class="method-args">(output=ACCEPT_JSON)</span>
546
546
  </a>
547
547
  </div>
@@ -551,7 +551,7 @@ default)
551
551
  Read the field predicate map configuration for this store. The config can
552
552
  be requested in any format supported by the platform, but the default will
553
553
  return JSON. See <a
554
- href="FieldPredicateMap.html#M000088">FieldPredicateMap.read_from_store</a>
554
+ href="FieldPredicateMap.html#M000089">FieldPredicateMap.read_from_store</a>
555
555
  for a convenient way to quickly create a <a
556
556
  href="FieldPredicateMap.html">FieldPredicateMap</a> object based on a
557
557
  specific stores&#8216;s configuration.
@@ -562,8 +562,8 @@ specific stores&#8216;s configuration.
562
562
  </td></tr>
563
563
  </table>
564
564
  <p><a class="source-toggle" href="#"
565
- onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
566
- <div class="method-source-code" id="M000171-source">
565
+ onclick="toggleCode('M000172-source');return false;">[Source]</a></p>
566
+ <div class="method-source-code" id="M000172-source">
567
567
  <pre>
568
568
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 443</span>
569
569
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_field_predicate_map</span>(<span class="ruby-identifier">output</span>=<span class="ruby-constant">ACCEPT_JSON</span>)
@@ -576,11 +576,11 @@ specific stores&#8216;s configuration.
576
576
  </div>
577
577
  </div>
578
578
 
579
- <div id="method-M000165" class="method-detail">
580
- <a name="M000165"></a>
579
+ <div id="method-M000166" class="method-detail">
580
+ <a name="M000166"></a>
581
581
 
582
582
  <div class="method-heading">
583
- <a href="#M000165" class="method-signature">
583
+ <a href="#M000166" class="method-signature">
584
584
  <span class="method-name">get_item</span><span class="method-args">(uri, etags=nil, if_match=false)</span>
585
585
  </a>
586
586
  </div>
@@ -603,8 +603,8 @@ item, as available from the Metabox.
603
603
  TODO: document etags, redirects
604
604
  </p>
605
605
  <p><a class="source-toggle" href="#"
606
- onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
607
- <div class="method-source-code" id="M000165-source">
606
+ onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
607
+ <div class="method-source-code" id="M000166-source">
608
608
  <pre>
609
609
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 375</span>
610
610
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_item</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">etags</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">if_match</span>=<span class="ruby-keyword kw">false</span>)
@@ -620,11 +620,11 @@ TODO: document etags, redirects
620
620
  </div>
621
621
  </div>
622
622
 
623
- <div id="method-M000166" class="method-detail">
624
- <a name="M000166"></a>
623
+ <div id="method-M000167" class="method-detail">
624
+ <a name="M000167"></a>
625
625
 
626
626
  <div class="method-heading">
627
- <a href="#M000166" class="method-signature">
627
+ <a href="#M000167" class="method-signature">
628
628
  <span class="method-name">get_job</span><span class="method-args">(uri)</span>
629
629
  </a>
630
630
  </div>
@@ -632,7 +632,7 @@ TODO: document etags, redirects
632
632
  <div class="method-description">
633
633
  <p>
634
634
  Retrieve metadata about a single job. Use <a
635
- href="Job.html#M000181">Job.read_from_store</a> as a convenience function
635
+ href="Job.html#M000182">Job.read_from_store</a> as a convenience function
636
636
  which will return a fully-populated <a href="Job.html">Job</a> object
637
637
  </p>
638
638
  <table>
@@ -641,8 +641,8 @@ which will return a fully-populated <a href="Job.html">Job</a> object
641
641
  </td></tr>
642
642
  </table>
643
643
  <p><a class="source-toggle" href="#"
644
- onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
645
- <div class="method-source-code" id="M000166-source">
644
+ onclick="toggleCode('M000167-source');return false;">[Source]</a></p>
645
+ <div class="method-source-code" id="M000167-source">
646
646
  <pre>
647
647
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 392</span>
648
648
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_job</span>(<span class="ruby-identifier">uri</span>)
@@ -655,11 +655,11 @@ which will return a fully-populated <a href="Job.html">Job</a> object
655
655
  </div>
656
656
  </div>
657
657
 
658
- <div id="method-M000167" class="method-detail">
659
- <a name="M000167"></a>
658
+ <div id="method-M000168" class="method-detail">
659
+ <a name="M000168"></a>
660
660
 
661
661
  <div class="method-heading">
662
- <a href="#M000167" class="method-signature">
662
+ <a href="#M000168" class="method-signature">
663
663
  <span class="method-name">get_jobs</span><span class="method-args">()</span>
664
664
  </a>
665
665
  </div>
@@ -670,8 +670,8 @@ Retrieve metadata about the Scheduled <a href="Jobs.html">Jobs</a>
670
670
  Collection from the store
671
671
  </p>
672
672
  <p><a class="source-toggle" href="#"
673
- onclick="toggleCode('M000167-source');return false;">[Source]</a></p>
674
- <div class="method-source-code" id="M000167-source">
673
+ onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
674
+ <div class="method-source-code" id="M000168-source">
675
675
  <pre>
676
676
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 399</span>
677
677
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_jobs</span>()
@@ -684,11 +684,11 @@ Collection from the store
684
684
  </div>
685
685
  </div>
686
686
 
687
- <div id="method-M000173" class="method-detail">
688
- <a name="M000173"></a>
687
+ <div id="method-M000174" class="method-detail">
688
+ <a name="M000174"></a>
689
689
 
690
690
  <div class="method-heading">
691
- <a href="#M000173" class="method-signature">
691
+ <a href="#M000174" class="method-signature">
692
692
  <span class="method-name">get_query_profile</span><span class="method-args">(output=ACCEPT_JSON)</span>
693
693
  </a>
694
694
  </div>
@@ -698,7 +698,7 @@ Collection from the store
698
698
  Read the query profile configuration for this store. The config can be
699
699
  requested in any format supported by the platform, but the default will
700
700
  return JSON. See <a
701
- href="QueryProfile.html#M000118">QueryProfile.read_from_store</a> for a
701
+ href="QueryProfile.html#M000119">QueryProfile.read_from_store</a> for a
702
702
  convenient way to quickly create a <a
703
703
  href="QueryProfile.html">QueryProfile</a> object based on a specific
704
704
  stores&#8216;s configuration.
@@ -709,8 +709,8 @@ stores&#8216;s configuration.
709
709
  </td></tr>
710
710
  </table>
711
711
  <p><a class="source-toggle" href="#"
712
- onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
713
- <div class="method-source-code" id="M000173-source">
712
+ onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
713
+ <div class="method-source-code" id="M000174-source">
714
714
  <pre>
715
715
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 464</span>
716
716
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_query_profile</span>(<span class="ruby-identifier">output</span>=<span class="ruby-constant">ACCEPT_JSON</span>)
@@ -723,19 +723,19 @@ stores&#8216;s configuration.
723
723
  </div>
724
724
  </div>
725
725
 
726
- <div id="method-M000158" class="method-detail">
727
- <a name="M000158"></a>
726
+ <div id="method-M000159" class="method-detail">
727
+ <a name="M000159"></a>
728
728
 
729
729
  <div class="method-heading">
730
- <a href="#M000158" class="method-signature">
730
+ <a href="#M000159" class="method-signature">
731
731
  <span class="method-name">get_search_params</span><span class="method-args">(u, query, params)</span>
732
732
  </a>
733
733
  </div>
734
734
 
735
735
  <div class="method-description">
736
736
  <p><a class="source-toggle" href="#"
737
- onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
738
- <div class="method-source-code" id="M000158-source">
737
+ onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
738
+ <div class="method-source-code" id="M000159-source">
739
739
  <pre>
740
740
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 277</span>
741
741
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_search_params</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">params</span>)
@@ -752,11 +752,11 @@ stores&#8216;s configuration.
752
752
  </div>
753
753
  </div>
754
754
 
755
- <div id="method-M000170" class="method-detail">
756
- <a name="M000170"></a>
755
+ <div id="method-M000171" class="method-detail">
756
+ <a name="M000171"></a>
757
757
 
758
758
  <div class="method-heading">
759
- <a href="#M000170" class="method-signature">
759
+ <a href="#M000171" class="method-signature">
760
760
  <span class="method-name">get_snapshots</span><span class="method-args">()</span>
761
761
  </a>
762
762
  </div>
@@ -767,12 +767,12 @@ Retrieve the list of snapshots for this store
767
767
  </p>
768
768
  <p>
769
769
  Currently the response will contain an HTML document. Use <a
770
- href="Snapshot.html#M000176">Snapshot.parse</a> to turn this into a <a
770
+ href="Snapshot.html#M000177">Snapshot.parse</a> to turn this into a <a
771
771
  href="Snapshot.html">Snapshot</a> object
772
772
  </p>
773
773
  <p><a class="source-toggle" href="#"
774
- onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
775
- <div class="method-source-code" id="M000170-source">
774
+ onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
775
+ <div class="method-source-code" id="M000171-source">
776
776
  <pre>
777
777
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 428</span>
778
778
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_snapshots</span>()
@@ -785,11 +785,11 @@ href="Snapshot.html">Snapshot</a> object
785
785
  </div>
786
786
  </div>
787
787
 
788
- <div id="method-M000169" class="method-detail">
789
- <a name="M000169"></a>
788
+ <div id="method-M000170" class="method-detail">
789
+ <a name="M000170"></a>
790
790
 
791
791
  <div class="method-heading">
792
- <a href="#M000169" class="method-signature">
792
+ <a href="#M000170" class="method-signature">
793
793
  <span class="method-name">get_status</span><span class="method-args">()</span>
794
794
  </a>
795
795
  </div>
@@ -799,8 +799,8 @@ href="Snapshot.html">Snapshot</a> object
799
799
  ADMIN
800
800
  </p>
801
801
  <p><a class="source-toggle" href="#"
802
- onclick="toggleCode('M000169-source');return false;">[Source]</a></p>
803
- <div class="method-source-code" id="M000169-source">
802
+ onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
803
+ <div class="method-source-code" id="M000170-source">
804
804
  <pre>
805
805
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 418</span>
806
806
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_status</span>()
@@ -813,11 +813,11 @@ ADMIN
813
813
  </div>
814
814
  </div>
815
815
 
816
- <div id="method-M000172" class="method-detail">
817
- <a name="M000172"></a>
816
+ <div id="method-M000173" class="method-detail">
817
+ <a name="M000173"></a>
818
818
 
819
819
  <div class="method-heading">
820
- <a href="#M000172" class="method-signature">
820
+ <a href="#M000173" class="method-signature">
821
821
  <span class="method-name">put_field_predicate_map</span><span class="method-args">(data)</span>
822
822
  </a>
823
823
  </div>
@@ -827,7 +827,7 @@ ADMIN
827
827
  <a href="Update.html">Update</a>/replace the current Field Predicate map
828
828
  configuration in the store. Assumes that the provided data is valid <a
829
829
  href="RDF.html">RDF</a>/XML. Use <a
830
- href="FieldPredicateMap.html#M000102">FieldPredicateMap.upload</a> as a
830
+ href="FieldPredicateMap.html#M000103">FieldPredicateMap.upload</a> as a
831
831
  convenience function
832
832
  </p>
833
833
  <table>
@@ -836,8 +836,8 @@ convenience function
836
836
  </td></tr>
837
837
  </table>
838
838
  <p><a class="source-toggle" href="#"
839
- onclick="toggleCode('M000172-source');return false;">[Source]</a></p>
840
- <div class="method-source-code" id="M000172-source">
839
+ onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
840
+ <div class="method-source-code" id="M000173-source">
841
841
  <pre>
842
842
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 453</span>
843
843
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_field_predicate_map</span>(<span class="ruby-identifier">data</span>)
@@ -850,11 +850,11 @@ convenience function
850
850
  </div>
851
851
  </div>
852
852
 
853
- <div id="method-M000174" class="method-detail">
854
- <a name="M000174"></a>
853
+ <div id="method-M000175" class="method-detail">
854
+ <a name="M000175"></a>
855
855
 
856
856
  <div class="method-heading">
857
- <a href="#M000174" class="method-signature">
857
+ <a href="#M000175" class="method-signature">
858
858
  <span class="method-name">put_query_profile</span><span class="method-args">(data)</span>
859
859
  </a>
860
860
  </div>
@@ -864,7 +864,7 @@ convenience function
864
864
  <a href="Update.html">Update</a>/replace the current Query Profile
865
865
  configuration in the store. Assumes that the provided data is valid <a
866
866
  href="RDF.html">RDF</a>/XML. Use <a
867
- href="QueryProfile.html#M000127">QueryProfile.upload</a> as a convenience
867
+ href="QueryProfile.html#M000128">QueryProfile.upload</a> as a convenience
868
868
  function
869
869
  </p>
870
870
  <table>
@@ -873,8 +873,8 @@ function
873
873
  </td></tr>
874
874
  </table>
875
875
  <p><a class="source-toggle" href="#"
876
- onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
877
- <div class="method-source-code" id="M000174-source">
876
+ onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
877
+ <div class="method-source-code" id="M000175-source">
878
878
  <pre>
879
879
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 474</span>
880
880
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_query_profile</span>(<span class="ruby-identifier">data</span>)
@@ -887,19 +887,19 @@ function
887
887
  </div>
888
888
  </div>
889
889
 
890
- <div id="method-M000162" class="method-detail">
891
- <a name="M000162"></a>
890
+ <div id="method-M000163" class="method-detail">
891
+ <a name="M000163"></a>
892
892
 
893
893
  <div class="method-heading">
894
- <a href="#M000162" class="method-signature">
894
+ <a href="#M000163" class="method-signature">
895
895
  <span class="method-name">record_etags</span><span class="method-args">(u, etags, response)</span>
896
896
  </a>
897
897
  </div>
898
898
 
899
899
  <div class="method-description">
900
900
  <p><a class="source-toggle" href="#"
901
- onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
902
- <div class="method-source-code" id="M000162-source">
901
+ onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
902
+ <div class="method-source-code" id="M000163-source">
903
903
  <pre>
904
904
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 317</span>
905
905
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">record_etags</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">etags</span>, <span class="ruby-identifier">response</span>)
@@ -912,11 +912,11 @@ function
912
912
  </div>
913
913
  </div>
914
914
 
915
- <div id="method-M000156" class="method-detail">
916
- <a name="M000156"></a>
915
+ <div id="method-M000157" class="method-detail">
916
+ <a name="M000157"></a>
917
917
 
918
918
  <div class="method-heading">
919
- <a href="#M000156" class="method-signature">
919
+ <a href="#M000157" class="method-signature">
920
920
  <span class="method-name">search</span><span class="method-args">(query, params=nil)</span>
921
921
  </a>
922
922
  </div>
@@ -963,8 +963,8 @@ transformation is being applied, in which case they will be provided as
963
963
  parameters to the stylesheet.
964
964
  </p>
965
965
  <p><a class="source-toggle" href="#"
966
- onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
967
- <div class="method-source-code" id="M000156-source">
966
+ onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
967
+ <div class="method-source-code" id="M000157-source">
968
968
  <pre>
969
969
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 248</span>
970
970
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">search</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">params</span>=<span class="ruby-keyword kw">nil</span>)
@@ -979,11 +979,11 @@ parameters to the stylesheet.
979
979
  </div>
980
980
  </div>
981
981
 
982
- <div id="method-M000143" class="method-detail">
983
- <a name="M000143"></a>
982
+ <div id="method-M000144" class="method-detail">
983
+ <a name="M000144"></a>
984
984
 
985
985
  <div class="method-heading">
986
- <a href="#M000143" class="method-signature">
986
+ <a href="#M000144" class="method-signature">
987
987
  <span class="method-name">set_credentials</span><span class="method-args">(username, password)</span>
988
988
  </a>
989
989
  </div>
@@ -1001,8 +1001,8 @@ Set credentials that this store will use when carrying out authorization
1001
1001
  </td></tr>
1002
1002
  </table>
1003
1003
  <p><a class="source-toggle" href="#"
1004
- onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
1005
- <div class="method-source-code" id="M000143-source">
1004
+ onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
1005
+ <div class="method-source-code" id="M000144-source">
1006
1006
  <pre>
1007
1007
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 55</span>
1008
1008
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_credentials</span>(<span class="ruby-identifier">username</span>, <span class="ruby-identifier">password</span>)
@@ -1013,11 +1013,11 @@ Set credentials that this store will use when carrying out authorization
1013
1013
  </div>
1014
1014
  </div>
1015
1015
 
1016
- <div id="method-M000155" class="method-detail">
1017
- <a name="M000155"></a>
1016
+ <div id="method-M000156" class="method-detail">
1017
+ <a name="M000156"></a>
1018
1018
 
1019
1019
  <div class="method-heading">
1020
- <a href="#M000155" class="method-signature">
1020
+ <a href="#M000156" class="method-signature">
1021
1021
  <span class="method-name">sparql</span><span class="method-args">(query, format=nil, multisparql=false)</span>
1022
1022
  </a>
1023
1023
  </div>
@@ -1032,8 +1032,8 @@ Perform a SPARQL query
1032
1032
  multisparql:: use default sparql service or multisparql service
1033
1033
  </pre>
1034
1034
  <p><a class="source-toggle" href="#"
1035
- onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
1036
- <div class="method-source-code" id="M000155-source">
1035
+ onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
1036
+ <div class="method-source-code" id="M000156-source">
1037
1037
  <pre>
1038
1038
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 229</span>
1039
1039
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1044,11 +1044,11 @@ Perform a SPARQL query
1044
1044
  </div>
1045
1045
  </div>
1046
1046
 
1047
- <div id="method-M000153" class="method-detail">
1048
- <a name="M000153"></a>
1047
+ <div id="method-M000154" class="method-detail">
1048
+ <a name="M000154"></a>
1049
1049
 
1050
1050
  <div class="method-heading">
1051
- <a href="#M000153" class="method-signature">
1051
+ <a href="#M000154" class="method-signature">
1052
1052
  <span class="method-name">sparql_ask</span><span class="method-args">(query, format=&quot;application/sparql-results+xml&quot;, multisparql=false)</span>
1053
1053
  </a>
1054
1054
  </div>
@@ -1062,8 +1062,8 @@ Perform a SPARQL ASK query.
1062
1062
  format:: the preferred response format
1063
1063
  </pre>
1064
1064
  <p><a class="source-toggle" href="#"
1065
- onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
1066
- <div class="method-source-code" id="M000153-source">
1065
+ onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
1066
+ <div class="method-source-code" id="M000154-source">
1067
1067
  <pre>
1068
1068
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 212</span>
1069
1069
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_ask</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/sparql-results+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1074,11 +1074,11 @@ Perform a SPARQL ASK query.
1074
1074
  </div>
1075
1075
  </div>
1076
1076
 
1077
- <div id="method-M000150" class="method-detail">
1078
- <a name="M000150"></a>
1077
+ <div id="method-M000151" class="method-detail">
1078
+ <a name="M000151"></a>
1079
1079
 
1080
1080
  <div class="method-heading">
1081
- <a href="#M000150" class="method-signature">
1081
+ <a href="#M000151" class="method-signature">
1082
1082
  <span class="method-name">sparql_client</span><span class="method-args">(multisparql=false)</span>
1083
1083
  </a>
1084
1084
  </div>
@@ -1092,8 +1092,8 @@ store
1092
1092
  multisparql:: optional, set to true to retrieve client for multisparql endpoint
1093
1093
  </pre>
1094
1094
  <p><a class="source-toggle" href="#"
1095
- onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
1096
- <div class="method-source-code" id="M000150-source">
1095
+ onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
1096
+ <div class="method-source-code" id="M000151-source">
1097
1097
  <pre>
1098
1098
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 178</span>
1099
1099
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_client</span>(<span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1114,11 +1114,11 @@ store
1114
1114
  </div>
1115
1115
  </div>
1116
1116
 
1117
- <div id="method-M000152" class="method-detail">
1118
- <a name="M000152"></a>
1117
+ <div id="method-M000153" class="method-detail">
1118
+ <a name="M000153"></a>
1119
1119
 
1120
1120
  <div class="method-heading">
1121
- <a href="#M000152" class="method-signature">
1121
+ <a href="#M000153" class="method-signature">
1122
1122
  <span class="method-name">sparql_construct</span><span class="method-args">(query, format=&quot;application/rdf+xml&quot;, multisparql=false)</span>
1123
1123
  </a>
1124
1124
  </div>
@@ -1132,8 +1132,8 @@ Perform a SPARQL CONSTRUCT query.
1132
1132
  format:: the preferred response format
1133
1133
  </pre>
1134
1134
  <p><a class="source-toggle" href="#"
1135
- onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
1136
- <div class="method-source-code" id="M000152-source">
1135
+ onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
1136
+ <div class="method-source-code" id="M000153-source">
1137
1137
  <pre>
1138
1138
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 204</span>
1139
1139
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_construct</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1144,11 +1144,11 @@ Perform a SPARQL CONSTRUCT query.
1144
1144
  </div>
1145
1145
  </div>
1146
1146
 
1147
- <div id="method-M000151" class="method-detail">
1148
- <a name="M000151"></a>
1147
+ <div id="method-M000152" class="method-detail">
1148
+ <a name="M000152"></a>
1149
1149
 
1150
1150
  <div class="method-heading">
1151
- <a href="#M000151" class="method-signature">
1151
+ <a href="#M000152" class="method-signature">
1152
1152
  <span class="method-name">sparql_describe</span><span class="method-args">(query, format=&quot;application/rdf+xml&quot;, multisparql=false)</span>
1153
1153
  </a>
1154
1154
  </div>
@@ -1162,8 +1162,8 @@ Perform a SPARQL DESCRIBE query.
1162
1162
  format:: the preferred response format
1163
1163
  </pre>
1164
1164
  <p><a class="source-toggle" href="#"
1165
- onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
1166
- <div class="method-source-code" id="M000151-source">
1165
+ onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
1166
+ <div class="method-source-code" id="M000152-source">
1167
1167
  <pre>
1168
1168
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 196</span>
1169
1169
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_describe</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/rdf+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1174,11 +1174,11 @@ Perform a SPARQL DESCRIBE query.
1174
1174
  </div>
1175
1175
  </div>
1176
1176
 
1177
- <div id="method-M000154" class="method-detail">
1178
- <a name="M000154"></a>
1177
+ <div id="method-M000155" class="method-detail">
1178
+ <a name="M000155"></a>
1179
1179
 
1180
1180
  <div class="method-heading">
1181
- <a href="#M000154" class="method-signature">
1181
+ <a href="#M000155" class="method-signature">
1182
1182
  <span class="method-name">sparql_select</span><span class="method-args">(query, format=&quot;application/sparql-results+xml&quot;, multisparql=false)</span>
1183
1183
  </a>
1184
1184
  </div>
@@ -1192,8 +1192,8 @@ Perform a SPARQL SELECT query.
1192
1192
  format:: the preferred response format
1193
1193
  </pre>
1194
1194
  <p><a class="source-toggle" href="#"
1195
- onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
1196
- <div class="method-source-code" id="M000154-source">
1195
+ onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
1196
+ <div class="method-source-code" id="M000155-source">
1197
1197
  <pre>
1198
1198
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 220</span>
1199
1199
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sparql_select</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">&quot;application/sparql-results+xml&quot;</span>, <span class="ruby-identifier">multisparql</span>=<span class="ruby-keyword kw">false</span>)
@@ -1204,11 +1204,11 @@ Perform a SPARQL SELECT query.
1204
1204
  </div>
1205
1205
  </div>
1206
1206
 
1207
- <div id="method-M000145" class="method-detail">
1208
- <a name="M000145"></a>
1207
+ <div id="method-M000146" class="method-detail">
1208
+ <a name="M000146"></a>
1209
1209
 
1210
1210
  <div class="method-heading">
1211
- <a href="#M000145" class="method-signature">
1211
+ <a href="#M000146" class="method-signature">
1212
1212
  <span class="method-name">store_data</span><span class="method-args">(data, graph_name=nil)</span>
1213
1213
  </a>
1214
1214
  </div>
@@ -1224,8 +1224,8 @@ Perform a SPARQL SELECT query.
1224
1224
  </td></tr>
1225
1225
  </table>
1226
1226
  <p><a class="source-toggle" href="#"
1227
- onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
1228
- <div class="method-source-code" id="M000145-source">
1227
+ onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
1228
+ <div class="method-source-code" id="M000146-source">
1229
1229
  <pre>
1230
1230
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 81</span>
1231
1231
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_data</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1244,11 +1244,11 @@ Perform a SPARQL SELECT query.
1244
1244
  </div>
1245
1245
  </div>
1246
1246
 
1247
- <div id="method-M000146" class="method-detail">
1248
- <a name="M000146"></a>
1247
+ <div id="method-M000147" class="method-detail">
1248
+ <a name="M000147"></a>
1249
1249
 
1250
1250
  <div class="method-heading">
1251
- <a href="#M000146" class="method-signature">
1251
+ <a href="#M000147" class="method-signature">
1252
1252
  <span class="method-name">store_file</span><span class="method-args">(file)</span>
1253
1253
  </a>
1254
1254
  </div>
@@ -1266,8 +1266,8 @@ is submitted to the platform
1266
1266
  </td></tr>
1267
1267
  </table>
1268
1268
  <p><a class="source-toggle" href="#"
1269
- onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
1270
- <div class="method-source-code" id="M000146-source">
1269
+ onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
1270
+ <div class="method-source-code" id="M000147-source">
1271
1271
  <pre>
1272
1272
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 96</span>
1273
1273
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_file</span>(<span class="ruby-identifier">file</span>)
@@ -1280,11 +1280,11 @@ is submitted to the platform
1280
1280
  </div>
1281
1281
  </div>
1282
1282
 
1283
- <div id="method-M000147" class="method-detail">
1284
- <a name="M000147"></a>
1283
+ <div id="method-M000148" class="method-detail">
1284
+ <a name="M000148"></a>
1285
1285
 
1286
1286
  <div class="method-heading">
1287
- <a href="#M000147" class="method-signature">
1287
+ <a href="#M000148" class="method-signature">
1288
1288
  <span class="method-name">store_url</span><span class="method-args">(u, parameters=nil, graph_name=nil)</span>
1289
1289
  </a>
1290
1290
  </div>
@@ -1322,8 +1322,8 @@ URL
1322
1322
  </td></tr>
1323
1323
  </table>
1324
1324
  <p><a class="source-toggle" href="#"
1325
- onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
1326
- <div class="method-source-code" id="M000147-source">
1325
+ onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
1326
+ <div class="method-source-code" id="M000148-source">
1327
1327
  <pre>
1328
1328
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 114</span>
1329
1329
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_url</span>(<span class="ruby-identifier">u</span>, <span class="ruby-identifier">parameters</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1344,11 +1344,11 @@ URL
1344
1344
  </div>
1345
1345
  </div>
1346
1346
 
1347
- <div id="method-M000149" class="method-detail">
1348
- <a name="M000149"></a>
1347
+ <div id="method-M000150" class="method-detail">
1348
+ <a name="M000150"></a>
1349
1349
 
1350
1350
  <div class="method-heading">
1351
- <a href="#M000149" class="method-signature">
1351
+ <a href="#M000150" class="method-signature">
1352
1352
  <span class="method-name">submit_changeset</span><span class="method-args">(rdf, versioned=false, graph_name=nil)</span>
1353
1353
  </a>
1354
1354
  </div>
@@ -1374,8 +1374,8 @@ be submitted to private graphs.
1374
1374
  </td></tr>
1375
1375
  </table>
1376
1376
  <p><a class="source-toggle" href="#"
1377
- onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
1378
- <div class="method-source-code" id="M000149-source">
1377
+ onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
1378
+ <div class="method-source-code" id="M000150-source">
1379
1379
  <pre>
1380
1380
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 158</span>
1381
1381
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit_changeset</span>(<span class="ruby-identifier">rdf</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">graph_name</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1395,11 +1395,11 @@ be submitted to private graphs.
1395
1395
  </div>
1396
1396
  </div>
1397
1397
 
1398
- <div id="method-M000168" class="method-detail">
1399
- <a name="M000168"></a>
1398
+ <div id="method-M000169" class="method-detail">
1399
+ <a name="M000169"></a>
1400
1400
 
1401
1401
  <div class="method-heading">
1402
- <a href="#M000168" class="method-signature">
1402
+ <a href="#M000169" class="method-signature">
1403
1403
  <span class="method-name">submit_job</span><span class="method-args">(data)</span>
1404
1404
  </a>
1405
1405
  </div>
@@ -1415,8 +1415,8 @@ Submit a job to the platform.
1415
1415
  </td></tr>
1416
1416
  </table>
1417
1417
  <p><a class="source-toggle" href="#"
1418
- onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
1419
- <div class="method-source-code" id="M000168-source">
1418
+ onclick="toggleCode('M000169-source');return false;">[Source]</a></p>
1419
+ <div class="method-source-code" id="M000169-source">
1420
1420
  <pre>
1421
1421
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 408</span>
1422
1422
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit_job</span>(<span class="ruby-identifier">data</span>)
@@ -1429,11 +1429,11 @@ Submit a job to the platform.
1429
1429
  </div>
1430
1430
  </div>
1431
1431
 
1432
- <div id="method-M000163" class="method-detail">
1433
- <a name="M000163"></a>
1432
+ <div id="method-M000164" class="method-detail">
1433
+ <a name="M000164"></a>
1434
1434
 
1435
1435
  <div class="method-heading">
1436
- <a href="#M000163" class="method-signature">
1436
+ <a href="#M000164" class="method-signature">
1437
1437
  <span class="method-name">upload_item</span><span class="method-args">(f, mimetype, uri=nil)</span>
1438
1438
  </a>
1439
1439
  </div>
@@ -1461,8 +1461,8 @@ stored item. If a URI is specified then a successful request will result in
1461
1461
  a 200 OK response.
1462
1462
  </p>
1463
1463
  <p><a class="source-toggle" href="#"
1464
- onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
1465
- <div class="method-source-code" id="M000163-source">
1464
+ onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
1465
+ <div class="method-source-code" id="M000164-source">
1466
1466
  <pre>
1467
1467
  <span class="ruby-comment cmt"># File lib/pho/store.rb, line 336</span>
1468
1468
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload_item</span>(<span class="ruby-identifier">f</span>, <span class="ruby-identifier">mimetype</span>, <span class="ruby-identifier">uri</span>=<span class="ruby-keyword kw">nil</span>)