pho 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/CHANGES +9 -0
  2. data/Rakefile +1 -1
  3. data/doc/index.html +1 -1
  4. data/doc/rdoc/classes/Pho/CommandLine.html +108 -108
  5. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  6. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  7. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  8. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  9. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  10. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +146 -112
  11. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  12. data/doc/rdoc/classes/Pho/Job.html +64 -64
  13. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  14. data/doc/rdoc/classes/Pho/OAI.html +1 -0
  15. data/doc/rdoc/classes/Pho/OAI/Record.html +1 -1
  16. data/doc/rdoc/classes/Pho/OAI/Records.html +4 -4
  17. data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
  18. data/doc/rdoc/classes/Pho/RDF/Parser.html +24 -24
  19. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  20. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  21. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  22. data/doc/rdoc/classes/Pho/Status.html +26 -26
  23. data/doc/rdoc/classes/Pho/Store.html +215 -215
  24. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
  25. data/doc/rdoc/classes/String.html +1 -1
  26. data/doc/rdoc/created.rid +1 -1
  27. data/doc/rdoc/files/CHANGES.html +17 -1
  28. data/doc/rdoc/files/lib/pho/field_predicate_map_rb.html +1 -1
  29. data/doc/rdoc/files/lib/pho/oai_rb.html +1 -1
  30. data/doc/rdoc/files/lib/pho_rb.html +2 -1
  31. data/doc/rdoc/fr_class_index.html +1 -0
  32. data/doc/rdoc/fr_method_index.html +152 -149
  33. data/lib/pho.rb +1 -0
  34. data/lib/pho/field_predicate_map.rb +18 -7
  35. data/lib/pho/oai.rb +25 -0
  36. data/tests/tc_command_line.rb +1 -1
  37. data/tests/tc_field_predicate_map.rb +36 -5
  38. data/tests/tc_oai.rb +37 -0
  39. metadata +4 -4
