pho 0.4 → 0.4.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.
- data/CHANGES +12 -1
- data/Rakefile +2 -2
- data/doc/index.html +15 -1
- data/doc/rdoc/classes/Pho.html +14 -0
- data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
- data/doc/rdoc/classes/Pho/Etags.html +36 -36
- data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
- data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
- data/doc/rdoc/classes/Pho/FieldPredicateMap.html +90 -90
- data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
- data/doc/rdoc/classes/Pho/Job.html +64 -64
- data/doc/rdoc/classes/Pho/Jobs.html +61 -61
- data/doc/rdoc/classes/Pho/Namespaces.html +6 -1
- data/doc/rdoc/classes/Pho/QueryProfile.html +61 -61
- data/doc/rdoc/classes/Pho/RDFCollection.html +71 -71
- data/doc/rdoc/classes/Pho/RDF_JSON.html +118 -0
- data/doc/rdoc/classes/Pho/RDF_JSON/SetAlgebra.html +240 -0
- data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
- data/doc/rdoc/classes/Pho/Status.html +26 -26
- data/doc/rdoc/classes/Pho/Store.html +342 -264
- data/doc/rdoc/classes/Pho/Update.html +127 -0
- data/doc/rdoc/classes/Pho/Update/Changeset.html +520 -0
- data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +330 -0
- data/doc/rdoc/classes/Pho/Update/Changesets.html +204 -0
- data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +248 -0
- data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +213 -0
- data/doc/rdoc/classes/Pho/Update/Statement.html +302 -0
- data/doc/rdoc/classes/String.html +146 -0
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +33 -2
- data/doc/rdoc/files/lib/pho/changeset_builder_rb.html +108 -0
- data/doc/rdoc/files/lib/pho/changeset_rb.html +108 -0
- data/doc/rdoc/files/lib/pho/job_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/query_profile_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/rdf_json_rb.html +101 -0
- data/doc/rdoc/files/lib/pho/store_rb.html +1 -1
- data/doc/rdoc/files/lib/pho_rb.html +4 -1
- data/doc/rdoc/fr_class_index.html +10 -0
- data/doc/rdoc/fr_file_index.html +3 -0
- data/doc/rdoc/fr_method_index.html +140 -110
- data/lib/pho.rb +14 -1
- data/lib/pho/changeset.rb +312 -0
- data/lib/pho/changeset_builder.rb +118 -0
- data/lib/pho/job.rb +1 -1
- data/lib/pho/query_profile.rb +1 -1
- data/lib/pho/rdf_json.rb +81 -0
- data/lib/pho/store.rb +63 -25
- data/tests/tc_changeset.rb +273 -0
- data/tests/tc_changeset_builder.rb +151 -0
- data/tests/tc_changesets.rb +96 -0
- data/tests/tc_metabox.rb +20 -2
- data/tests/tc_query_profile.rb +4 -2
- data/tests/tc_rdf_json.rb +273 -0
- data/tests/tc_search.rb +5 -5
- data/tests/tc_sparql.rb +12 -0
- data/tests/ts_pho.rb +5 -1
- metadata +25 -3
@@ -101,21 +101,21 @@ Platform API.
|
|
101
101
|
<h3 class="section-bar">Methods</h3>
|
102
102
|
|
103
103
|
<div class="name-list">
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
114
|
-
<a href="#
|
115
|
-
<a href="#
|
116
|
-
<a href="#
|
117
|
-
<a href="#
|
118
|
-
<a href="#
|
104
|
+
<a href="#M000037"><<</a>
|
105
|
+
<a href="#M000035">create_mapping</a>
|
106
|
+
<a href="#M000042">get_by_name</a>
|
107
|
+
<a href="#M000043">get_by_uri</a>
|
108
|
+
<a href="#M000038">get_name</a>
|
109
|
+
<a href="#M000039">get_property_uri</a>
|
110
|
+
<a href="#M000040">mapped_name?</a>
|
111
|
+
<a href="#M000041">mapped_uri?</a>
|
112
|
+
<a href="#M000036">new</a>
|
113
|
+
<a href="#M000034">read_from_store</a>
|
114
|
+
<a href="#M000044">remove</a>
|
115
|
+
<a href="#M000045">remove_by_name</a>
|
116
|
+
<a href="#M000046">remove_by_uri</a>
|
117
|
+
<a href="#M000047">to_rdf</a>
|
118
|
+
<a href="#M000048">upload</a>
|
119
119
|
</div>
|
120
120
|
</div>
|
121
121
|
|
@@ -169,11 +169,11 @@ URI for this resource
|
|
169
169
|
<div id="methods">
|
170
170
|
<h3 class="section-bar">Public Class methods</h3>
|
171
171
|
|
172
|
-
<div id="method-
|
173
|
-
<a name="
|
172
|
+
<div id="method-M000035" class="method-detail">
|
173
|
+
<a name="M000035"></a>
|
174
174
|
|
175
175
|
<div class="method-heading">
|
176
|
-
<a href="#
|
176
|
+
<a href="#M000035" class="method-signature">
|
177
177
|
<span class="method-name">create_mapping</span><span class="method-args">(store, property_uri, name, analyzer=nil)</span>
|
178
178
|
</a>
|
179
179
|
</div>
|
@@ -185,8 +185,8 @@ automatically assigning a unique identifier to it, and adding validating
|
|
185
185
|
the supplied data to ensure it matches the platform rules
|
186
186
|
</p>
|
187
187
|
<p><a class="source-toggle" href="#"
|
188
|
-
onclick="toggleCode('
|
189
|
-
<div class="method-source-code" id="
|
188
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
189
|
+
<div class="method-source-code" id="M000035-source">
|
190
190
|
<pre>
|
191
191
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 135</span>
|
192
192
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">FieldPredicateMap</span>.<span class="ruby-identifier">create_mapping</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">property_uri</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">analyzer</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -207,19 +207,19 @@ the supplied data to ensure it matches the platform rules
|
|
207
207
|
</div>
|
208
208
|
</div>
|
209
209
|
|
210
|
-
<div id="method-
|
211
|
-
<a name="
|
210
|
+
<div id="method-M000036" class="method-detail">
|
211
|
+
<a name="M000036"></a>
|
212
212
|
|
213
213
|
<div class="method-heading">
|
214
|
-
<a href="#
|
214
|
+
<a href="#M000036" class="method-signature">
|
215
215
|
<span class="method-name">new</span><span class="method-args">(uri, label, datatype_properties = [])</span>
|
216
216
|
</a>
|
217
217
|
</div>
|
218
218
|
|
219
219
|
<div class="method-description">
|
220
220
|
<p><a class="source-toggle" href="#"
|
221
|
-
onclick="toggleCode('
|
222
|
-
<div class="method-source-code" id="
|
221
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
222
|
+
<div class="method-source-code" id="M000036-source">
|
223
223
|
<pre>
|
224
224
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 149</span>
|
225
225
|
<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">datatype_properties</span> = [])
|
@@ -232,11 +232,11 @@ the supplied data to ensure it matches the platform rules
|
|
232
232
|
</div>
|
233
233
|
</div>
|
234
234
|
|
235
|
-
<div id="method-
|
236
|
-
<a name="
|
235
|
+
<div id="method-M000034" class="method-detail">
|
236
|
+
<a name="M000034"></a>
|
237
237
|
|
238
238
|
<div class="method-heading">
|
239
|
-
<a href="#
|
239
|
+
<a href="#M000034" class="method-signature">
|
240
240
|
<span class="method-name">read_from_store</span><span class="method-args">(store)</span>
|
241
241
|
</a>
|
242
242
|
</div>
|
@@ -248,8 +248,8 @@ the provided store. The method will retrieve the config as JSON, and parse
|
|
248
248
|
it to create an object instance.
|
249
249
|
</p>
|
250
250
|
<p><a class="source-toggle" href="#"
|
251
|
-
onclick="toggleCode('
|
252
|
-
<div class="method-source-code" id="
|
251
|
+
onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
|
252
|
+
<div class="method-source-code" id="M000034-source">
|
253
253
|
<pre>
|
254
254
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 109</span>
|
255
255
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">FieldPredicateMap</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
|
@@ -282,11 +282,11 @@ it to create an object instance.
|
|
282
282
|
|
283
283
|
<h3 class="section-bar">Public Instance methods</h3>
|
284
284
|
|
285
|
-
<div id="method-
|
286
|
-
<a name="
|
285
|
+
<div id="method-M000037" class="method-detail">
|
286
|
+
<a name="M000037"></a>
|
287
287
|
|
288
288
|
<div class="method-heading">
|
289
|
-
<a href="#
|
289
|
+
<a href="#M000037" class="method-signature">
|
290
290
|
<span class="method-name"><<</span><span class="method-args">(obj)</span>
|
291
291
|
</a>
|
292
292
|
</div>
|
@@ -298,8 +298,8 @@ this map. Note that the method does not validate the object, and neither
|
|
298
298
|
does it check for duplicate mappings.
|
299
299
|
</p>
|
300
300
|
<p><a class="source-toggle" href="#"
|
301
|
-
onclick="toggleCode('
|
302
|
-
<div class="method-source-code" id="
|
301
|
+
onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
|
302
|
+
<div class="method-source-code" id="M000037-source">
|
303
303
|
<pre>
|
304
304
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 158</span>
|
305
305
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">obj</span>)
|
@@ -310,11 +310,11 @@ does it check for duplicate mappings.
|
|
310
310
|
</div>
|
311
311
|
</div>
|
312
312
|
|
313
|
-
<div id="method-
|
314
|
-
<a name="
|
313
|
+
<div id="method-M000042" class="method-detail">
|
314
|
+
<a name="M000042"></a>
|
315
315
|
|
316
316
|
<div class="method-heading">
|
317
|
-
<a href="#
|
317
|
+
<a href="#M000042" class="method-signature">
|
318
318
|
<span class="method-name">get_by_name</span><span class="method-args">(name)</span>
|
319
319
|
</a>
|
320
320
|
</div>
|
@@ -325,8 +325,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> (if any) with
|
|
325
325
|
the following name mapping
|
326
326
|
</p>
|
327
327
|
<p><a class="source-toggle" href="#"
|
328
|
-
onclick="toggleCode('
|
329
|
-
<div class="method-source-code" id="
|
328
|
+
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
329
|
+
<div class="method-source-code" id="M000042-source">
|
330
330
|
<pre>
|
331
331
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 197</span>
|
332
332
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -337,11 +337,11 @@ the following name mapping
|
|
337
337
|
</div>
|
338
338
|
</div>
|
339
339
|
|
340
|
-
<div id="method-
|
341
|
-
<a name="
|
340
|
+
<div id="method-M000043" class="method-detail">
|
341
|
+
<a name="M000043"></a>
|
342
342
|
|
343
343
|
<div class="method-heading">
|
344
|
-
<a href="#
|
344
|
+
<a href="#M000043" class="method-signature">
|
345
345
|
<span class="method-name">get_by_uri</span><span class="method-args">(uri)</span>
|
346
346
|
</a>
|
347
347
|
</div>
|
@@ -352,8 +352,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> using a
|
|
352
352
|
property uri
|
353
353
|
</p>
|
354
354
|
<p><a class="source-toggle" href="#"
|
355
|
-
onclick="toggleCode('
|
356
|
-
<div class="method-source-code" id="
|
355
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
356
|
+
<div class="method-source-code" id="M000043-source">
|
357
357
|
<pre>
|
358
358
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 202</span>
|
359
359
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_uri</span>(<span class="ruby-identifier">uri</span>)
|
@@ -364,11 +364,11 @@ property uri
|
|
364
364
|
</div>
|
365
365
|
</div>
|
366
366
|
|
367
|
-
<div id="method-
|
368
|
-
<a name="
|
367
|
+
<div id="method-M000038" class="method-detail">
|
368
|
+
<a name="M000038"></a>
|
369
369
|
|
370
370
|
<div class="method-heading">
|
371
|
-
<a href="#
|
371
|
+
<a href="#M000038" class="method-signature">
|
372
372
|
<span class="method-name">get_name</span><span class="method-args">(uri)</span>
|
373
373
|
</a>
|
374
374
|
</div>
|
@@ -383,8 +383,8 @@ Lookup the name mapped to the specified uri
|
|
383
383
|
</td></tr>
|
384
384
|
</table>
|
385
385
|
<p><a class="source-toggle" href="#"
|
386
|
-
onclick="toggleCode('
|
387
|
-
<div class="method-source-code" id="
|
386
|
+
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
387
|
+
<div class="method-source-code" id="M000038-source">
|
388
388
|
<pre>
|
389
389
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 165</span>
|
390
390
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_name</span>(<span class="ruby-identifier">uri</span>)
|
@@ -400,11 +400,11 @@ Lookup the name mapped to the specified uri
|
|
400
400
|
</div>
|
401
401
|
</div>
|
402
402
|
|
403
|
-
<div id="method-
|
404
|
-
<a name="
|
403
|
+
<div id="method-M000039" class="method-detail">
|
404
|
+
<a name="M000039"></a>
|
405
405
|
|
406
406
|
<div class="method-heading">
|
407
|
-
<a href="#
|
407
|
+
<a href="#M000039" class="method-signature">
|
408
408
|
<span class="method-name">get_property_uri</span><span class="method-args">(name)</span>
|
409
409
|
</a>
|
410
410
|
</div>
|
@@ -419,8 +419,8 @@ Lookup the property mapped to the specified name
|
|
419
419
|
</td></tr>
|
420
420
|
</table>
|
421
421
|
<p><a class="source-toggle" href="#"
|
422
|
-
onclick="toggleCode('
|
423
|
-
<div class="method-source-code" id="
|
422
|
+
onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
|
423
|
+
<div class="method-source-code" id="M000039-source">
|
424
424
|
<pre>
|
425
425
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 177</span>
|
426
426
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property_uri</span>(<span class="ruby-identifier">name</span>)
|
@@ -436,11 +436,11 @@ Lookup the property mapped to the specified name
|
|
436
436
|
</div>
|
437
437
|
</div>
|
438
438
|
|
439
|
-
<div id="method-
|
440
|
-
<a name="
|
439
|
+
<div id="method-M000040" class="method-detail">
|
440
|
+
<a name="M000040"></a>
|
441
441
|
|
442
442
|
<div class="method-heading">
|
443
|
-
<a href="#
|
443
|
+
<a href="#M000040" class="method-signature">
|
444
444
|
<span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
|
445
445
|
</a>
|
446
446
|
</div>
|
@@ -450,8 +450,8 @@ Lookup the property mapped to the specified name
|
|
450
450
|
Is there a mapping for a property with this name?
|
451
451
|
</p>
|
452
452
|
<p><a class="source-toggle" href="#"
|
453
|
-
onclick="toggleCode('
|
454
|
-
<div class="method-source-code" id="
|
453
|
+
onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
|
454
|
+
<div class="method-source-code" id="M000040-source">
|
455
455
|
<pre>
|
456
456
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 187</span>
|
457
457
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
|
@@ -462,11 +462,11 @@ Is there a mapping for a property with this name?
|
|
462
462
|
</div>
|
463
463
|
</div>
|
464
464
|
|
465
|
-
<div id="method-
|
466
|
-
<a name="
|
465
|
+
<div id="method-M000041" class="method-detail">
|
466
|
+
<a name="M000041"></a>
|
467
467
|
|
468
468
|
<div class="method-heading">
|
469
|
-
<a href="#
|
469
|
+
<a href="#M000041" class="method-signature">
|
470
470
|
<span class="method-name">mapped_uri?</span><span class="method-args">(uri)</span>
|
471
471
|
</a>
|
472
472
|
</div>
|
@@ -476,8 +476,8 @@ Is there a mapping for a property with this name?
|
|
476
476
|
Is there a mapping for this uri?
|
477
477
|
</p>
|
478
478
|
<p><a class="source-toggle" href="#"
|
479
|
-
onclick="toggleCode('
|
480
|
-
<div class="method-source-code" id="
|
479
|
+
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
480
|
+
<div class="method-source-code" id="M000041-source">
|
481
481
|
<pre>
|
482
482
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 192</span>
|
483
483
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_uri?</span>(<span class="ruby-identifier">uri</span>)
|
@@ -488,11 +488,11 @@ Is there a mapping for this uri?
|
|
488
488
|
</div>
|
489
489
|
</div>
|
490
490
|
|
491
|
-
<div id="method-
|
492
|
-
<a name="
|
491
|
+
<div id="method-M000044" class="method-detail">
|
492
|
+
<a name="M000044"></a>
|
493
493
|
|
494
494
|
<div class="method-heading">
|
495
|
-
<a href="#
|
495
|
+
<a href="#M000044" class="method-signature">
|
496
496
|
<span class="method-name">remove</span><span class="method-args">(datatype_property)</span>
|
497
497
|
</a>
|
498
498
|
</div>
|
@@ -503,8 +503,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> from the
|
|
503
503
|
collection
|
504
504
|
</p>
|
505
505
|
<p><a class="source-toggle" href="#"
|
506
|
-
onclick="toggleCode('
|
507
|
-
<div class="method-source-code" id="
|
506
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
507
|
+
<div class="method-source-code" id="M000044-source">
|
508
508
|
<pre>
|
509
509
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 207</span>
|
510
510
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">datatype_property</span>)
|
@@ -515,11 +515,11 @@ collection
|
|
515
515
|
</div>
|
516
516
|
</div>
|
517
517
|
|
518
|
-
<div id="method-
|
519
|
-
<a name="
|
518
|
+
<div id="method-M000045" class="method-detail">
|
519
|
+
<a name="M000045"></a>
|
520
520
|
|
521
521
|
<div class="method-heading">
|
522
|
-
<a href="#
|
522
|
+
<a href="#M000045" class="method-signature">
|
523
523
|
<span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
|
524
524
|
</a>
|
525
525
|
</div>
|
@@ -530,8 +530,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
|
|
530
530
|
name
|
531
531
|
</p>
|
532
532
|
<p><a class="source-toggle" href="#"
|
533
|
-
onclick="toggleCode('
|
534
|
-
<div class="method-source-code" id="
|
533
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
534
|
+
<div class="method-source-code" id="M000045-source">
|
535
535
|
<pre>
|
536
536
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 212</span>
|
537
537
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -545,11 +545,11 @@ name
|
|
545
545
|
</div>
|
546
546
|
</div>
|
547
547
|
|
548
|
-
<div id="method-
|
549
|
-
<a name="
|
548
|
+
<div id="method-M000046" class="method-detail">
|
549
|
+
<a name="M000046"></a>
|
550
550
|
|
551
551
|
<div class="method-heading">
|
552
|
-
<a href="#
|
552
|
+
<a href="#M000046" class="method-signature">
|
553
553
|
<span class="method-name">remove_by_uri</span><span class="method-args">(uri)</span>
|
554
554
|
</a>
|
555
555
|
</div>
|
@@ -560,8 +560,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
|
|
560
560
|
uri
|
561
561
|
</p>
|
562
562
|
<p><a class="source-toggle" href="#"
|
563
|
-
onclick="toggleCode('
|
564
|
-
<div class="method-source-code" id="
|
563
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
564
|
+
<div class="method-source-code" id="M000046-source">
|
565
565
|
<pre>
|
566
566
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 220</span>
|
567
567
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_uri</span>(<span class="ruby-identifier">uri</span>)
|
@@ -575,11 +575,11 @@ uri
|
|
575
575
|
</div>
|
576
576
|
</div>
|
577
577
|
|
578
|
-
<div id="method-
|
579
|
-
<a name="
|
578
|
+
<div id="method-M000047" class="method-detail">
|
579
|
+
<a name="M000047"></a>
|
580
580
|
|
581
581
|
<div class="method-heading">
|
582
|
-
<a href="#
|
582
|
+
<a href="#M000047" class="method-signature">
|
583
583
|
<span class="method-name">to_rdf</span><span class="method-args">()</span>
|
584
584
|
</a>
|
585
585
|
</div>
|
@@ -590,8 +590,8 @@ Dump this object to an RDF/XML representation suitable for submitting to
|
|
590
590
|
the Platform
|
591
591
|
</p>
|
592
592
|
<p><a class="source-toggle" href="#"
|
593
|
-
onclick="toggleCode('
|
594
|
-
<div class="method-source-code" id="
|
593
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
594
|
+
<div class="method-source-code" id="M000047-source">
|
595
595
|
<pre>
|
596
596
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 228</span>
|
597
597
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
|
@@ -622,11 +622,11 @@ the Platform
|
|
622
622
|
</div>
|
623
623
|
</div>
|
624
624
|
|
625
|
-
<div id="method-
|
626
|
-
<a name="
|
625
|
+
<div id="method-M000048" class="method-detail">
|
626
|
+
<a name="M000048"></a>
|
627
627
|
|
628
628
|
<div class="method-heading">
|
629
|
-
<a href="#
|
629
|
+
<a href="#M000048" class="method-signature">
|
630
630
|
<span class="method-name">upload</span><span class="method-args">(store)</span>
|
631
631
|
</a>
|
632
632
|
</div>
|
@@ -637,8 +637,8 @@ Upload an RDF/XML presentation of this object to the provided Platform <a
|
|
637
637
|
href="Store.html">Store</a>
|
638
638
|
</p>
|
639
639
|
<p><a class="source-toggle" href="#"
|
640
|
-
onclick="toggleCode('
|
641
|
-
<div class="method-source-code" id="
|
640
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
641
|
+
<div class="method-source-code" id="M000048-source">
|
642
642
|
<pre>
|
643
643
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 253</span>
|
644
644
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">store</span>)
|
@@ -93,8 +93,8 @@ href="QueryProfile.html">QueryProfile</a>
|
|
93
93
|
<h3 class="section-bar">Methods</h3>
|
94
94
|
|
95
95
|
<div class="name-list">
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
96
|
+
<a href="#M000122">new</a>
|
97
|
+
<a href="#M000123">to_rdf</a>
|
98
98
|
</div>
|
99
99
|
</div>
|
100
100
|
|
@@ -148,19 +148,19 @@ The weighting applied to the field
|
|
148
148
|
<div id="methods">
|
149
149
|
<h3 class="section-bar">Public Class methods</h3>
|
150
150
|
|
151
|
-
<div id="method-
|
152
|
-
<a name="
|
151
|
+
<div id="method-M000122" class="method-detail">
|
152
|
+
<a name="M000122"></a>
|
153
153
|
|
154
154
|
<div class="method-heading">
|
155
|
-
<a href="#
|
155
|
+
<a href="#M000122" class="method-signature">
|
156
156
|
<span class="method-name">new</span><span class="method-args">(uri, name, weight)</span>
|
157
157
|
</a>
|
158
158
|
</div>
|
159
159
|
|
160
160
|
<div class="method-description">
|
161
161
|
<p><a class="source-toggle" href="#"
|
162
|
-
onclick="toggleCode('
|
163
|
-
<div class="method-source-code" id="
|
162
|
+
onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
|
163
|
+
<div class="method-source-code" id="M000122-source">
|
164
164
|
<pre>
|
165
165
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 15</span>
|
166
166
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">weight</span>)
|
@@ -175,11 +175,11 @@ The weighting applied to the field
|
|
175
175
|
|
176
176
|
<h3 class="section-bar">Public Instance methods</h3>
|
177
177
|
|
178
|
-
<div id="method-
|
179
|
-
<a name="
|
178
|
+
<div id="method-M000123" class="method-detail">
|
179
|
+
<a name="M000123"></a>
|
180
180
|
|
181
181
|
<div class="method-heading">
|
182
|
-
<a href="#
|
182
|
+
<a href="#M000123" class="method-signature">
|
183
183
|
<span class="method-name">to_rdf</span><span class="method-args">(ns=true)</span>
|
184
184
|
</a>
|
185
185
|
</div>
|
@@ -195,8 +195,8 @@ rdf:Description, optionally including namespaces
|
|
195
195
|
</td></tr>
|
196
196
|
</table>
|
197
197
|
<p><a class="source-toggle" href="#"
|
198
|
-
onclick="toggleCode('
|
199
|
-
<div class="method-source-code" id="
|
198
|
+
onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
|
199
|
+
<div class="method-source-code" id="M000123-source">
|
200
200
|
<pre>
|
201
201
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 23</span>
|
202
202
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>(<span class="ruby-identifier">ns</span>=<span class="ruby-keyword kw">true</span>)
|