pho 0.6 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/Rakefile +1 -1
- data/doc/rdoc/classes/Pho/CommandLine.html +67 -67
- 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/FileManagement/AbstractFileManager.html +63 -63
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +24 -24
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +18 -18
- data/doc/rdoc/classes/Pho/Job.html +64 -64
- data/doc/rdoc/classes/Pho/Jobs.html +60 -60
- 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/Sparql/SparqlHelper.html +78 -42
- data/doc/rdoc/classes/Pho/Status.html +26 -26
- data/doc/rdoc/classes/Pho/Store.html +209 -209
- 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 +159 -0
- 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 +13 -1
- data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/sparql_rb.html +1 -1
- data/doc/rdoc/fr_method_index.html +183 -182
- data/examples/linkeddata/proxy.rb +74 -0
- data/lib/pho/command_line.rb +1 -1
- data/lib/pho/sparql.rb +9 -0
- data/tests/tc_sparql_helper.rb +10 -1
- metadata +5 -2
@@ -88,8 +88,8 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
91
|
+
<a href="#M000142">describe_uri</a>
|
92
|
+
<a href="#M000141">new</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -111,19 +111,19 @@
|
|
111
111
|
<div id="methods">
|
112
112
|
<h3 class="section-bar">Public Class methods</h3>
|
113
113
|
|
114
|
-
<div id="method-
|
115
|
-
<a name="
|
114
|
+
<div id="method-M000141" class="method-detail">
|
115
|
+
<a name="M000141"></a>
|
116
116
|
|
117
117
|
<div class="method-heading">
|
118
|
-
<a href="#
|
118
|
+
<a href="#M000141" class="method-signature">
|
119
119
|
<span class="method-name">new</span><span class="method-args">(store, endpoint, client=HTTPClient.new() )</span>
|
120
120
|
</a>
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div class="method-description">
|
124
124
|
<p><a class="source-toggle" href="#"
|
125
|
-
onclick="toggleCode('
|
126
|
-
<div class="method-source-code" id="
|
125
|
+
onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
|
126
|
+
<div class="method-source-code" id="M000141-source">
|
127
127
|
<pre>
|
128
128
|
<span class="ruby-comment cmt"># File lib/pho/store.rb, line 484</span>
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">endpoint</span>, <span class="ruby-identifier">client</span>=<span class="ruby-constant">HTTPClient</span>.<span class="ruby-identifier">new</span>() )
|
@@ -137,11 +137,11 @@
|
|
137
137
|
|
138
138
|
<h3 class="section-bar">Public Instance methods</h3>
|
139
139
|
|
140
|
-
<div id="method-
|
141
|
-
<a name="
|
140
|
+
<div id="method-M000142" class="method-detail">
|
141
|
+
<a name="M000142"></a>
|
142
142
|
|
143
143
|
<div class="method-heading">
|
144
|
-
<a href="#
|
144
|
+
<a href="#M000142" class="method-signature">
|
145
145
|
<span class="method-name">describe_uri</span><span class="method-args">(uri, format="application/rdf+xml", type=:cbd)</span>
|
146
146
|
</a>
|
147
147
|
</div>
|
@@ -152,8 +152,8 @@ Override default behaviour to use the Stores Describe service instead when
|
|
152
152
|
requesting CBDs
|
153
153
|
</p>
|
154
154
|
<p><a class="source-toggle" href="#"
|
155
|
-
onclick="toggleCode('
|
156
|
-
<div class="method-source-code" id="
|
155
|
+
onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
|
156
|
+
<div class="method-source-code" id="M000142-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File lib/pho/store.rb, line 491</span>
|
159
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe_uri</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">format</span>=<span class="ruby-value str">"application/rdf+xml"</span>, <span class="ruby-identifier">type</span>=<span class="ruby-identifier">:cbd</span>)
|
@@ -119,16 +119,16 @@ Processing of batch changesets is described at:
|
|
119
119
|
<h3 class="section-bar">Methods</h3>
|
120
120
|
|
121
121
|
<div class="name-list">
|
122
|
-
<a href="#
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
131
|
-
<a href="#
|
122
|
+
<a href="#M000063">add_addition</a>
|
123
|
+
<a href="#M000064">add_additions</a>
|
124
|
+
<a href="#M000066">add_removal</a>
|
125
|
+
<a href="#M000067">add_removals</a>
|
126
|
+
<a href="#M000062">additions</a>
|
127
|
+
<a href="#M000059">new</a>
|
128
|
+
<a href="#M000065">removals</a>
|
129
|
+
<a href="#M000068">submit</a>
|
130
|
+
<a href="#M000061">to_rdf</a>
|
131
|
+
<a href="#M000060">to_s</a>
|
132
132
|
</div>
|
133
133
|
</div>
|
134
134
|
|
@@ -182,11 +182,11 @@ URI of the subject of change for this changeset
|
|
182
182
|
<div id="methods">
|
183
183
|
<h3 class="section-bar">Public Class methods</h3>
|
184
184
|
|
185
|
-
<div id="method-
|
186
|
-
<a name="
|
185
|
+
<div id="method-M000059" class="method-detail">
|
186
|
+
<a name="M000059"></a>
|
187
187
|
|
188
188
|
<div class="method-heading">
|
189
|
-
<a href="#
|
189
|
+
<a href="#M000059" class="method-signature">
|
190
190
|
<span class="method-name">new</span><span class="method-args">(subject_of_change, creator_name=nil, change_reason=nil) {|self if block_given?| ...}</span>
|
191
191
|
</a>
|
192
192
|
</div>
|
@@ -201,8 +201,8 @@ Constructor. Parameter should be the URI of the subject of change
|
|
201
201
|
change_reason:: the reason for the change (optional)
|
202
202
|
</pre>
|
203
203
|
<p><a class="source-toggle" href="#"
|
204
|
-
onclick="toggleCode('
|
205
|
-
<div class="method-source-code" id="
|
204
|
+
onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
|
205
|
+
<div class="method-source-code" id="M000059-source">
|
206
206
|
<pre>
|
207
207
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 221</span>
|
208
208
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject_of_change</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -225,11 +225,11 @@ Constructor. Parameter should be the URI of the subject of change
|
|
225
225
|
|
226
226
|
<h3 class="section-bar">Public Instance methods</h3>
|
227
227
|
|
228
|
-
<div id="method-
|
229
|
-
<a name="
|
228
|
+
<div id="method-M000063" class="method-detail">
|
229
|
+
<a name="M000063"></a>
|
230
230
|
|
231
231
|
<div class="method-heading">
|
232
|
-
<a href="#
|
232
|
+
<a href="#M000063" class="method-signature">
|
233
233
|
<span class="method-name">add_addition</span><span class="method-args">(statement)</span>
|
234
234
|
</a>
|
235
235
|
</div>
|
@@ -240,8 +240,8 @@ Include a <a href="Statement.html">Statement</a> in the <a
|
|
240
240
|
href="Changeset.html">Changeset</a> as an addition
|
241
241
|
</p>
|
242
242
|
<p><a class="source-toggle" href="#"
|
243
|
-
onclick="toggleCode('
|
244
|
-
<div class="method-source-code" id="
|
243
|
+
onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
|
244
|
+
<div class="method-source-code" id="M000063-source">
|
245
245
|
<pre>
|
246
246
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 280</span>
|
247
247
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_addition</span>(<span class="ruby-identifier">statement</span>)
|
@@ -255,11 +255,11 @@ href="Changeset.html">Changeset</a> as an addition
|
|
255
255
|
</div>
|
256
256
|
</div>
|
257
257
|
|
258
|
-
<div id="method-
|
259
|
-
<a name="
|
258
|
+
<div id="method-M000064" class="method-detail">
|
259
|
+
<a name="M000064"></a>
|
260
260
|
|
261
261
|
<div class="method-heading">
|
262
|
-
<a href="#
|
262
|
+
<a href="#M000064" class="method-signature">
|
263
263
|
<span class="method-name">add_additions</span><span class="method-args">(statements)</span>
|
264
264
|
</a>
|
265
265
|
</div>
|
@@ -267,11 +267,11 @@ href="Changeset.html">Changeset</a> as an addition
|
|
267
267
|
<div class="method-description">
|
268
268
|
<p>
|
269
269
|
Add an array of statements as <a
|
270
|
-
href="Changeset.html#
|
270
|
+
href="Changeset.html#M000062">additions</a>
|
271
271
|
</p>
|
272
272
|
<p><a class="source-toggle" href="#"
|
273
|
-
onclick="toggleCode('
|
274
|
-
<div class="method-source-code" id="
|
273
|
+
onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
|
274
|
+
<div class="method-source-code" id="M000064-source">
|
275
275
|
<pre>
|
276
276
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 288</span>
|
277
277
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_additions</span>(<span class="ruby-identifier">statements</span>)
|
@@ -284,11 +284,11 @@ href="Changeset.html#M000061">additions</a>
|
|
284
284
|
</div>
|
285
285
|
</div>
|
286
286
|
|
287
|
-
<div id="method-
|
288
|
-
<a name="
|
287
|
+
<div id="method-M000066" class="method-detail">
|
288
|
+
<a name="M000066"></a>
|
289
289
|
|
290
290
|
<div class="method-heading">
|
291
|
-
<a href="#
|
291
|
+
<a href="#M000066" class="method-signature">
|
292
292
|
<span class="method-name">add_removal</span><span class="method-args">(statement)</span>
|
293
293
|
</a>
|
294
294
|
</div>
|
@@ -299,8 +299,8 @@ Include a <a href="Statement.html">Statement</a> in the <a
|
|
299
299
|
href="Changeset.html">Changeset</a> as a removal
|
300
300
|
</p>
|
301
301
|
<p><a class="source-toggle" href="#"
|
302
|
-
onclick="toggleCode('
|
303
|
-
<div class="method-source-code" id="
|
302
|
+
onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
|
303
|
+
<div class="method-source-code" id="M000066-source">
|
304
304
|
<pre>
|
305
305
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 300</span>
|
306
306
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_removal</span>(<span class="ruby-identifier">statement</span>)
|
@@ -314,22 +314,22 @@ href="Changeset.html">Changeset</a> as a removal
|
|
314
314
|
</div>
|
315
315
|
</div>
|
316
316
|
|
317
|
-
<div id="method-
|
318
|
-
<a name="
|
317
|
+
<div id="method-M000067" class="method-detail">
|
318
|
+
<a name="M000067"></a>
|
319
319
|
|
320
320
|
<div class="method-heading">
|
321
|
-
<a href="#
|
321
|
+
<a href="#M000067" class="method-signature">
|
322
322
|
<span class="method-name">add_removals</span><span class="method-args">(statements)</span>
|
323
323
|
</a>
|
324
324
|
</div>
|
325
325
|
|
326
326
|
<div class="method-description">
|
327
327
|
<p>
|
328
|
-
Add an array of statements as <a href="Changeset.html#
|
328
|
+
Add an array of statements as <a href="Changeset.html#M000065">removals</a>
|
329
329
|
</p>
|
330
330
|
<p><a class="source-toggle" href="#"
|
331
|
-
onclick="toggleCode('
|
332
|
-
<div class="method-source-code" id="
|
331
|
+
onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
|
332
|
+
<div class="method-source-code" id="M000067-source">
|
333
333
|
<pre>
|
334
334
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 308</span>
|
335
335
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_removals</span>(<span class="ruby-identifier">statements</span>)
|
@@ -342,11 +342,11 @@ Add an array of statements as <a href="Changeset.html#M000064">removals</a>
|
|
342
342
|
</div>
|
343
343
|
</div>
|
344
344
|
|
345
|
-
<div id="method-
|
346
|
-
<a name="
|
345
|
+
<div id="method-M000062" class="method-detail">
|
346
|
+
<a name="M000062"></a>
|
347
347
|
|
348
348
|
<div class="method-heading">
|
349
|
-
<a href="#
|
349
|
+
<a href="#M000062" class="method-signature">
|
350
350
|
<span class="method-name">additions</span><span class="method-args">()</span>
|
351
351
|
</a>
|
352
352
|
</div>
|
@@ -357,8 +357,8 @@ Return the <a href="Statement.html">Statement</a> describing the addition
|
|
357
357
|
in this <a href="Changeset.html">Changeset</a>
|
358
358
|
</p>
|
359
359
|
<p><a class="source-toggle" href="#"
|
360
|
-
onclick="toggleCode('
|
361
|
-
<div class="method-source-code" id="
|
360
|
+
onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
|
361
|
+
<div class="method-source-code" id="M000062-source">
|
362
362
|
<pre>
|
363
363
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 275</span>
|
364
364
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">additions</span>()
|
@@ -369,11 +369,11 @@ in this <a href="Changeset.html">Changeset</a>
|
|
369
369
|
</div>
|
370
370
|
</div>
|
371
371
|
|
372
|
-
<div id="method-
|
373
|
-
<a name="
|
372
|
+
<div id="method-M000065" class="method-detail">
|
373
|
+
<a name="M000065"></a>
|
374
374
|
|
375
375
|
<div class="method-heading">
|
376
|
-
<a href="#
|
376
|
+
<a href="#M000065" class="method-signature">
|
377
377
|
<span class="method-name">removals</span><span class="method-args">()</span>
|
378
378
|
</a>
|
379
379
|
</div>
|
@@ -381,12 +381,12 @@ in this <a href="Changeset.html">Changeset</a>
|
|
381
381
|
<div class="method-description">
|
382
382
|
<p>
|
383
383
|
Return the list of Statements describing the <a
|
384
|
-
href="Changeset.html#
|
384
|
+
href="Changeset.html#M000065">removals</a> in this <a
|
385
385
|
href="Changeset.html">Changeset</a>
|
386
386
|
</p>
|
387
387
|
<p><a class="source-toggle" href="#"
|
388
|
-
onclick="toggleCode('
|
389
|
-
<div class="method-source-code" id="
|
388
|
+
onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
|
389
|
+
<div class="method-source-code" id="M000065-source">
|
390
390
|
<pre>
|
391
391
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 295</span>
|
392
392
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removals</span>()
|
@@ -397,11 +397,11 @@ href="Changeset.html">Changeset</a>
|
|
397
397
|
</div>
|
398
398
|
</div>
|
399
399
|
|
400
|
-
<div id="method-
|
401
|
-
<a name="
|
400
|
+
<div id="method-M000068" class="method-detail">
|
401
|
+
<a name="M000068"></a>
|
402
402
|
|
403
403
|
<div class="method-heading">
|
404
|
-
<a href="#
|
404
|
+
<a href="#M000068" class="method-signature">
|
405
405
|
<span class="method-name">submit</span><span class="method-args">(store, versioned=false)</span>
|
406
406
|
</a>
|
407
407
|
</div>
|
@@ -414,8 +414,8 @@ Submit this changeset to the specified store
|
|
414
414
|
store:: the store to which the changeset should be applied
|
415
415
|
</pre>
|
416
416
|
<p><a class="source-toggle" href="#"
|
417
|
-
onclick="toggleCode('
|
418
|
-
<div class="method-source-code" id="
|
417
|
+
onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
|
418
|
+
<div class="method-source-code" id="M000068-source">
|
419
419
|
<pre>
|
420
420
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 317</span>
|
421
421
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>)
|
@@ -426,11 +426,11 @@ Submit this changeset to the specified store
|
|
426
426
|
</div>
|
427
427
|
</div>
|
428
428
|
|
429
|
-
<div id="method-
|
430
|
-
<a name="
|
429
|
+
<div id="method-M000061" class="method-detail">
|
430
|
+
<a name="M000061"></a>
|
431
431
|
|
432
432
|
<div class="method-heading">
|
433
|
-
<a href="#
|
433
|
+
<a href="#M000061" class="method-signature">
|
434
434
|
<span class="method-name">to_rdf</span><span class="method-args">(include_root=true)</span>
|
435
435
|
</a>
|
436
436
|
</div>
|
@@ -441,8 +441,8 @@ Serialize this changeset as <a href="../RDF.html">RDF</a>/XML suitable for
|
|
441
441
|
submitting to the Platform.
|
442
442
|
</p>
|
443
443
|
<p><a class="source-toggle" href="#"
|
444
|
-
onclick="toggleCode('
|
445
|
-
<div class="method-source-code" id="
|
444
|
+
onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
|
445
|
+
<div class="method-source-code" id="M000061-source">
|
446
446
|
<pre>
|
447
447
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 240</span>
|
448
448
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>(<span class="ruby-identifier">include_root</span>=<span class="ruby-keyword kw">true</span>)
|
@@ -483,19 +483,19 @@ submitting to the Platform.
|
|
483
483
|
</div>
|
484
484
|
</div>
|
485
485
|
|
486
|
-
<div id="method-
|
487
|
-
<a name="
|
486
|
+
<div id="method-M000060" class="method-detail">
|
487
|
+
<a name="M000060"></a>
|
488
488
|
|
489
489
|
<div class="method-heading">
|
490
|
-
<a href="#
|
490
|
+
<a href="#M000060" class="method-signature">
|
491
491
|
<span class="method-name">to_s</span><span class="method-args">()</span>
|
492
492
|
</a>
|
493
493
|
</div>
|
494
494
|
|
495
495
|
<div class="method-description">
|
496
496
|
<p><a class="source-toggle" href="#"
|
497
|
-
onclick="toggleCode('
|
498
|
-
<div class="method-source-code" id="
|
497
|
+
onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
|
498
|
+
<div class="method-source-code" id="M000060-source">
|
499
499
|
<pre>
|
500
500
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 235</span>
|
501
501
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
@@ -93,10 +93,10 @@ href="Changesets.html">Changesets</a> from triple hashes
|
|
93
93
|
<h3 class="section-bar">Methods</h3>
|
94
94
|
|
95
95
|
<div class="name-list">
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
96
|
+
<a href="#M000046">build</a>
|
97
|
+
<a href="#M000045">build_batch</a>
|
98
|
+
<a href="#M000047">create_statements</a>
|
99
|
+
<a href="#M000048">create_statements_for_uri</a>
|
100
100
|
</div>
|
101
101
|
</div>
|
102
102
|
|
@@ -118,11 +118,11 @@ href="Changesets.html">Changesets</a> from triple hashes
|
|
118
118
|
<div id="methods">
|
119
119
|
<h3 class="section-bar">Public Class methods</h3>
|
120
120
|
|
121
|
-
<div id="method-
|
122
|
-
<a name="
|
121
|
+
<div id="method-M000046" class="method-detail">
|
122
|
+
<a name="M000046"></a>
|
123
123
|
|
124
124
|
<div class="method-heading">
|
125
|
-
<a href="#
|
125
|
+
<a href="#M000046" class="method-signature">
|
126
126
|
<span class="method-name">build</span><span class="method-args">(subject_of_change, before, after, creator_name=nil, change_reason=nil)</span>
|
127
127
|
</a>
|
128
128
|
</div>
|
@@ -148,8 +148,8 @@ object.
|
|
148
148
|
change_reason:: description of why the changes are being made
|
149
149
|
</pre>
|
150
150
|
<p><a class="source-toggle" href="#"
|
151
|
-
onclick="toggleCode('
|
152
|
-
<div class="method-source-code" id="
|
151
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
152
|
+
<div class="method-source-code" id="M000046-source">
|
153
153
|
<pre>
|
154
154
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 65</span>
|
155
155
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">build</span>(<span class="ruby-identifier">subject_of_change</span>, <span class="ruby-identifier">before</span>, <span class="ruby-identifier">after</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -169,11 +169,11 @@ object.
|
|
169
169
|
</div>
|
170
170
|
</div>
|
171
171
|
|
172
|
-
<div id="method-
|
173
|
-
<a name="
|
172
|
+
<div id="method-M000045" class="method-detail">
|
173
|
+
<a name="M000045"></a>
|
174
174
|
|
175
175
|
<div class="method-heading">
|
176
|
-
<a href="#
|
176
|
+
<a href="#M000045" class="method-signature">
|
177
177
|
<span class="method-name">build_batch</span><span class="method-args">(before, after, creator_name=nil, change_reason=nil)</span>
|
178
178
|
</a>
|
179
179
|
</div>
|
@@ -196,8 +196,8 @@ Returns an array of <a href="Changeset.html">Changeset</a> objects
|
|
196
196
|
change_reason:: description of why the changes are being made
|
197
197
|
</pre>
|
198
198
|
<p><a class="source-toggle" href="#"
|
199
|
-
onclick="toggleCode('
|
200
|
-
<div class="method-source-code" id="
|
199
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
200
|
+
<div class="method-source-code" id="M000045-source">
|
201
201
|
<pre>
|
202
202
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 22</span>
|
203
203
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">build_batch</span>(<span class="ruby-identifier">before</span>, <span class="ruby-identifier">after</span>, <span class="ruby-identifier">creator_name</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">change_reason</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -235,11 +235,11 @@ Returns an array of <a href="Changeset.html">Changeset</a> objects
|
|
235
235
|
</div>
|
236
236
|
</div>
|
237
237
|
|
238
|
-
<div id="method-
|
239
|
-
<a name="
|
238
|
+
<div id="method-M000047" class="method-detail">
|
239
|
+
<a name="M000047"></a>
|
240
240
|
|
241
241
|
<div class="method-heading">
|
242
|
-
<a href="#
|
242
|
+
<a href="#M000047" class="method-signature">
|
243
243
|
<span class="method-name">create_statements</span><span class="method-args">(triples)</span>
|
244
244
|
</a>
|
245
245
|
</div>
|
@@ -253,8 +253,8 @@ href="Statement.html">Pho::Update::Statement</a> objects
|
|
253
253
|
triples:: a resource hash, conforming to RDF-in-JSON structure
|
254
254
|
</pre>
|
255
255
|
<p><a class="source-toggle" href="#"
|
256
|
-
onclick="toggleCode('
|
257
|
-
<div class="method-source-code" id="
|
256
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
257
|
+
<div class="method-source-code" id="M000047-source">
|
258
258
|
<pre>
|
259
259
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 81</span>
|
260
260
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">create_statements</span>(<span class="ruby-identifier">triples</span>)
|
@@ -269,11 +269,11 @@ href="Statement.html">Pho::Update::Statement</a> objects
|
|
269
269
|
</div>
|
270
270
|
</div>
|
271
271
|
|
272
|
-
<div id="method-
|
273
|
-
<a name="
|
272
|
+
<div id="method-M000048" class="method-detail">
|
273
|
+
<a name="M000048"></a>
|
274
274
|
|
275
275
|
<div class="method-heading">
|
276
|
-
<a href="#
|
276
|
+
<a href="#M000048" class="method-signature">
|
277
277
|
<span class="method-name">create_statements_for_uri</span><span class="method-args">(uri, properties)</span>
|
278
278
|
</a>
|
279
279
|
</div>
|
@@ -288,8 +288,8 @@ provided properties hash
|
|
288
288
|
properties:: hash of predicate-object values
|
289
289
|
</pre>
|
290
290
|
<p><a class="source-toggle" href="#"
|
291
|
-
onclick="toggleCode('
|
292
|
-
<div class="method-source-code" id="
|
291
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
292
|
+
<div class="method-source-code" id="M000048-source">
|
293
293
|
<pre>
|
294
294
|
<span class="ruby-comment cmt"># File lib/pho/changeset_builder.rb, line 94</span>
|
295
295
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetBuilder</span>.<span class="ruby-identifier">create_statements_for_uri</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">properties</span>)
|