@@ -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="#M000081">new</a>&nbsp;&nbsp;
95
+ <a href="#M000083">new</a>&nbsp;&nbsp;
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-M000081" class="method-detail">
141
- <a name="M000081"></a>
140
+ <div id="method-M000083" class="method-detail">
141
+ <a name="M000083"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000081" class="method-signature">
144
+ <a href="#M000083" 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('M000081-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000081-source">
151
+ onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000083-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,22 +101,23 @@ Platform API.
101
101
  <h3 class="section-bar">Methods</h3>
102
102
 
103
103
  <div class="name-list">
104
- <a href="#M000097">&lt;&lt;</a>&nbsp;&nbsp;
105
- <a href="#M000095">create_mapping</a>&nbsp;&nbsp;
106
- <a href="#M000102">get_by_name</a>&nbsp;&nbsp;
107
- <a href="#M000103">get_by_uri</a>&nbsp;&nbsp;
108
- <a href="#M000098">get_name</a>&nbsp;&nbsp;
109
- <a href="#M000099">get_property_uri</a>&nbsp;&nbsp;
110
- <a href="#M000100">mapped_name?</a>&nbsp;&nbsp;
111
- <a href="#M000101">mapped_uri?</a>&nbsp;&nbsp;
112
- <a href="#M000096">new</a>&nbsp;&nbsp;
113
- <a href="#M000094">read_from_store</a>&nbsp;&nbsp;
114
- <a href="#M000104">remove</a>&nbsp;&nbsp;
115
- <a href="#M000107">remove_all</a>&nbsp;&nbsp;
116
- <a href="#M000105">remove_by_name</a>&nbsp;&nbsp;
117
- <a href="#M000106">remove_by_uri</a>&nbsp;&nbsp;
118
- <a href="#M000108">to_rdf</a>&nbsp;&nbsp;
119
- <a href="#M000109">upload</a>&nbsp;&nbsp;
104
+ <a href="#M000100">&lt;&lt;</a>&nbsp;&nbsp;
105
+ <a href="#M000098">add_mapping</a>&nbsp;&nbsp;
106
+ <a href="#M000097">create_mapping</a>&nbsp;&nbsp;
107
+ <a href="#M000105">get_by_name</a>&nbsp;&nbsp;
108
+ <a href="#M000106">get_by_uri</a>&nbsp;&nbsp;
109
+ <a href="#M000101">get_name</a>&nbsp;&nbsp;
110
+ <a href="#M000102">get_property_uri</a>&nbsp;&nbsp;
111
+ <a href="#M000103">mapped_name?</a>&nbsp;&nbsp;
112
+ <a href="#M000104">mapped_uri?</a>&nbsp;&nbsp;
113
+ <a href="#M000099">new</a>&nbsp;&nbsp;
114
+ <a href="#M000096">read_from_store</a>&nbsp;&nbsp;
115
+ <a href="#M000107">remove</a>&nbsp;&nbsp;
116
+ <a href="#M000110">remove_all</a>&nbsp;&nbsp;
117
+ <a href="#M000108">remove_by_name</a>&nbsp;&nbsp;
118
+ <a href="#M000109">remove_by_uri</a>&nbsp;&nbsp;
119
+ <a href="#M000111">to_rdf</a>&nbsp;&nbsp;
120
+ <a href="#M000112">upload</a>&nbsp;&nbsp;
120
121
  </div>
121
122
  </div>
122
123
 
@@ -170,11 +171,44 @@ URI for this resource
170
171
  <div id="methods">
171
172
  <h3 class="section-bar">Public Class methods</h3>
172
173
 
173
- <div id="method-M000095" class="method-detail">
174
- <a name="M000095"></a>
174
+ <div id="method-M000098" class="method-detail">
175
+ <a name="M000098"></a>
175
176
 
176
177
  <div class="method-heading">
177
- <a href="#M000095" class="method-signature">
178
+ <a href="#M000098" class="method-signature">
179
+ <span class="method-name">add_mapping</span><span class="method-args">(fpmap, store, property_uri, name, analyzer=nil)</span>
180
+ </a>
181
+ </div>
182
+
183
+ <div class="method-description">
184
+ <p>
185
+ Create a <a href="DatatypeProperty.html">DatatypeProperty</a> instance,
186
+ automatically assigning a unique identifier to it, and validating the
187
+ supplied data to ensure it matches the platform rules.
188
+ </p>
189
+ <p>
190
+ Then automatically appends it to the provided fpmap instance
191
+ </p>
192
+ <p><a class="source-toggle" href="#"
193
+ onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
194
+ <div class="method-source-code" id="M000098-source">
195
+ <pre>
196
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 157</span>
197
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">FieldPredicateMap</span>.<span class="ruby-identifier">add_mapping</span>(<span class="ruby-identifier">fpmap</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>)
198
+ <span class="ruby-identifier">mapping</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>)
199
+ <span class="ruby-identifier">fpmap</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">mapping</span>
200
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">mapping</span>
201
+ <span class="ruby-keyword kw">end</span>
202
+ </pre>
203
+ </div>
204
+ </div>
205
+ </div>
206
+
207
+ <div id="method-M000097" class="method-detail">
208
+ <a name="M000097"></a>
209
+
210
+ <div class="method-heading">
211
+ <a href="#M000097" class="method-signature">
178
212
  <span class="method-name">create_mapping</span><span class="method-args">(store, property_uri, name, analyzer=nil)</span>
179
213
  </a>
180
214
  </div>
@@ -182,12 +216,12 @@ URI for this resource
182
216
  <div class="method-description">
183
217
  <p>
184
218
  Create a <a href="DatatypeProperty.html">DatatypeProperty</a> instance,
185
- automatically assigning a unique identifier to it, and adding validating
186
- the supplied data to ensure it matches the platform rules
219
+ automatically assigning a unique identifier to it, and validating the
220
+ supplied data to ensure it matches the platform rules
187
221
  </p>
188
222
  <p><a class="source-toggle" href="#"
189
- onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
190
- <div class="method-source-code" id="M000095-source">
223
+ onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
224
+ <div class="method-source-code" id="M000097-source">
191
225
  <pre>
192
226
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 139</span>
193
227
  <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>)
@@ -208,21 +242,21 @@ the supplied data to ensure it matches the platform rules
208
242
  </div>
209
243
  </div>
210
244
 
211
- <div id="method-M000096" class="method-detail">
212
- <a name="M000096"></a>
245
+ <div id="method-M000099" class="method-detail">
246
+ <a name="M000099"></a>
213
247
 
214
248
  <div class="method-heading">
215
- <a href="#M000096" class="method-signature">
249
+ <a href="#M000099" class="method-signature">
216
250
  <span class="method-name">new</span><span class="method-args">(uri, label, datatype_properties = [])</span>
217
251
  </a>
218
252
  </div>
219
253
 
220
254
  <div class="method-description">
221
255
  <p><a class="source-toggle" href="#"
