pho 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/Rakefile +1 -1
- data/bin/talis_store +1 -1
- data/doc/rdoc/classes/Pho/CommandLine.html +108 -108
- data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
- data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
- 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 +60 -60
- data/doc/rdoc/classes/Pho/OAI/Record.html +11 -11
- data/doc/rdoc/classes/Pho/OAI/Records.html +96 -18
- data/doc/rdoc/classes/Pho/QueryProfile.html +60 -60
- data/doc/rdoc/classes/Pho/RDF/Parser.html +24 -24
- data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
- data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
- 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 +232 -222
- data/doc/rdoc/classes/Pho/StoreSparqlClient.html +14 -14
- data/doc/rdoc/classes/String.html +1 -1
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +8 -1
- data/doc/rdoc/files/lib/pho/oai_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/store_rb.html +1 -1
- data/doc/rdoc/files/lib/pho_rb.html +2 -1
- data/doc/rdoc/fr_method_index.html +148 -147
- data/lib/pho.rb +1 -0
- data/lib/pho/oai.rb +53 -16
- data/lib/pho/store.rb +12 -2
- data/tests/tc_oai.rb +109 -2
- metadata +3 -3
@@ -92,7 +92,7 @@ Captures the information about a specific term
|
|
92
92
|
<h3 class="section-bar">Methods</h3>
|
93
93
|
|
94
94
|
<div class="name-list">
|
95
|
-
<a href="#
|
95
|
+
<a href="#M000077">new</a>
|
96
96
|
</div>
|
97
97
|
</div>
|
98
98
|
|
@@ -137,19 +137,19 @@ Captures the information about a specific term
|
|
137
137
|
<div id="methods">
|
138
138
|
<h3 class="section-bar">Public Class methods</h3>
|
139
139
|
|
140
|
-
<div id="method-
|
141
|
-
<a name="
|
140
|
+
<div id="method-M000077" class="method-detail">
|
141
|
+
<a name="M000077"></a>
|
142
142
|
|
143
143
|
<div class="method-heading">
|
144
|
-
<a href="#
|
144
|
+
<a href="#M000077" class="method-signature">
|
145
145
|
<span class="method-name">new</span><span class="method-args">(hits, search_uri, value)</span>
|
146
146
|
</a>
|
147
147
|
</div>
|
148
148
|
|
149
149
|
<div class="method-description">
|
150
150
|
<p><a class="source-toggle" href="#"
|
151
|
-
onclick="toggleCode('
|
152
|
-
<div class="method-source-code" id="
|
151
|
+
onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
|
152
|
+
<div class="method-source-code" id="M000077-source">
|
153
153
|
<pre>
|
154
154
|
<span class="ruby-comment cmt"># File lib/pho/facet.rb, line 12</span>
|
155
155
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">hits</span>, <span class="ruby-identifier">search_uri</span>, <span class="ruby-identifier">value</span>)
|
@@ -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="#M000097"><<</a>
|
105
|
+
<a href="#M000095">create_mapping</a>
|
106
|
+
<a href="#M000102">get_by_name</a>
|
107
|
+
<a href="#M000103">get_by_uri</a>
|
108
|
+
<a href="#M000098">get_name</a>
|
109
|
+
<a href="#M000099">get_property_uri</a>
|
110
|
+
<a href="#M000100">mapped_name?</a>
|
111
|
+
<a href="#M000101">mapped_uri?</a>
|
112
|
+
<a href="#M000096">new</a>
|
113
|
+
<a href="#M000094">read_from_store</a>
|
114
|
+
<a href="#M000104">remove</a>
|
115
|
+
<a href="#M000105">remove_by_name</a>
|
116
|
+
<a href="#M000106">remove_by_uri</a>
|
117
|
+
<a href="#M000107">to_rdf</a>
|
118
|
+
<a href="#M000108">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-M000095" class="method-detail">
|
173
|
+
<a name="M000095"></a>
|
174
174
|
|
175
175
|
<div class="method-heading">
|
176
|
-
<a href="#
|
176
|
+
<a href="#M000095" 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('M000095-source');return false;">[Source]</a></p>
|
189
|
+
<div class="method-source-code" id="M000095-source">
|
190
190
|
<pre>
|
191
191
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 139</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-M000096" class="method-detail">
|
211
|
+
<a name="M000096"></a>
|
212
212
|
|
213
213
|
<div class="method-heading">
|
214
|
-
<a href="#
|
214
|
+
<a href="#M000096" 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('M000096-source');return false;">[Source]</a></p>
|
222
|
+
<div class="method-source-code" id="M000096-source">
|
223
223
|
<pre>
|
224
224
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 153</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-M000094" class="method-detail">
|
236
|
+
<a name="M000094"></a>
|
237
237
|
|
238
238
|
<div class="method-heading">
|
239
|
-
<a href="#
|
239
|
+
<a href="#M000094" 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('M000094-source');return false;">[Source]</a></p>
|
252
|
+
<div class="method-source-code" id="M000094-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>)
|
@@ -286,11 +286,11 @@ it to create an object instance.
|
|
286
286
|
|
287
287
|
<h3 class="section-bar">Public Instance methods</h3>
|
288
288
|
|
289
|
-
<div id="method-
|
290
|
-
<a name="
|
289
|
+
<div id="method-M000097" class="method-detail">
|
290
|
+
<a name="M000097"></a>
|
291
291
|
|
292
292
|
<div class="method-heading">
|
293
|
-
<a href="#
|
293
|
+
<a href="#M000097" class="method-signature">
|
294
294
|
<span class="method-name"><<</span><span class="method-args">(obj)</span>
|
295
295
|
</a>
|
296
296
|
</div>
|
@@ -302,8 +302,8 @@ this map. Note that the method does not validate the object, and neither
|
|
302
302
|
does it check for duplicate mappings.
|
303
303
|
</p>
|
304
304
|
<p><a class="source-toggle" href="#"
|
305
|
-
onclick="toggleCode('
|
306
|
-
<div class="method-source-code" id="
|
305
|
+
onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
|
306
|
+
<div class="method-source-code" id="M000097-source">
|
307
307
|
<pre>
|
308
308
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 162</span>
|
309
309
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">obj</span>)
|
@@ -314,11 +314,11 @@ does it check for duplicate mappings.
|
|
314
314
|
</div>
|
315
315
|
</div>
|
316
316
|
|
317
|
-
<div id="method-
|
318
|
-
<a name="
|
317
|
+
<div id="method-M000102" class="method-detail">
|
318
|
+
<a name="M000102"></a>
|
319
319
|
|
320
320
|
<div class="method-heading">
|
321
|
-
<a href="#
|
321
|
+
<a href="#M000102" class="method-signature">
|
322
322
|
<span class="method-name">get_by_name</span><span class="method-args">(name)</span>
|
323
323
|
</a>
|
324
324
|
</div>
|
@@ -329,8 +329,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> (if any) with
|
|
329
329
|
the following name mapping
|
330
330
|
</p>
|
331
331
|
<p><a class="source-toggle" href="#"
|
332
|
-
onclick="toggleCode('
|
333
|
-
<div class="method-source-code" id="
|
332
|
+
onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
|
333
|
+
<div class="method-source-code" id="M000102-source">
|
334
334
|
<pre>
|
335
335
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 201</span>
|
336
336
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -341,11 +341,11 @@ the following name mapping
|
|
341
341
|
</div>
|
342
342
|
</div>
|
343
343
|
|
344
|
-
<div id="method-
|
345
|
-
<a name="
|
344
|
+
<div id="method-M000103" class="method-detail">
|
345
|
+
<a name="M000103"></a>
|
346
346
|
|
347
347
|
<div class="method-heading">
|
348
|
-
<a href="#
|
348
|
+
<a href="#M000103" class="method-signature">
|
349
349
|
<span class="method-name">get_by_uri</span><span class="method-args">(uri)</span>
|
350
350
|
</a>
|
351
351
|
</div>
|
@@ -356,8 +356,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> using a
|
|
356
356
|
property uri
|
357
357
|
</p>
|
358
358
|
<p><a class="source-toggle" href="#"
|
359
|
-
onclick="toggleCode('
|
360
|
-
<div class="method-source-code" id="
|
359
|
+
onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
|
360
|
+
<div class="method-source-code" id="M000103-source">
|
361
361
|
<pre>
|
362
362
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 206</span>
|
363
363
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_uri</span>(<span class="ruby-identifier">uri</span>)
|
@@ -368,11 +368,11 @@ property uri
|
|
368
368
|
</div>
|
369
369
|
</div>
|
370
370
|
|
371
|
-
<div id="method-
|
372
|
-
<a name="
|
371
|
+
<div id="method-M000098" class="method-detail">
|
372
|
+
<a name="M000098"></a>
|
373
373
|
|
374
374
|
<div class="method-heading">
|
375
|
-
<a href="#
|
375
|
+
<a href="#M000098" class="method-signature">
|
376
376
|
<span class="method-name">get_name</span><span class="method-args">(uri)</span>
|
377
377
|
</a>
|
378
378
|
</div>
|
@@ -387,8 +387,8 @@ Lookup the name mapped to the specified uri
|
|
387
387
|
</td></tr>
|
388
388
|
</table>
|
389
389
|
<p><a class="source-toggle" href="#"
|
390
|
-
onclick="toggleCode('
|
391
|
-
<div class="method-source-code" id="
|
390
|
+
onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
|
391
|
+
<div class="method-source-code" id="M000098-source">
|
392
392
|
<pre>
|
393
393
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 169</span>
|
394
394
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_name</span>(<span class="ruby-identifier">uri</span>)
|
@@ -404,11 +404,11 @@ Lookup the name mapped to the specified uri
|
|
404
404
|
</div>
|
405
405
|
</div>
|
406
406
|
|
407
|
-
<div id="method-
|
408
|
-
<a name="
|
407
|
+
<div id="method-M000099" class="method-detail">
|
408
|
+
<a name="M000099"></a>
|
409
409
|
|
410
410
|
<div class="method-heading">
|
411
|
-
<a href="#
|
411
|
+
<a href="#M000099" class="method-signature">
|
412
412
|
<span class="method-name">get_property_uri</span><span class="method-args">(name)</span>
|
413
413
|
</a>
|
414
414
|
</div>
|
@@ -423,8 +423,8 @@ Lookup the property mapped to the specified name
|
|
423
423
|
</td></tr>
|
424
424
|
</table>
|
425
425
|
<p><a class="source-toggle" href="#"
|
426
|
-
onclick="toggleCode('
|
427
|
-
<div class="method-source-code" id="
|
426
|
+
onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
|
427
|
+
<div class="method-source-code" id="M000099-source">
|
428
428
|
<pre>
|
429
429
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 181</span>
|
430
430
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property_uri</span>(<span class="ruby-identifier">name</span>)
|
@@ -440,11 +440,11 @@ Lookup the property mapped to the specified name
|
|
440
440
|
</div>
|
441
441
|
</div>
|
442
442
|
|
443
|
-
<div id="method-
|
444
|
-
<a name="
|
443
|
+
<div id="method-M000100" class="method-detail">
|
444
|
+
<a name="M000100"></a>
|
445
445
|
|
446
446
|
<div class="method-heading">
|
447
|
-
<a href="#
|
447
|
+
<a href="#M000100" class="method-signature">
|
448
448
|
<span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
|
449
449
|
</a>
|
450
450
|
</div>
|
@@ -454,8 +454,8 @@ Lookup the property mapped to the specified name
|
|
454
454
|
Is there a mapping for a property with this name?
|
455
455
|
</p>
|
456
456
|
<p><a class="source-toggle" href="#"
|
457
|
-
onclick="toggleCode('
|
458
|
-
<div class="method-source-code" id="
|
457
|
+
onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
|
458
|
+
<div class="method-source-code" id="M000100-source">
|
459
459
|
<pre>
|
460
460
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 191</span>
|
461
461
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
|
@@ -466,11 +466,11 @@ Is there a mapping for a property with this name?
|
|
466
466
|
</div>
|
467
467
|
</div>
|
468
468
|
|
469
|
-
<div id="method-
|
470
|
-
<a name="
|
469
|
+
<div id="method-M000101" class="method-detail">
|
470
|
+
<a name="M000101"></a>
|
471
471
|
|
472
472
|
<div class="method-heading">
|
473
|
-
<a href="#
|
473
|
+
<a href="#M000101" class="method-signature">
|
474
474
|
<span class="method-name">mapped_uri?</span><span class="method-args">(uri)</span>
|
475
475
|
</a>
|
476
476
|
</div>
|
@@ -480,8 +480,8 @@ Is there a mapping for a property with this name?
|
|
480
480
|
Is there a mapping for this uri?
|
481
481
|
</p>
|
482
482
|
<p><a class="source-toggle" href="#"
|
483
|
-
onclick="toggleCode('
|
484
|
-
<div class="method-source-code" id="
|
483
|
+
onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
|
484
|
+
<div class="method-source-code" id="M000101-source">
|
485
485
|
<pre>
|
486
486
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 196</span>
|
487
487
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_uri?</span>(<span class="ruby-identifier">uri</span>)
|
@@ -492,11 +492,11 @@ Is there a mapping for this uri?
|
|
492
492
|
</div>
|
493
493
|
</div>
|
494
494
|
|
495
|
-
<div id="method-
|
496
|
-
<a name="
|
495
|
+
<div id="method-M000104" class="method-detail">
|
496
|
+
<a name="M000104"></a>
|
497
497
|
|
498
498
|
<div class="method-heading">
|
499
|
-
<a href="#
|
499
|
+
<a href="#M000104" class="method-signature">
|
500
500
|
<span class="method-name">remove</span><span class="method-args">(datatype_property)</span>
|
501
501
|
</a>
|
502
502
|
</div>
|
@@ -507,8 +507,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> from the
|
|
507
507
|
collection
|
508
508
|
</p>
|
509
509
|
<p><a class="source-toggle" href="#"
|
510
|
-
onclick="toggleCode('
|
511
|
-
<div class="method-source-code" id="
|
510
|
+
onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
|
511
|
+
<div class="method-source-code" id="M000104-source">
|
512
512
|
<pre>
|
513
513
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 211</span>
|
514
514
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">datatype_property</span>)
|
@@ -519,11 +519,11 @@ collection
|
|
519
519
|
</div>
|
520
520
|
</div>
|
521
521
|
|
522
|
-
<div id="method-
|
523
|
-
<a name="
|
522
|
+
<div id="method-M000105" class="method-detail">
|
523
|
+
<a name="M000105"></a>
|
524
524
|
|
525
525
|
<div class="method-heading">
|
526
|
-
<a href="#
|
526
|
+
<a href="#M000105" class="method-signature">
|
527
527
|
<span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
|
528
528
|
</a>
|
529
529
|
</div>
|
@@ -534,8 +534,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
|
|
534
534
|
name
|
535
535
|
</p>
|
536
536
|
<p><a class="source-toggle" href="#"
|
537
|
-
onclick="toggleCode('
|
538
|
-
<div class="method-source-code" id="
|
537
|
+
onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
|
538
|
+
<div class="method-source-code" id="M000105-source">
|
539
539
|
<pre>
|
540
540
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 216</span>
|
541
541
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -549,11 +549,11 @@ name
|
|
549
549
|
</div>
|
550
550
|
</div>
|
551
551
|
|
552
|
-
<div id="method-
|
553
|
-
<a name="
|
552
|
+
<div id="method-M000106" class="method-detail">
|
553
|
+
<a name="M000106"></a>
|
554
554
|
|
555
555
|
<div class="method-heading">
|
556
|
-
<a href="#
|
556
|
+
<a href="#M000106" class="method-signature">
|
557
557
|
<span class="method-name">remove_by_uri</span><span class="method-args">(uri)</span>
|
558
558
|
</a>
|
559
559
|
</div>
|
@@ -564,8 +564,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
|
|
564
564
|
uri
|
565
565
|
</p>
|
566
566
|
<p><a class="source-toggle" href="#"
|
567
|
-
onclick="toggleCode('
|
568
|
-
<div class="method-source-code" id="
|
567
|
+
onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
|
568
|
+
<div class="method-source-code" id="M000106-source">
|
569
569
|
<pre>
|
570
570
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 224</span>
|
571
571
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_uri</span>(<span class="ruby-identifier">uri</span>)
|
@@ -579,11 +579,11 @@ uri
|
|
579
579
|
</div>
|
580
580
|
</div>
|
581
581
|
|
582
|
-
<div id="method-
|
583
|
-
<a name="
|
582
|
+
<div id="method-M000107" class="method-detail">
|
583
|
+
<a name="M000107"></a>
|
584
584
|
|
585
585
|
<div class="method-heading">
|
586
|
-
<a href="#
|
586
|
+
<a href="#M000107" class="method-signature">
|
587
587
|
<span class="method-name">to_rdf</span><span class="method-args">()</span>
|
588
588
|
</a>
|
589
589
|
</div>
|
@@ -594,8 +594,8 @@ Dump this object to an <a href="RDF.html">RDF</a>/XML representation
|
|
594
594
|
suitable for submitting to the Platform
|
595
595
|
</p>
|
596
596
|
<p><a class="source-toggle" href="#"
|
597
|
-
onclick="toggleCode('
|
598
|
-
<div class="method-source-code" id="
|
597
|
+
onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
|
598
|
+
<div class="method-source-code" id="M000107-source">
|
599
599
|
<pre>
|
600
600
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 232</span>
|
601
601
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
|
@@ -626,11 +626,11 @@ suitable for submitting to the Platform
|
|
626
626
|
</div>
|
627
627
|
</div>
|
628
628
|
|
629
|
-
<div id="method-
|
630
|
-
<a name="
|
629
|
+
<div id="method-M000108" class="method-detail">
|
630
|
+
<a name="M000108"></a>
|
631
631
|
|
632
632
|
<div class="method-heading">
|
633
|
-
<a href="#
|
633
|
+
<a href="#M000108" class="method-signature">
|
634
634
|
<span class="method-name">upload</span><span class="method-args">(store)</span>
|
635
635
|
</a>
|
636
636
|
</div>
|
@@ -641,8 +641,8 @@ Upload an <a href="RDF.html">RDF</a>/XML presentation of this object to the
|
|
641
641
|
provided Platform <a href="Store.html">Store</a>
|
642
642
|
</p>
|
643
643
|
<p><a class="source-toggle" href="#"
|
644
|
-
onclick="toggleCode('
|
645
|
-
<div class="method-source-code" id="
|
644
|
+
onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
|
645
|
+
<div class="method-source-code" id="M000108-source">
|
646
646
|
<pre>
|
647
647
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 257</span>
|
648
648
|
<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="#M000204">new</a>
|
97
|
+
<a href="#M000205">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-M000204" class="method-detail">
|
152
|
+
<a name="M000204"></a>
|
153
153
|
|
154
154
|
<div class="method-heading">
|
155
|
-
<a href="#
|
155
|
+
<a href="#M000204" 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('M000204-source');return false;">[Source]</a></p>
|
163
|
+
<div class="method-source-code" id="M000204-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-M000205" class="method-detail">
|
179
|
+
<a name="M000205"></a>
|
180
180
|
|
181
181
|
<div class="method-heading">
|
182
|
-
<a href="#
|
182
|
+
<a href="#M000205" 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 @@ Generates a simple 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('M000205-source');return false;">[Source]</a></p>
|
199
|
+
<div class="method-source-code" id="M000205-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>)
|