pho 0.7.7 → 0.7.8
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 +21 -0
- data/README +1 -2
- data/Rakefile +1 -1
- data/bin/talis_store +13 -22
- data/doc/rdoc/classes/Pho/CommandLine.html +162 -124
- 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 +102 -102
- data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
- data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +262 -103
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +34 -14
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +10 -5
- 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 +6 -6
- data/doc/rdoc/classes/Pho/OAI/Records.html +24 -24
- data/doc/rdoc/classes/Pho/OAI/Statistics.html +12 -12
- data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
- 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/Sparql/SparqlClient.html +74 -74
- data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -78
- data/doc/rdoc/classes/Pho/Status.html +26 -26
- data/doc/rdoc/classes/Pho/Store.html +215 -215
- data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
- data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
- data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
- data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +6 -6
- data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
- data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
- data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
- data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +34 -1
- data/doc/rdoc/files/README.html +3 -4
- data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/file_management_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/file_manager_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +1 -1
- data/doc/rdoc/fr_method_index.html +212 -205
- data/lib/pho/command_line.rb +29 -11
- data/lib/pho/file_management.rb +85 -29
- data/lib/pho/file_manager.rb +10 -11
- data/lib/pho/rdf_collection.rb +8 -3
- data/tests/tc_file_manager.rb +144 -26
- data/tests/tc_rdf_collection.rb +76 -68
- 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="#
|
95
|
+
<a href="#M000089">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-M000089" class="method-detail">
|
141
|
+
<a name="M000089"></a>
|
142
142
|
|
143
143
|
<div class="method-heading">
|
144
|
-
<a href="#
|
144
|
+
<a href="#M000089" 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('M000089-source');return false;">[Source]</a></p>
|
152
|
+
<div class="method-source-code" id="M000089-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,23 +101,23 @@ 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="#
|
119
|
-
<a href="#
|
120
|
-
<a href="#
|
104
|
+
<a href="#M000102"><<</a>
|
105
|
+
<a href="#M000100">add_mapping</a>
|
106
|
+
<a href="#M000099">create_mapping</a>
|
107
|
+
<a href="#M000107">get_by_name</a>
|
108
|
+
<a href="#M000108">get_by_uri</a>
|
109
|
+
<a href="#M000103">get_name</a>
|
110
|
+
<a href="#M000104">get_property_uri</a>
|
111
|
+
<a href="#M000105">mapped_name?</a>
|
112
|
+
<a href="#M000106">mapped_uri?</a>
|
113
|
+
<a href="#M000101">new</a>
|
114
|
+
<a href="#M000098">read_from_store</a>
|
115
|
+
<a href="#M000109">remove</a>
|
116
|
+
<a href="#M000112">remove_all</a>
|
117
|
+
<a href="#M000110">remove_by_name</a>
|
118
|
+
<a href="#M000111">remove_by_uri</a>
|
119
|
+
<a href="#M000113">to_rdf</a>
|
120
|
+
<a href="#M000114">upload</a>
|
121
121
|
</div>
|
122
122
|
</div>
|
123
123
|
|
@@ -171,11 +171,11 @@ URI for this resource
|
|
171
171
|
<div id="methods">
|
172
172
|
<h3 class="section-bar">Public Class methods</h3>
|
173
173
|
|
174
|
-
<div id="method-
|
175
|
-
<a name="
|
174
|
+
<div id="method-M000100" class="method-detail">
|
175
|
+
<a name="M000100"></a>
|
176
176
|
|
177
177
|
<div class="method-heading">
|
178
|
-
<a href="#
|
178
|
+
<a href="#M000100" class="method-signature">
|
179
179
|
<span class="method-name">add_mapping</span><span class="method-args">(fpmap, store, property_uri, name, analyzer=nil)</span>
|
180
180
|
</a>
|
181
181
|
</div>
|
@@ -190,8 +190,8 @@ supplied data to ensure it matches the platform rules.
|
|
190
190
|
Then automatically appends it to the provided fpmap instance
|
191
191
|
</p>
|
192
192
|
<p><a class="source-toggle" href="#"
|
193
|
-
onclick="toggleCode('
|
194
|
-
<div class="method-source-code" id="
|
193
|
+
onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
|
194
|
+
<div class="method-source-code" id="M000100-source">
|
195
195
|
<pre>
|
196
196
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 157</span>
|
197
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>)
|
@@ -204,11 +204,11 @@ Then automatically appends it to the provided fpmap instance
|
|
204
204
|
</div>
|
205
205
|
</div>
|
206
206
|
|
207
|
-
<div id="method-
|
208
|
-
<a name="
|
207
|
+
<div id="method-M000099" class="method-detail">
|
208
|
+
<a name="M000099"></a>
|
209
209
|
|
210
210
|
<div class="method-heading">
|
211
|
-
<a href="#
|
211
|
+
<a href="#M000099" class="method-signature">
|
212
212
|
<span class="method-name">create_mapping</span><span class="method-args">(store, property_uri, name, analyzer=nil)</span>
|
213
213
|
</a>
|
214
214
|
</div>
|
@@ -220,8 +220,8 @@ automatically assigning a unique identifier to it, and validating the
|
|
220
220
|
supplied data to ensure it matches the platform rules
|
221
221
|
</p>
|
222
222
|
<p><a class="source-toggle" href="#"
|
223
|
-
onclick="toggleCode('
|
224
|
-
<div class="method-source-code" id="
|
223
|
+
onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
|
224
|
+
<div class="method-source-code" id="M000099-source">
|
225
225
|
<pre>
|
226
226
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 139</span>
|
227
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>)
|
@@ -242,19 +242,19 @@ supplied data to ensure it matches the platform rules
|
|
242
242
|
</div>
|
243
243
|
</div>
|
244
244
|
|
245
|
-
<div id="method-
|
246
|
-
<a name="
|
245
|
+
<div id="method-M000101" class="method-detail">
|
246
|
+
<a name="M000101"></a>
|
247
247
|
|
248
248
|
<div class="method-heading">
|
249
|
-
<a href="#
|
249
|
+
<a href="#M000101" class="method-signature">
|
250
250
|
<span class="method-name">new</span><span class="method-args">(uri, label, datatype_properties = [])</span>
|
251
251
|
</a>
|
252
252
|
</div>
|
253
253
|
|
254
254
|
<div class="method-description">
|
255
255
|
<p><a class="source-toggle" href="#"
|
256
|
-
onclick="toggleCode('
|
257
|
-
<div class="method-source-code" id="
|
256
|
+
onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
|
257
|
+
<div class="method-source-code" id="M000101-source">
|
258
258
|
<pre>
|
259
259
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 163</span>
|
260
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> = [])
|
@@ -267,11 +267,11 @@ supplied data to ensure it matches the platform rules
|
|
267
267
|
</div>
|
268
268
|
</div>
|
269
269
|
|
270
|
-
<div id="method-
|
271
|
-
<a name="
|
270
|
+
<div id="method-M000098" class="method-detail">
|
271
|
+
<a name="M000098"></a>
|
272
272
|
|
273
273
|
<div class="method-heading">
|
274
|
-
<a href="#
|
274
|
+
<a href="#M000098" class="method-signature">
|
275
275
|
<span class="method-name">read_from_store</span><span class="method-args">(store)</span>
|
276
276
|
</a>
|
277
277
|
</div>
|
@@ -283,8 +283,8 @@ the provided store. The method will retrieve the config as JSON, and parse
|
|
283
283
|
it to create an object instance.
|
284
284
|
</p>
|
285
285
|
<p><a class="source-toggle" href="#"
|
286
|
-
onclick="toggleCode('
|
287
|
-
<div class="method-source-code" id="
|
286
|
+
onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
|
287
|
+
<div class="method-source-code" id="M000098-source">
|
288
288
|
<pre>
|
289
289
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 109</span>
|
290
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>)
|
@@ -321,11 +321,11 @@ it to create an object instance.
|
|
321
321
|
|
322
322
|
<h3 class="section-bar">Public Instance methods</h3>
|
323
323
|
|
324
|
-
<div id="method-
|
325
|
-
<a name="
|
324
|
+
<div id="method-M000102" class="method-detail">
|
325
|
+
<a name="M000102"></a>
|
326
326
|
|
327
327
|
<div class="method-heading">
|
328
|
-
<a href="#
|
328
|
+
<a href="#M000102" class="method-signature">
|
329
329
|
<span class="method-name"><<</span><span class="method-args">(obj)</span>
|
330
330
|
</a>
|
331
331
|
</div>
|
@@ -337,8 +337,8 @@ this map. Note that the method does not validate the object, and neither
|
|
337
337
|
does it check for duplicate mappings.
|
338
338
|
</p>
|
339
339
|
<p><a class="source-toggle" href="#"
|
340
|
-
onclick="toggleCode('
|
341
|
-
<div class="method-source-code" id="
|
340
|
+
onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
|
341
|
+
<div class="method-source-code" id="M000102-source">
|
342
342
|
<pre>
|
343
343
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 172</span>
|
344
344
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">obj</span>)
|
@@ -349,11 +349,11 @@ does it check for duplicate mappings.
|
|
349
349
|
</div>
|
350
350
|
</div>
|
351
351
|
|
352
|
-
<div id="method-
|
353
|
-
<a name="
|
352
|
+
<div id="method-M000107" class="method-detail">
|
353
|
+
<a name="M000107"></a>
|
354
354
|
|
355
355
|
<div class="method-heading">
|
356
|
-
<a href="#
|
356
|
+
<a href="#M000107" class="method-signature">
|
357
357
|
<span class="method-name">get_by_name</span><span class="method-args">(name)</span>
|
358
358
|
</a>
|
359
359
|
</div>
|
@@ -364,8 +364,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> (if any) with
|
|
364
364
|
the following name mapping
|
365
365
|
</p>
|
366
366
|
<p><a class="source-toggle" href="#"
|
367
|
-
onclick="toggleCode('
|
368
|
-
<div class="method-source-code" id="
|
367
|
+
onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
|
368
|
+
<div class="method-source-code" id="M000107-source">
|
369
369
|
<pre>
|
370
370
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 211</span>
|
371
371
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -376,11 +376,11 @@ the following name mapping
|
|
376
376
|
</div>
|
377
377
|
</div>
|
378
378
|
|
379
|
-
<div id="method-
|
380
|
-
<a name="
|
379
|
+
<div id="method-M000108" class="method-detail">
|
380
|
+
<a name="M000108"></a>
|
381
381
|
|
382
382
|
<div class="method-heading">
|
383
|
-
<a href="#
|
383
|
+
<a href="#M000108" class="method-signature">
|
384
384
|
<span class="method-name">get_by_uri</span><span class="method-args">(uri)</span>
|
385
385
|
</a>
|
386
386
|
</div>
|
@@ -391,8 +391,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> using a
|
|
391
391
|
property uri
|
392
392
|
</p>
|
393
393
|
<p><a class="source-toggle" href="#"
|
394
|
-
onclick="toggleCode('
|
395
|
-
<div class="method-source-code" id="
|
394
|
+
onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
|
395
|
+
<div class="method-source-code" id="M000108-source">
|
396
396
|
<pre>
|
397
397
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 216</span>
|
398
398
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_uri</span>(<span class="ruby-identifier">uri</span>)
|
@@ -403,11 +403,11 @@ property uri
|
|
403
403
|
</div>
|
404
404
|
</div>
|
405
405
|
|
406
|
-
<div id="method-
|
407
|
-
<a name="
|
406
|
+
<div id="method-M000103" class="method-detail">
|
407
|
+
<a name="M000103"></a>
|
408
408
|
|
409
409
|
<div class="method-heading">
|
410
|
-
<a href="#
|
410
|
+
<a href="#M000103" class="method-signature">
|
411
411
|
<span class="method-name">get_name</span><span class="method-args">(uri)</span>
|
412
412
|
</a>
|
413
413
|
</div>
|
@@ -422,8 +422,8 @@ Lookup the name mapped to the specified uri
|
|
422
422
|
</td></tr>
|
423
423
|
</table>
|
424
424
|
<p><a class="source-toggle" href="#"
|
425
|
-
onclick="toggleCode('
|
426
|
-
<div class="method-source-code" id="
|
425
|
+
onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
|
426
|
+
<div class="method-source-code" id="M000103-source">
|
427
427
|
<pre>
|
428
428
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 179</span>
|
429
429
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_name</span>(<span class="ruby-identifier">uri</span>)
|
@@ -439,11 +439,11 @@ Lookup the name mapped to the specified uri
|
|
439
439
|
</div>
|
440
440
|
</div>
|
441
441
|
|
442
|
-
<div id="method-
|
443
|
-
<a name="
|
442
|
+
<div id="method-M000104" class="method-detail">
|
443
|
+
<a name="M000104"></a>
|
444
444
|
|
445
445
|
<div class="method-heading">
|
446
|
-
<a href="#
|
446
|
+
<a href="#M000104" class="method-signature">
|
447
447
|
<span class="method-name">get_property_uri</span><span class="method-args">(name)</span>
|
448
448
|
</a>
|
449
449
|
</div>
|
@@ -458,8 +458,8 @@ Lookup the property mapped to the specified name
|
|
458
458
|
</td></tr>
|
459
459
|
</table>
|
460
460
|
<p><a class="source-toggle" href="#"
|
461
|
-
onclick="toggleCode('
|
462
|
-
<div class="method-source-code" id="
|
461
|
+
onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
|
462
|
+
<div class="method-source-code" id="M000104-source">
|
463
463
|
<pre>
|
464
464
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 191</span>
|
465
465
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property_uri</span>(<span class="ruby-identifier">name</span>)
|
@@ -475,11 +475,11 @@ Lookup the property mapped to the specified name
|
|
475
475
|
</div>
|
476
476
|
</div>
|
477
477
|
|
478
|
-
<div id="method-
|
479
|
-
<a name="
|
478
|
+
<div id="method-M000105" class="method-detail">
|
479
|
+
<a name="M000105"></a>
|
480
480
|
|
481
481
|
<div class="method-heading">
|
482
|
-
<a href="#
|
482
|
+
<a href="#M000105" class="method-signature">
|
483
483
|
<span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
|
484
484
|
</a>
|
485
485
|
</div>
|
@@ -489,8 +489,8 @@ Lookup the property mapped to the specified name
|
|
489
489
|
Is there a mapping for a property with this name?
|
490
490
|
</p>
|
491
491
|
<p><a class="source-toggle" href="#"
|
492
|
-
onclick="toggleCode('
|
493
|
-
<div class="method-source-code" id="
|
492
|
+
onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
|
493
|
+
<div class="method-source-code" id="M000105-source">
|
494
494
|
<pre>
|
495
495
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 201</span>
|
496
496
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
|
@@ -501,11 +501,11 @@ Is there a mapping for a property with this name?
|
|
501
501
|
</div>
|
502
502
|
</div>
|
503
503
|
|
504
|
-
<div id="method-
|
505
|
-
<a name="
|
504
|
+
<div id="method-M000106" class="method-detail">
|
505
|
+
<a name="M000106"></a>
|
506
506
|
|
507
507
|
<div class="method-heading">
|
508
|
-
<a href="#
|
508
|
+
<a href="#M000106" class="method-signature">
|
509
509
|
<span class="method-name">mapped_uri?</span><span class="method-args">(uri)</span>
|
510
510
|
</a>
|
511
511
|
</div>
|
@@ -515,8 +515,8 @@ Is there a mapping for a property with this name?
|
|
515
515
|
Is there a mapping for this uri?
|
516
516
|
</p>
|
517
517
|
<p><a class="source-toggle" href="#"
|
518
|
-
onclick="toggleCode('
|
519
|
-
<div class="method-source-code" id="
|
518
|
+
onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
|
519
|
+
<div class="method-source-code" id="M000106-source">
|
520
520
|
<pre>
|
521
521
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 206</span>
|
522
522
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_uri?</span>(<span class="ruby-identifier">uri</span>)
|
@@ -527,11 +527,11 @@ Is there a mapping for this uri?
|
|
527
527
|
</div>
|
528
528
|
</div>
|
529
529
|
|
530
|
-
<div id="method-
|
531
|
-
<a name="
|
530
|
+
<div id="method-M000109" class="method-detail">
|
531
|
+
<a name="M000109"></a>
|
532
532
|
|
533
533
|
<div class="method-heading">
|
534
|
-
<a href="#
|
534
|
+
<a href="#M000109" class="method-signature">
|
535
535
|
<span class="method-name">remove</span><span class="method-args">(datatype_property)</span>
|
536
536
|
</a>
|
537
537
|
</div>
|
@@ -542,8 +542,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> from the
|
|
542
542
|
collection
|
543
543
|
</p>
|
544
544
|
<p><a class="source-toggle" href="#"
|
545
|
-
onclick="toggleCode('
|
546
|
-
<div class="method-source-code" id="
|
545
|
+
onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
|
546
|
+
<div class="method-source-code" id="M000109-source">
|
547
547
|
<pre>
|
548
548
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 221</span>
|
549
549
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">datatype_property</span>)
|
@@ -554,11 +554,11 @@ collection
|
|
554
554
|
</div>
|
555
555
|
</div>
|
556
556
|
|
557
|
-
<div id="method-
|
558
|
-
<a name="
|
557
|
+
<div id="method-M000112" class="method-detail">
|
558
|
+
<a name="M000112"></a>
|
559
559
|
|
560
560
|
<div class="method-heading">
|
561
|
-
<a href="#
|
561
|
+
<a href="#M000112" class="method-signature">
|
562
562
|
<span class="method-name">remove_all</span><span class="method-args">()</span>
|
563
563
|
</a>
|
564
564
|
</div>
|
@@ -568,8 +568,8 @@ collection
|
|
568
568
|
Remove all currently mapped properties
|
569
569
|
</p>
|
570
570
|
<p><a class="source-toggle" href="#"
|
571
|
-
onclick="toggleCode('
|
572
|
-
<div class="method-source-code" id="
|
571
|
+
onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
|
572
|
+
<div class="method-source-code" id="M000112-source">
|
573
573
|
<pre>
|
574
574
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 242</span>
|
575
575
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_all</span>()
|
@@ -580,11 +580,11 @@ Remove all currently mapped properties
|
|
580
580
|
</div>
|
581
581
|
</div>
|
582
582
|
|
583
|
-
<div id="method-
|
584
|
-
<a name="
|
583
|
+
<div id="method-M000110" class="method-detail">
|
584
|
+
<a name="M000110"></a>
|
585
585
|
|
586
586
|
<div class="method-heading">
|
587
|
-
<a href="#
|
587
|
+
<a href="#M000110" class="method-signature">
|
588
588
|
<span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
|
589
589
|
</a>
|
590
590
|
</div>
|
@@ -595,8 +595,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
|
|
595
595
|
name
|
596
596
|
</p>
|
597
597
|
<p><a class="source-toggle" href="#"
|
598
|
-
onclick="toggleCode('
|
599
|
-
<div class="method-source-code" id="
|
598
|
+
onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
|
599
|
+
<div class="method-source-code" id="M000110-source">
|
600
600
|
<pre>
|
601
601
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 226</span>
|
602
602
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -610,11 +610,11 @@ name
|
|
610
610
|
</div>
|
611
611
|
</div>
|
612
612
|
|
613
|
-
<div id="method-
|
614
|
-
<a name="
|
613
|
+
<div id="method-M000111" class="method-detail">
|
614
|
+
<a name="M000111"></a>
|
615
615
|
|
616
616
|
<div class="method-heading">
|
617
|
-
<a href="#
|
617
|
+
<a href="#M000111" class="method-signature">
|
618
618
|
<span class="method-name">remove_by_uri</span><span class="method-args">(uri)</span>
|
619
619
|
</a>
|
620
620
|
</div>
|
@@ -625,8 +625,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
|
|
625
625
|
uri
|
626
626
|
</p>
|
627
627
|
<p><a class="source-toggle" href="#"
|
628
|
-
onclick="toggleCode('
|
629
|
-
<div class="method-source-code" id="
|
628
|
+
onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
|
629
|
+
<div class="method-source-code" id="M000111-source">
|
630
630
|
<pre>
|
631
631
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 234</span>
|
632
632
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_uri</span>(<span class="ruby-identifier">uri</span>)
|
@@ -640,11 +640,11 @@ uri
|
|
640
640
|
</div>
|
641
641
|
</div>
|
642
642
|
|
643
|
-
<div id="method-
|
644
|
-
<a name="
|
643
|
+
<div id="method-M000113" class="method-detail">
|
644
|
+
<a name="M000113"></a>
|
645
645
|
|
646
646
|
<div class="method-heading">
|
647
|
-
<a href="#
|
647
|
+
<a href="#M000113" class="method-signature">
|
648
648
|
<span class="method-name">to_rdf</span><span class="method-args">()</span>
|
649
649
|
</a>
|
650
650
|
</div>
|
@@ -655,8 +655,8 @@ Dump this object to an RDF/XML representation suitable for submitting to
|
|
655
655
|
the Platform
|
656
656
|
</p>
|
657
657
|
<p><a class="source-toggle" href="#"
|
658
|
-
onclick="toggleCode('
|
659
|
-
<div class="method-source-code" id="
|
658
|
+
onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
|
659
|
+
<div class="method-source-code" id="M000113-source">
|
660
660
|
<pre>
|
661
661
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 247</span>
|
662
662
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
|
@@ -687,11 +687,11 @@ the Platform
|
|
687
687
|
</div>
|
688
688
|
</div>
|
689
689
|
|
690
|
-
<div id="method-
|
691
|
-
<a name="
|
690
|
+
<div id="method-M000114" class="method-detail">
|
691
|
+
<a name="M000114"></a>
|
692
692
|
|
693
693
|
<div class="method-heading">
|
694
|
-
<a href="#
|
694
|
+
<a href="#M000114" class="method-signature">
|
695
695
|
<span class="method-name">upload</span><span class="method-args">(store)</span>
|
696
696
|
</a>
|
697
697
|
</div>
|
@@ -702,8 +702,8 @@ Upload an RDF/XML presentation of this object to the provided Platform <a
|
|
702
702
|
href="Store.html">Store</a>
|
703
703
|
</p>
|
704
704
|
<p><a class="source-toggle" href="#"
|
705
|
-
onclick="toggleCode('
|
706
|
-
<div class="method-source-code" id="
|
705
|
+
onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
|
706
|
+
<div class="method-source-code" id="M000114-source">
|
707
707
|
<pre>
|
708
708
|
<span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 272</span>
|
709
709
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">store</span>)
|