222
- onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
223
- <div class="method-source-code" id="M000096-source">
256
+ onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
257
+ <div class="method-source-code" id="M000099-source">
224
258
  <pre>
225
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 153</span>
259
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 163</span>
226
260
  <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> = [])
227
261
  <span class="ruby-ivar">@uri</span> = <span class="ruby-identifier">uri</span>
228
262
  <span class="ruby-ivar">@label</span> = <span class="ruby-identifier">label</span>
@@ -233,11 +267,11 @@ the supplied data to ensure it matches the platform rules
233
267
  </div>
234
268
  </div>
235
269
 
236
- <div id="method-M000094" class="method-detail">
237
- <a name="M000094"></a>
270
+ <div id="method-M000096" class="method-detail">
271
+ <a name="M000096"></a>
238
272
 
239
273
  <div class="method-heading">
240
- <a href="#M000094" class="method-signature">
274
+ <a href="#M000096" class="method-signature">
241
275
  <span class="method-name">read_from_store</span><span class="method-args">(store)</span>
242
276
  </a>
243
277
  </div>
@@ -249,8 +283,8 @@ the provided store. The method will retrieve the config as JSON, and parse
249
283
  it to create an object instance.
250
284
  </p>
251
285
  <p><a class="source-toggle" href="#"
252
- onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
253
- <div class="method-source-code" id="M000094-source">
286
+ onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
287
+ <div class="method-source-code" id="M000096-source">
254
288
  <pre>
255
289
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 109</span>
256
290
  <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>)
@@ -287,11 +321,11 @@ it to create an object instance.
287
321
 
288
322
  <h3 class="section-bar">Public Instance methods</h3>
289
323
 
290
- <div id="method-M000097" class="method-detail">
291
- <a name="M000097"></a>
324
+ <div id="method-M000100" class="method-detail">
325
+ <a name="M000100"></a>
292
326
 
293
327
  <div class="method-heading">
294
- <a href="#M000097" class="method-signature">
328
+ <a href="#M000100" class="method-signature">
295
329
  <span class="method-name">&lt;&lt;</span><span class="method-args">(obj)</span>
296
330
  </a>
297
331
  </div>
@@ -303,10 +337,10 @@ this map. Note that the method does not validate the object, and neither
303
337
  does it check for duplicate mappings.
304
338
  </p>
305
339
  <p><a class="source-toggle" href="#"
306
- onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
307
- <div class="method-source-code" id="M000097-source">
340
+ onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
341
+ <div class="method-source-code" id="M000100-source">
308
342
  <pre>
309
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 162</span>
343
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 172</span>
310
344
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">obj</span>)
311
345
  <span class="ruby-ivar">@datatype_properties</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">obj</span>
312
346
  <span class="ruby-keyword kw">end</span>
@@ -315,11 +349,11 @@ does it check for duplicate mappings.
315
349
  </div>
316
350
  </div>
317
351
 
318
- <div id="method-M000102" class="method-detail">
319
- <a name="M000102"></a>
352
+ <div id="method-M000105" class="method-detail">
353
+ <a name="M000105"></a>
320
354
 
321
355
  <div class="method-heading">
322
- <a href="#M000102" class="method-signature">
356
+ <a href="#M000105" class="method-signature">
323
357
  <span class="method-name">get_by_name</span><span class="method-args">(name)</span>
324
358
  </a>
325
359
  </div>
@@ -330,10 +364,10 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> (if any) with
330
364
  the following name mapping
331
365
  </p>
332
366
  <p><a class="source-toggle" href="#"
333
- onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
334
- <div class="method-source-code" id="M000102-source">
367
+ onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
368
+ <div class="method-source-code" id="M000105-source">
335
369
  <pre>
336
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 201</span>
370
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 211</span>
337
371
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
338
372
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@datatype_properties</span>.<span class="ruby-identifier">detect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">mapping</span><span class="ruby-operator">|</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">mapping</span>.<span class="ruby-identifier">name</span> }
339
373
  <span class="ruby-keyword kw">end</span>
@@ -342,11 +376,11 @@ the following name mapping
342
376
  </div>
343
377
  </div>
344
378
 
345
- <div id="method-M000103" class="method-detail">
346
- <a name="M000103"></a>
379
+ <div id="method-M000106" class="method-detail">
380
+ <a name="M000106"></a>
347
381
 
348
382
  <div class="method-heading">
