pho 0.7.8 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +8 -0
- data/Rakefile +4 -2
- data/doc/rdoc/classes/Pho.html +4 -0
- data/doc/rdoc/classes/Pho/CommandLine.html +114 -114
- 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.html +16 -0
- data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +168 -108
- data/doc/rdoc/classes/Pho/FileManagement/BNodeRewritingHandler.html +226 -0
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +48 -35
- data/doc/rdoc/classes/Pho/FileManagement/FileSplitter.html +291 -0
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +22 -22
- data/doc/rdoc/classes/Pho/FileManagement/StatementHandler.html +152 -0
- data/doc/rdoc/classes/Pho/FileManagement/Util.html +212 -0
- 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/classes/String.html +1 -1
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +13 -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/files/lib/pho/upload_rb.html +101 -0
- data/doc/rdoc/files/lib/pho_rb.html +4 -2
- data/doc/rdoc/fr_class_index.html +4 -0
- data/doc/rdoc/fr_file_index.html +1 -0
- data/doc/rdoc/fr_method_index.html +228 -218
- data/lib/pho.rb +4 -1
- data/lib/pho/file_management.rb +30 -1
- data/lib/pho/file_manager.rb +7 -0
- data/lib/pho/rdf_collection.rb +4 -4
- data/lib/pho/upload.rb +156 -0
- data/tests/tc_bnodehandler.rb +42 -0
- data/tests/tc_filesplitter.rb +51 -0
- data/tests/ts_pho.rb +3 -1
- metadata +56 -8
@@ -93,7 +93,7 @@ href="Changesets.html">Changesets</a>
|
|
93
93
|
<h3 class="section-bar">Methods</h3>
|
94
94
|
|
95
95
|
<div class="name-list">
|
96
|
-
<a href="#
|
96
|
+
<a href="#M000035">update_literal</a>
|
97
97
|
</div>
|
98
98
|
</div>
|
99
99
|
|
@@ -115,19 +115,19 @@ href="Changesets.html">Changesets</a>
|
|
115
115
|
<div id="methods">
|
116
116
|
<h3 class="section-bar">Public Class methods</h3>
|
117
117
|
|
118
|
-
<div id="method-
|
119
|
-
<a name="
|
118
|
+
<div id="method-M000035" class="method-detail">
|
119
|
+
<a name="M000035"></a>
|
120
120
|
|
121
121
|
<div class="method-heading">
|
122
|
-
<a href="#
|
122
|
+
<a href="#M000035" class="method-signature">
|
123
123
|
<span class="method-name">update_literal</span><span class="method-args">(store, subject, predicate, old_value, new_value, old_lang=nil, old_datatype=nil, new_lang=nil, new_datatype=nil, creator_name=nil, change_reason=nil, versioned=false)</span>
|
124
124
|
</a>
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div class="method-description">
|
128
128
|
<p><a class="source-toggle" href="#"
|
129
|
-
onclick="toggleCode('
|
130
|
-
<div class="method-source-code" id="
|
129
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
130
|
+
<div class="method-source-code" id="M000035-source">
|
131
131
|
<pre>
|
132
132
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 328</span>
|
133
133
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">ChangesetHelper</span>.<span class="ruby-identifier">update_literal</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">old_value</span>, <span class="ruby-identifier">new_value</span>, <span class="ruby-identifier">old_lang</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">old_datatype</span>=<span class="ruby-keyword kw">nil</span>,
|
@@ -94,8 +94,8 @@ href="Changeset.html">Changeset</a> objects
|
|
94
94
|
<h3 class="section-bar">Methods</h3>
|
95
95
|
|
96
96
|
<div class="name-list">
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
97
|
+
<a href="#M000047">all_to_rdf</a>
|
98
|
+
<a href="#M000048">submit_all</a>
|
99
99
|
</div>
|
100
100
|
</div>
|
101
101
|
|
@@ -117,11 +117,11 @@ href="Changeset.html">Changeset</a> objects
|
|
117
117
|
<div id="methods">
|
118
118
|
<h3 class="section-bar">Public Class methods</h3>
|
119
119
|
|
120
|
-
<div id="method-
|
121
|
-
<a name="
|
120
|
+
<div id="method-M000047" class="method-detail">
|
121
|
+
<a name="M000047"></a>
|
122
122
|
|
123
123
|
<div class="method-heading">
|
124
|
-
<a href="#
|
124
|
+
<a href="#M000047" class="method-signature">
|
125
125
|
<span class="method-name">all_to_rdf</span><span class="method-args">(changesets)</span>
|
126
126
|
</a>
|
127
127
|
</div>
|
@@ -134,8 +134,8 @@ Convert an array of changesets into an RDF/XML document
|
|
134
134
|
changesets:: an array of changesets
|
135
135
|
</pre>
|
136
136
|
<p><a class="source-toggle" href="#"
|
137
|
-
onclick="toggleCode('
|
138
|
-
<div class="method-source-code" id="
|
137
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
138
|
+
<div class="method-source-code" id="M000047-source">
|
139
139
|
<pre>
|
140
140
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 158</span>
|
141
141
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Changesets</span>.<span class="ruby-identifier">all_to_rdf</span>(<span class="ruby-identifier">changesets</span>)
|
@@ -150,11 +150,11 @@ Convert an array of changesets into an RDF/XML document
|
|
150
150
|
</div>
|
151
151
|
</div>
|
152
152
|
|
153
|
-
<div id="method-
|
154
|
-
<a name="
|
153
|
+
<div id="method-M000048" class="method-detail">
|
154
|
+
<a name="M000048"></a>
|
155
155
|
|
156
156
|
<div class="method-heading">
|
157
|
-
<a href="#
|
157
|
+
<a href="#M000048" class="method-signature">
|
158
158
|
<span class="method-name">submit_all</span><span class="method-args">(changesets, store, versioned=false)</span>
|
159
159
|
</a>
|
160
160
|
</div>
|
@@ -176,8 +176,8 @@ to an RDF/XML document.
|
|
176
176
|
change_reason and creator_name properties.
|
177
177
|
</pre>
|
178
178
|
<p><a class="source-toggle" href="#"
|
179
|
-
onclick="toggleCode('
|
180
|
-
<div class="method-source-code" id="
|
179
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
180
|
+
<div class="method-source-code" id="M000048-source">
|
181
181
|
<pre>
|
182
182
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 178</span>
|
183
183
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Changesets</span>.<span class="ruby-identifier">submit_all</span>(<span class="ruby-identifier">changesets</span>, <span class="ruby-identifier">store</span>, <span class="ruby-identifier">versioned</span>=<span class="ruby-keyword kw">false</span>)
|
@@ -88,9 +88,9 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
91
|
+
<a href="#M000037">==</a>
|
92
|
+
<a href="#M000036">new</a>
|
93
|
+
<a href="#M000038">write_object</a>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
|
@@ -136,11 +136,11 @@ Language for literals
|
|
136
136
|
<div id="methods">
|
137
137
|
<h3 class="section-bar">Public Class methods</h3>
|
138
138
|
|
139
|
-
<div id="method-
|
140
|
-
<a name="
|
139
|
+
<div id="method-M000036" class="method-detail">
|
140
|
+
<a name="M000036"></a>
|
141
141
|
|
142
142
|
<div class="method-heading">
|
143
|
-
<a href="#
|
143
|
+
<a href="#M000036" class="method-signature">
|
144
144
|
<span class="method-name">new</span><span class="method-args">(subject, predicate, object, language=nil, datatype=nil)</span>
|
145
145
|
</a>
|
146
146
|
</div>
|
@@ -158,8 +158,8 @@ have one of lang or datatype but not both
|
|
158
158
|
datatype:: datatype for literal
|
159
159
|
</pre>
|
160
160
|
<p><a class="source-toggle" href="#"
|
161
|
-
onclick="toggleCode('
|
162
|
-
<div class="method-source-code" id="
|
161
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
162
|
+
<div class="method-source-code" id="M000036-source">
|
163
163
|
<pre>
|
164
164
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 86</span>
|
165
165
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>, <span class="ruby-identifier">language</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">datatype</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -177,19 +177,19 @@ have one of lang or datatype but not both
|
|
177
177
|
|
178
178
|
<h3 class="section-bar">Public Instance methods</h3>
|
179
179
|
|
180
|
-
<div id="method-
|
181
|
-
<a name="
|
180
|
+
<div id="method-M000037" class="method-detail">
|
181
|
+
<a name="M000037"></a>
|
182
182
|
|
183
183
|
<div class="method-heading">
|
184
|
-
<a href="#
|
184
|
+
<a href="#M000037" class="method-signature">
|
185
185
|
<span class="method-name">==</span><span class="method-args">(other)</span>
|
186
186
|
</a>
|
187
187
|
</div>
|
188
188
|
|
189
189
|
<div class="method-description">
|
190
190
|
<p><a class="source-toggle" href="#"
|
191
|
-
onclick="toggleCode('
|
192
|
-
<div class="method-source-code" id="
|
191
|
+
onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
|
192
|
+
<div class="method-source-code" id="M000037-source">
|
193
193
|
<pre>
|
194
194
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 95</span>
|
195
195
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
|
@@ -209,19 +209,19 @@ have one of lang or datatype but not both
|
|
209
209
|
|
210
210
|
<h3 class="section-bar">Protected Instance methods</h3>
|
211
211
|
|
212
|
-
<div id="method-
|
213
|
-
<a name="
|
212
|
+
<div id="method-M000038" class="method-detail">
|
213
|
+
<a name="M000038"></a>
|
214
214
|
|
215
215
|
<div class="method-heading">
|
216
|
-
<a href="#
|
216
|
+
<a href="#M000038" class="method-signature">
|
217
217
|
<span class="method-name">write_object</span><span class="method-args">()</span>
|
218
218
|
</a>
|
219
219
|
</div>
|
220
220
|
|
221
221
|
<div class="method-description">
|
222
222
|
<p><a class="source-toggle" href="#"
|
223
|
-
onclick="toggleCode('
|
224
|
-
<div class="method-source-code" id="
|
223
|
+
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
224
|
+
<div class="method-source-code" id="M000038-source">
|
225
225
|
<pre>
|
226
226
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 107</span>
|
227
227
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_object</span>()
|
@@ -88,10 +88,10 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
91
|
+
<a href="#M000044">==</a>
|
92
|
+
<a href="#M000043">new</a>
|
93
|
+
<a href="#M000046">write_object</a>
|
94
|
+
<a href="#M000045">write_subject</a>
|
95
95
|
</div>
|
96
96
|
</div>
|
97
97
|
|
@@ -113,11 +113,11 @@
|
|
113
113
|
<div id="methods">
|
114
114
|
<h3 class="section-bar">Public Class methods</h3>
|
115
115
|
|
116
|
-
<div id="method-
|
117
|
-
<a name="
|
116
|
+
<div id="method-M000043" class="method-detail">
|
117
|
+
<a name="M000043"></a>
|
118
118
|
|
119
119
|
<div class="method-heading">
|
120
|
-
<a href="#
|
120
|
+
<a href="#M000043" class="method-signature">
|
121
121
|
<span class="method-name">new</span><span class="method-args">(subject, predicate, object)</span>
|
122
122
|
</a>
|
123
123
|
</div>
|
@@ -132,8 +132,8 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
132
132
|
object:: resource uri
|
133
133
|
</pre>
|
134
134
|
<p><a class="source-toggle" href="#"
|
135
|
-
onclick="toggleCode('
|
136
|
-
<div class="method-source-code" id="
|
135
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
136
|
+
<div class="method-source-code" id="M000043-source">
|
137
137
|
<pre>
|
138
138
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 128</span>
|
139
139
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>)
|
@@ -146,19 +146,19 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
146
146
|
|
147
147
|
<h3 class="section-bar">Public Instance methods</h3>
|
148
148
|
|
149
|
-
<div id="method-
|
150
|
-
<a name="
|
149
|
+
<div id="method-M000044" class="method-detail">
|
150
|
+
<a name="M000044"></a>
|
151
151
|
|
152
152
|
<div class="method-heading">
|
153
|
-
<a href="#
|
153
|
+
<a href="#M000044" class="method-signature">
|
154
154
|
<span class="method-name">==</span><span class="method-args">(other)</span>
|
155
155
|
</a>
|
156
156
|
</div>
|
157
157
|
|
158
158
|
<div class="method-description">
|
159
159
|
<p><a class="source-toggle" href="#"
|
160
|
-
onclick="toggleCode('
|
161
|
-
<div class="method-source-code" id="
|
160
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
161
|
+
<div class="method-source-code" id="M000044-source">
|
162
162
|
<pre>
|
163
163
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 132</span>
|
164
164
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
|
@@ -176,19 +176,19 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
176
176
|
|
177
177
|
<h3 class="section-bar">Protected Instance methods</h3>
|
178
178
|
|
179
|
-
<div id="method-
|
180
|
-
<a name="
|
179
|
+
<div id="method-M000046" class="method-detail">
|
180
|
+
<a name="M000046"></a>
|
181
181
|
|
182
182
|
<div class="method-heading">
|
183
|
-
<a href="#
|
183
|
+
<a href="#M000046" class="method-signature">
|
184
184
|
<span class="method-name">write_object</span><span class="method-args">()</span>
|
185
185
|
</a>
|
186
186
|
</div>
|
187
187
|
|
188
188
|
<div class="method-description">
|
189
189
|
<p><a class="source-toggle" href="#"
|
190
|
-
onclick="toggleCode('
|
191
|
-
<div class="method-source-code" id="
|
190
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
191
|
+
<div class="method-source-code" id="M000046-source">
|
192
192
|
<pre>
|
193
193
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 146</span>
|
194
194
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_object</span>()
|
@@ -199,19 +199,19 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
|
202
|
-
<div id="method-
|
203
|
-
<a name="
|
202
|
+
<div id="method-M000045" class="method-detail">
|
203
|
+
<a name="M000045"></a>
|
204
204
|
|
205
205
|
<div class="method-heading">
|
206
|
-
<a href="#
|
206
|
+
<a href="#M000045" class="method-signature">
|
207
207
|
<span class="method-name">write_subject</span><span class="method-args">()</span>
|
208
208
|
</a>
|
209
209
|
</div>
|
210
210
|
|
211
211
|
<div class="method-description">
|
212
212
|
<p><a class="source-toggle" href="#"
|
213
|
-
onclick="toggleCode('
|
214
|
-
<div class="method-source-code" id="
|
213
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
214
|
+
<div class="method-source-code" id="M000045-source">
|
215
215
|
<pre>
|
216
216
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 142</span>
|
217
217
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_subject</span>()
|
@@ -93,10 +93,10 @@ Base class capturing data relating to a reified RDF triple described in a
|
|
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="#M000049">create_literal</a>
|
97
|
+
<a href="#M000050">create_resource</a>
|
98
|
+
<a href="#M000052">new</a>
|
99
|
+
<a href="#M000051">to_rdf</a>
|
100
100
|
</div>
|
101
101
|
</div>
|
102
102
|
|
@@ -150,11 +150,11 @@ URI of subject
|
|
150
150
|
<div id="methods">
|
151
151
|
<h3 class="section-bar">Public Class methods</h3>
|
152
152
|
|
153
|
-
<div id="method-
|
154
|
-
<a name="
|
153
|
+
<div id="method-M000049" class="method-detail">
|
154
|
+
<a name="M000049"></a>
|
155
155
|
|
156
156
|
<div class="method-heading">
|
157
|
-
<a href="#
|
157
|
+
<a href="#M000049" class="method-signature">
|
158
158
|
<span class="method-name">create_literal</span><span class="method-args">(subject, predicate, object, lang=nil, datatype=nil)</span>
|
159
159
|
</a>
|
160
160
|
</div>
|
@@ -172,8 +172,8 @@ have one of lang or datatype but not both
|
|
172
172
|
datatype:: datatype for literal
|
173
173
|
</pre>
|
174
174
|
<p><a class="source-toggle" href="#"
|
175
|
-
onclick="toggleCode('
|
176
|
-
<div class="method-source-code" id="
|
175
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
176
|
+
<div class="method-source-code" id="M000049-source">
|
177
177
|
<pre>
|
178
178
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 29</span>
|
179
179
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Statement</span>.<span class="ruby-identifier">create_literal</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>, <span class="ruby-identifier">lang</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">datatype</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -184,11 +184,11 @@ have one of lang or datatype but not both
|
|
184
184
|
</div>
|
185
185
|
</div>
|
186
186
|
|
187
|
-
<div id="method-
|
188
|
-
<a name="
|
187
|
+
<div id="method-M000050" class="method-detail">
|
188
|
+
<a name="M000050"></a>
|
189
189
|
|
190
190
|
<div class="method-heading">
|
191
|
-
<a href="#
|
191
|
+
<a href="#M000050" class="method-signature">
|
192
192
|
<span class="method-name">create_resource</span><span class="method-args">(subject, predicate, object)</span>
|
193
193
|
</a>
|
194
194
|
</div>
|
@@ -203,8 +203,8 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
203
203
|
object:: resource uri
|
204
204
|
</pre>
|
205
205
|
<p><a class="source-toggle" href="#"
|
206
|
-
onclick="toggleCode('
|
207
|
-
<div class="method-source-code" id="
|
206
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
207
|
+
<div class="method-source-code" id="M000050-source">
|
208
208
|
<pre>
|
209
209
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 38</span>
|
210
210
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Statement</span>.<span class="ruby-identifier">create_resource</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>)
|
@@ -217,11 +217,11 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
217
217
|
|
218
218
|
<h3 class="section-bar">Protected Class methods</h3>
|
219
219
|
|
220
|
-
<div id="method-
|
221
|
-
<a name="
|
220
|
+
<div id="method-M000052" class="method-detail">
|
221
|
+
<a name="M000052"></a>
|
222
222
|
|
223
223
|
<div class="method-heading">
|
224
|
-
<a href="#
|
224
|
+
<a href="#M000052" class="method-signature">
|
225
225
|
<span class="method-name">new</span><span class="method-args">(subject, predicate, object)</span>
|
226
226
|
</a>
|
227
227
|
</div>
|
@@ -239,8 +239,8 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
239
239
|
</td></tr>
|
240
240
|
</table>
|
241
241
|
<p><a class="source-toggle" href="#"
|
242
|
-
onclick="toggleCode('
|
243
|
-
<div class="method-source-code" id="
|
242
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
243
|
+
<div class="method-source-code" id="M000052-source">
|
244
244
|
<pre>
|
245
245
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 61</span>
|
246
246
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">predicate</span>, <span class="ruby-identifier">object</span>)
|
@@ -255,11 +255,11 @@ Create a <a href="Statement.html">Statement</a> referring to a resource
|
|
255
255
|
|
256
256
|
<h3 class="section-bar">Public Instance methods</h3>
|
257
257
|
|
258
|
-
<div id="method-
|
259
|
-
<a name="
|
258
|
+
<div id="method-M000051" class="method-detail">
|
259
|
+
<a name="M000051"></a>
|
260
260
|
|
261
261
|
<div class="method-heading">
|
262
|
-
<a href="#
|
262
|
+
<a href="#M000051" class="method-signature">
|
263
263
|
<span class="method-name">to_rdf</span><span class="method-args">()</span>
|
264
264
|
</a>
|
265
265
|
</div>
|
@@ -270,8 +270,8 @@ Create an RDF/XML fragment describing this <a
|
|
270
270
|
href="Statement.html">Statement</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('M000051-source');return false;">[Source]</a></p>
|
274
|
+
<div class="method-source-code" id="M000051-source">
|
275
275
|
<pre>
|
276
276
|
<span class="ruby-comment cmt"># File lib/pho/changeset.rb, line 43</span>
|
277
277
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>()
|
@@ -122,7 +122,7 @@
|
|
122
122
|
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
123
123
|
<div class="method-source-code" id="M000001-source">
|
124
124
|
<pre>
|
125
|
-
<span class="ruby-comment cmt"># File lib/pho.rb, line
|
125
|
+
<span class="ruby-comment cmt"># File lib/pho.rb, line 40</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_with?</span>(<span class="ruby-identifier">prefix</span>)
|
127
127
|
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">prefix</span>) <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
128
128
|
<span class="ruby-keyword kw">end</span>
|
data/doc/rdoc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Wed,
|
1
|
+
Wed, 21 Sep 2011 15:49:41 +0100
|
data/doc/rdoc/files/CHANGES.html
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Thu Jan 27 16:46:09 +0000 2011</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -72,6 +72,18 @@
|
|
72
72
|
<p>
|
73
73
|
Brief notes on significant changes and additions in each release
|
74
74
|
</p>
|
75
|
+
<h2>Version 0.7.9</h2>
|
76
|
+
<ul>
|
77
|
+
<li>Pho::FileManagement::Util.prepare_platform_upload for preparing batch
|
78
|
+
uploads for use with RDFManager.
|
79
|
+
|
80
|
+
</li>
|
81
|
+
<li>Added initial support for converting and chunking files into smaller pieces
|
82
|
+
for uploading into the Talis Platform. See <a
|
83
|
+
href="../classes/Pho/FileManagement/FileSplitter.html">Pho::FileManagement::FileSplitter</a>.
|
84
|
+
|
85
|
+
</li>
|
86
|
+
</ul>
|
75
87
|
<h2>Version 0.7.8</h2>
|
76
88
|
<ul>
|
77
89
|
<li>Added —updates to allow for store/upload of only changed files
|