349
- <a href="#M000103" class="method-signature">
383
+ <a href="#M000106" class="method-signature">
350
384
  <span class="method-name">get_by_uri</span><span class="method-args">(uri)</span>
351
385
  </a>
352
386
  </div>
@@ -357,10 +391,10 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> using a
357
391
  property uri
358
392
  </p>
359
393
  <p><a class="source-toggle" href="#"
360
- onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
361
- <div class="method-source-code" id="M000103-source">
394
+ onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
395
+ <div class="method-source-code" id="M000106-source">
362
396
  <pre>
363
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 206</span>
397
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 216</span>
364
398
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_uri</span>(<span class="ruby-identifier">uri</span>)
365
399
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@datatype_properties</span>.<span class="ruby-identifier">detect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">mapping</span><span class="ruby-operator">|</span> <span class="ruby-identifier">uri</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">mapping</span>.<span class="ruby-identifier">property_uri</span> }
366
400
  <span class="ruby-keyword kw">end</span>
@@ -369,11 +403,11 @@ property uri
369
403
  </div>
370
404
  </div>
371
405
 
372
- <div id="method-M000098" class="method-detail">
373
- <a name="M000098"></a>
406
+ <div id="method-M000101" class="method-detail">
407
+ <a name="M000101"></a>
374
408
 
375
409
  <div class="method-heading">
376
- <a href="#M000098" class="method-signature">
410
+ <a href="#M000101" class="method-signature">
377
411
  <span class="method-name">get_name</span><span class="method-args">(uri)</span>
378
412
  </a>
379
413
  </div>
@@ -388,10 +422,10 @@ Lookup the name mapped to the specified uri
388
422
  </td></tr>
389
423
  </table>
390
424
  <p><a class="source-toggle" href="#"
391
- onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
392
- <div class="method-source-code" id="M000098-source">
425
+ onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
426
+ <div class="method-source-code" id="M000101-source">
393
427
  <pre>
394
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 169</span>
428
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 179</span>
395
429
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_name</span>(<span class="ruby-identifier">uri</span>)
396
430
  <span class="ruby-identifier">p</span> = <span class="ruby-ivar">@datatype_properties</span>.<span class="ruby-identifier">detect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">mapping</span><span class="ruby-operator">|</span> <span class="ruby-identifier">uri</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">mapping</span>.<span class="ruby-identifier">property_uri</span> }
397
431
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">p</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
@@ -405,11 +439,11 @@ Lookup the name mapped to the specified uri
405
439
  </div>
406
440
  </div>
407
441
 
408
- <div id="method-M000099" class="method-detail">
409
- <a name="M000099"></a>
442
+ <div id="method-M000102" class="method-detail">
443
+ <a name="M000102"></a>
410
444
 
411
445
  <div class="method-heading">
412
- <a href="#M000099" class="method-signature">
446
+ <a href="#M000102" class="method-signature">
413
447
  <span class="method-name">get_property_uri</span><span class="method-args">(name)</span>
414
448
  </a>
415
449
  </div>
@@ -424,10 +458,10 @@ Lookup the property mapped to the specified name
424
458
  </td></tr>
425
459
  </table>
426
460
  <p><a class="source-toggle" href="#"
427
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
428
- <div class="method-source-code" id="M000099-source">
461
+ onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
462
+ <div class="method-source-code" id="M000102-source">
429
463
  <pre>
430
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 181</span>
464
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 191</span>
431
465
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property_uri</span>(<span class="ruby-identifier">name</span>)
432
466
  <span class="ruby-identifier">p</span> = <span class="ruby-ivar">@datatype_properties</span>.<span class="ruby-identifier">detect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">mapping</span><span class="ruby-operator">|</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">mapping</span>.<span class="ruby-identifier">name</span> }
433
467
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">p</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
@@ -441,11 +475,11 @@ Lookup the property mapped to the specified name
441
475
  </div>
442
476
  </div>
443
477
 
444
- <div id="method-M000100" class="method-detail">
445
- <a name="M000100"></a>
478
+ <div id="method-M000103" class="method-detail">
479
+ <a name="M000103"></a>
446
480
 
447
481
  <div class="method-heading">
448
- <a href="#M000100" class="method-signature">
482
+ <a href="#M000103" class="method-signature">
449
483
  <span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
450
484
  </a>
451
485
  </div>
@@ -455,10 +489,10 @@ Lookup the property mapped to the specified name
455
489
  Is there a mapping for a property with this name?
456
490
  </p>
457
491
  <p><a class="source-toggle" href="#"
458
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
459
- <div class="method-source-code" id="M000100-source">
492
+ onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
493
+ <div class="method-source-code" id="M000103-source">
460
494
  <pre>
461
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 191</span>
495
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 201</span>
462
496
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
463
497
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">get_property_uri</span>(<span class="ruby-identifier">name</span>) <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
464
498
  <span class="ruby-keyword kw">end</span>
@@ -467,11 +501,11 @@ Is there a mapping for a property with this name?
467
501
  </div>
468
502
  </div>
469
503
 
470
- <div id="method-M000101" class="method-detail">
471
- <a name="M000101"></a>
504
+ <div id="method-M000104" class="method-detail">
505
+ <a name="M000104"></a>
472
506
 
473
507
  <div class="method-heading">
474
- <a href="#M000101" class="method-signature">
508
+ <a href="#M000104" class="method-signature">
475
509
  <span class="method-name">mapped_uri?</span><span class="method-args">(uri)</span>
476
510
  </a>
477
511
  </div>
@@ -481,10 +515,10 @@ Is there a mapping for a property with this name?
481
515
  Is there a mapping for this uri?
482
516
  </p>
483
517
  <p><a class="source-toggle" href="#"
484
- onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
485
- <div class="method-source-code" id="M000101-source">
518
+ onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
519
+ <div class="method-source-code" id="M000104-source">
486
520
  <pre>
487
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 196</span>
521
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 206</span>
488
522
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_uri?</span>(<span class="ruby-identifier">uri</span>)
489
523
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">get_name</span>(<span class="ruby-identifier">uri</span>) <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
490
524
  <span class="ruby-keyword kw">end</span>
@@ -493,11 +527,11 @@ Is there a mapping for this uri?
493
527
  </div>
494
528
  </div>
495
529
 
496
- <div id="method-M000104" class="method-detail">
497
- <a name="M000104"></a>
530
+ <div id="method-M000107" class="method-detail">
531
+ <a name="M000107"></a>
498
532
 
499
533
  <div class="method-heading">
500
- <a href="#M000104" class="method-signature">
534
+ <a href="#M000107" class="method-signature">
501
535
  <span class="method-name">remove</span><span class="method-args">(datatype_property)</span>
502
536
  </a>
503
537
  </div>
@@ -508,10 +542,10 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> from the
508
542
  collection
509
543
  </p>
510
544
  <p><a class="source-toggle" href="#"
511
- onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
512
- <div class="method-source-code" id="M000104-source">
545
+ onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
546
+ <div class="method-source-code" id="M000107-source">
513
547
  <pre>
514
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 211</span>
548
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 221</span>
515
549
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">datatype_property</span>)
516
550
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@datatype_properties</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">datatype_property</span>)
517
551
  <span class="ruby-keyword kw">end</span>
@@ -520,11 +554,11 @@ collection
520
554
  </div>
521
555
  </div>
522
556
 
523
- <div id="method-M000107" class="method-detail">
524
- <a name="M000107"></a>
557
+ <div id="method-M000110" class="method-detail">
558
+ <a name="M000110"></a>
525
559
 
526
560
  <div class="method-heading">
527
- <a href="#M000107" class="method-signature">
561
+ <a href="#M000110" class="method-signature">
528
562
  <span class="method-name">remove_all</span><span class="method-args">()</span>
529
563
  </a>
530
564
  </div>
@@ -534,10 +568,10 @@ collection
534
568
  Remove all currently mapped properties
535
569
  </p>
536
570
  <p><a class="source-toggle" href="#"
537
- onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
538
- <div class="method-source-code" id="M000107-source">
571
+ onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
572
+ <div class="method-source-code" id="M000110-source">
539
573
  <pre>
540
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 232</span>
574
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 242</span>
541
575
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_all</span>()
542
576
  <span class="ruby-ivar">@datatype_properties</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
543
577
  <span class="ruby-keyword kw">end</span>
@@ -546,11 +580,11 @@ Remove all currently mapped properties
546
580
  </div>
547
581
  </div>
548
582
 
549
- <div id="method-M000105" class="method-detail">
550
- <a name="M000105"></a>
583
+ <div id="method-M000108" class="method-detail">
584
+ <a name="M000108"></a>
551
585
 
552
586
  <div class="method-heading">
553
- <a href="#M000105" class="method-signature">
587
+ <a href="#M000108" class="method-signature">
554
588
  <span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
555
589
  </a>
556
590
  </div>
@@ -561,10 +595,10 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
561
595
  name
562
596
  </p>
563
597
  <p><a class="source-toggle" href="#"
564
- onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
565
- <div class="method-source-code" id="M000105-source">
598
+ onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
599
+ <div class="method-source-code" id="M000108-source">
566
600
  <pre>
567
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 216</span>
601
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 226</span>
568
602
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
569
603
  <span class="ruby-identifier">p</span> = <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
570
604
  <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">p</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>)
@@ -576,11 +610,11 @@ name
576
610
  </div>
577
611
  </div>
578
612
 
579
- <div id="method-M000106" class="method-detail">
580
- <a name="M000106"></a>
613
+ <div id="method-M000109" class="method-detail">
614
+ <a name="M000109"></a>
581
615
 
582
616
  <div class="method-heading">
583
- <a href="#M000106" class="method-signature">
617
+ <a href="#M000109" class="method-signature">
584
618
  <span class="method-name">remove_by_uri</span><span class="method-args">(uri)</span>
585
619
  </a>
586
620
  </div>
@@ -591,10 +625,10 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
591
625
  uri
592
626
  </p>
593
627
  <p><a class="source-toggle" href="#"
594
- onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
595
- <div class="method-source-code" id="M000106-source">
628
+ onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
629
+ <div class="method-source-code" id="M000109-source">
596
630
  <pre>
597
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 224</span>
631
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 234</span>
598
632
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_uri</span>(<span class="ruby-identifier">uri</span>)
599
633
  <span class="ruby-identifier">p</span> = <span class="ruby-identifier">get_by_uri</span>(<span class="ruby-identifier">uri</span>)
600
634
  <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">p</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>)
@@ -606,11 +640,11 @@ uri
606
640
  </div>
607
641
  </div>
608
642
 
609
- <div id="method-M000108" class="method-detail">
610
- <a name="M000108"></a>
643
+ <div id="method-M000111" class="method-detail">
644
+ <a name="M000111"></a>
611
645
 
612
646
  <div class="method-heading">
613
- <a href="#M000108" class="method-signature">
647
+ <a href="#M000111" class="method-signature">
614
648
  <span class="method-name">to_rdf</span><span class="method-args">()</span>
615
649
  </a>
616
650
  </div>
@@ -621,10 +655,10 @@ Dump this object to an <a href="RDF.html">RDF</a>/XML representation
621
655
  suitable for submitting to the Platform
622
656
  </p>
623
657
  <p><a class="source-toggle" href="#"
624
- onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
625
- <div class="method-source-code" id="M000108-source">
658
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
659
+ <div class="method-source-code" id="M000111-source">
626
660
  <pre>
627
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 237</span>
661
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 247</span>
628
662
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
629
663
  <span class="ruby-identifier">rdf</span> = <span class="ruby-node">&quot;&lt;rdf:RDF xmlns:frm=\&quot;#{Pho::Namespaces::FRAME}\&quot; &quot;</span>
630
664
  <span class="ruby-identifier">rdf</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot; xmlns:rdf=\&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#\&quot; &quot;</span>
@@ -653,11 +687,11 @@ suitable for submitting to the Platform
653
687
  </div>
654
688
  </div>
655
689
 
656
- <div id="method-M000109" class="method-detail">
657
- <a name="M000109"></a>
690
+ <div id="method-M000112" class="method-detail">
691
+ <a name="M000112"></a>
658
692
 
659
693
  <div class="method-heading">
660
- <a href="#M000109" class="method-signature">
694
+ <a href="#M000112" class="method-signature">
661
695
  <span class="method-name">upload</span><span class="method-args">(store)</span>
662
696
  </a>
663
697
  </div>
@@ -668,10 +702,10 @@ Upload an <a href="RDF.html">RDF</a>/XML presentation of this object to the
668
702
  provided Platform <a href="Store.html">Store</a>
669
703
  </p>
670
704
  <p><a class="source-toggle" href="#"
671
- onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
672
- <div class="method-source-code" id="M000109-source">
705
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
706
+ <div class="method-source-code" id="M000112-source">
673
707
  <pre>
674
- <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 262</span>
708
+ <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 272</span>
675
709
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">store</span>)
676
710
  <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">store</span>.<span class="ruby-identifier">put_field_predicate_map</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_rdf</span>)
677
711
  <span class="ruby-keyword kw">end</span>