pho 0.6 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/CHANGES +6 -0
  2. data/Rakefile +1 -1
  3. data/doc/rdoc/classes/Pho/CommandLine.html +67 -67
  4. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  5. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  6. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  7. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  8. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  9. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +90 -90
  10. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  11. data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +63 -63
  12. data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +24 -24
  13. data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +18 -18
  14. data/doc/rdoc/classes/Pho/Job.html +64 -64
  15. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  16. data/doc/rdoc/classes/Pho/QueryProfile.html +60 -60
  17. data/doc/rdoc/classes/Pho/RDF/Parser.html +24 -24
  18. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  19. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  20. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  21. data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -42
  22. data/doc/rdoc/classes/Pho/Status.html +26 -26
  23. data/doc/rdoc/classes/Pho/Store.html +209 -209
  24. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
  25. data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
  26. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
  27. data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +159 -0
  28. data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
  29. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
  30. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
  31. data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
  32. data/doc/rdoc/created.rid +1 -1
  33. data/doc/rdoc/files/CHANGES.html +13 -1
  34. data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
  35. data/doc/rdoc/files/lib/pho/sparql_rb.html +1 -1
  36. data/doc/rdoc/fr_method_index.html +183 -182
  37. data/examples/linkeddata/proxy.rb +74 -0
  38. data/lib/pho/command_line.rb +1 -1
  39. data/lib/pho/sparql.rb +9 -0
  40. data/tests/tc_sparql_helper.rb +10 -1
  41. metadata +5 -2
@@ -92,12 +92,12 @@ Simple mechanism for managing etags
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000194">add</a>&nbsp;&nbsp;
96
- <a href="#M000195">add_from_response</a>&nbsp;&nbsp;
97
- <a href="#M000196">get</a>&nbsp;&nbsp;
98
- <a href="#M000197">has_tag?</a>&nbsp;&nbsp;
99
- <a href="#M000192">new</a>&nbsp;&nbsp;
100
- <a href="#M000193">save</a>&nbsp;&nbsp;
95
+ <a href="#M000195">add</a>&nbsp;&nbsp;
96
+ <a href="#M000196">add_from_response</a>&nbsp;&nbsp;
97
+ <a href="#M000197">get</a>&nbsp;&nbsp;
98
+ <a href="#M000198">has_tag?</a>&nbsp;&nbsp;
99
+ <a href="#M000193">new</a>&nbsp;&nbsp;
100
+ <a href="#M000194">save</a>&nbsp;&nbsp;
101
101
  </div>
102
102
  </div>
103
103
 
@@ -137,19 +137,19 @@ Simple mechanism for managing etags
137
137
  <div id="methods">
138
138
  <h3 class="section-bar">Public Class methods</h3>
139
139
 
140
- <div id="method-M000192" class="method-detail">
141
- <a name="M000192"></a>
140
+ <div id="method-M000193" class="method-detail">
141
+ <a name="M000193"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000192" class="method-signature">
144
+ <a href="#M000193" class="method-signature">
145
145
  <span class="method-name">new</span><span class="method-args">(file = nil)</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('M000192-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000192-source">
151
+ onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000193-source">
153
153
  <pre>
154
154
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 11</span>
155
155
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>)
@@ -167,19 +167,19 @@ Simple mechanism for managing etags
167
167
 
168
168
  <h3 class="section-bar">Public Instance methods</h3>
169
169
 
170
- <div id="method-M000194" class="method-detail">
171
- <a name="M000194"></a>
170
+ <div id="method-M000195" class="method-detail">
171
+ <a name="M000195"></a>
172
172
 
173
173
  <div class="method-heading">
174
- <a href="#M000194" class="method-signature">
174
+ <a href="#M000195" class="method-signature">
175
175
  <span class="method-name">add</span><span class="method-args">(uri, tag)</span>
176
176
  </a>
177
177
  </div>
178
178
 
179
179
  <div class="method-description">
180
180
  <p><a class="source-toggle" href="#"
181
- onclick="toggleCode('M000194-source');return false;">[Source]</a></p>
182
- <div class="method-source-code" id="M000194-source">
181
+ onclick="toggleCode('M000195-source');return false;">[Source]</a></p>
182
+ <div class="method-source-code" id="M000195-source">
183
183
  <pre>
184
184
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 34</span>
185
185
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">tag</span>)
@@ -193,19 +193,19 @@ Simple mechanism for managing etags
193
193
  </div>
194
194
  </div>
195
195
 
196
- <div id="method-M000195" class="method-detail">
197
- <a name="M000195"></a>
196
+ <div id="method-M000196" class="method-detail">
197
+ <a name="M000196"></a>
198
198
 
199
199
  <div class="method-heading">
200
- <a href="#M000195" class="method-signature">
200
+ <a href="#M000196" class="method-signature">
201
201
  <span class="method-name">add_from_response</span><span class="method-args">(uri, response)</span>
202
202
  </a>
203
203
  </div>
204
204
 
205
205
  <div class="method-description">
206
206
  <p><a class="source-toggle" href="#"
207
- onclick="toggleCode('M000195-source');return false;">[Source]</a></p>
208
- <div class="method-source-code" id="M000195-source">
207
+ onclick="toggleCode('M000196-source');return false;">[Source]</a></p>
208
+ <div class="method-source-code" id="M000196-source">
209
209
  <pre>
210
210
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 41</span>
211
211
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_from_response</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">response</span>)
@@ -216,19 +216,19 @@ Simple mechanism for managing etags
216
216
  </div>
217
217
  </div>
218
218
 
219
- <div id="method-M000196" class="method-detail">
220
- <a name="M000196"></a>
219
+ <div id="method-M000197" class="method-detail">
220
+ <a name="M000197"></a>
221
221
 
222
222
  <div class="method-heading">
223
- <a href="#M000196" class="method-signature">
223
+ <a href="#M000197" class="method-signature">
224
224
  <span class="method-name">get</span><span class="method-args">(uri)</span>
225
225
  </a>
226
226
  </div>
227
227
 
228
228
  <div class="method-description">
229
229
  <p><a class="source-toggle" href="#"
230
- onclick="toggleCode('M000196-source');return false;">[Source]</a></p>
231
- <div class="method-source-code" id="M000196-source">
230
+ onclick="toggleCode('M000197-source');return false;">[Source]</a></p>
231
+ <div class="method-source-code" id="M000197-source">
232
232
  <pre>
233
233
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 45</span>
234
234
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">uri</span>)
@@ -239,19 +239,19 @@ Simple mechanism for managing etags
239
239
  </div>
240
240
  </div>
241
241
 
242
- <div id="method-M000197" class="method-detail">
243
- <a name="M000197"></a>
242
+ <div id="method-M000198" class="method-detail">
243
+ <a name="M000198"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="#M000197" class="method-signature">
246
+ <a href="#M000198" class="method-signature">
247
247
  <span class="method-name">has_tag?</span><span class="method-args">(uri)</span>
248
248
  </a>
249
249
  </div>
250
250
 
251
251
  <div class="method-description">
252
252
  <p><a class="source-toggle" href="#"
253
- onclick="toggleCode('M000197-source');return false;">[Source]</a></p>
254
- <div class="method-source-code" id="M000197-source">
253
+ onclick="toggleCode('M000198-source');return false;">[Source]</a></p>
254
+ <div class="method-source-code" id="M000198-source">
255
255
  <pre>
256
256
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 49</span>
257
257
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_tag?</span>(<span class="ruby-identifier">uri</span>)
@@ -262,19 +262,19 @@ Simple mechanism for managing etags
262
262
  </div>
263
263
  </div>
264
264
 
265
- <div id="method-M000193" class="method-detail">
266
- <a name="M000193"></a>
265
+ <div id="method-M000194" class="method-detail">
266
+ <a name="M000194"></a>
267
267
 
268
268
  <div class="method-heading">
269
- <a href="#M000193" class="method-signature">
269
+ <a href="#M000194" class="method-signature">
270
270
  <span class="method-name">save</span><span class="method-args">(other=nil)</span>
271
271
  </a>
272
272
  </div>
273
273
 
274
274
  <div class="method-description">
275
275
  <p><a class="source-toggle" href="#"
276
- onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
277
- <div class="method-source-code" id="M000193-source">
276
+ onclick="toggleCode('M000194-source');return false;">[Source]</a></p>
277
+ <div class="method-source-code" id="M000194-source">
278
278
  <pre>
279
279
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 20</span>
280
280
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">other</span>=<span class="ruby-keyword kw">nil</span>)
@@ -92,9 +92,9 @@ Captures the data returned in a facetted search
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000068">new</a>&nbsp;&nbsp;
96
- <a href="#M000070">parse</a>&nbsp;&nbsp;
97
- <a href="#M000069">read_from_store</a>&nbsp;&nbsp;
95
+ <a href="#M000069">new</a>&nbsp;&nbsp;
96
+ <a href="#M000071">parse</a>&nbsp;&nbsp;
97
+ <a href="#M000070">read_from_store</a>&nbsp;&nbsp;
98
98
  </div>
99
99
  </div>
100
100
 
@@ -148,19 +148,19 @@ The query used to generate the facet results, as echoed in the response
148
148
  <div id="methods">
149
149
  <h3 class="section-bar">Public Class methods</h3>
150
150
 
151
- <div id="method-M000068" class="method-detail">
152
- <a name="M000068"></a>
151
+ <div id="method-M000069" class="method-detail">
152
+ <a name="M000069"></a>
153
153
 
154
154
  <div class="method-heading">
155
- <a href="#M000068" class="method-signature">
155
+ <a href="#M000069" class="method-signature">
156
156
  <span class="method-name">new</span><span class="method-args">(query, fields, facets=Hash.new)</span>
157
157
  </a>
158
158
  </div>
159
159
 
160
160
  <div class="method-description">
161
161
  <p><a class="source-toggle" href="#"
162
- onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000068-source">
162
+ onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
163
+ <div class="method-source-code" id="M000069-source">
164
164
  <pre>
165
165
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 32</span>
166
166
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">fields</span>, <span class="ruby-identifier">facets</span>=<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>)
@@ -173,19 +173,19 @@ The query used to generate the facet results, as echoed in the response
173
173
  </div>
174
174
  </div>
175
175
 
176
- <div id="method-M000070" class="method-detail">
177
- <a name="M000070"></a>
176
+ <div id="method-M000071" class="method-detail">
177
+ <a name="M000071"></a>
178
178
 
179
179
  <div class="method-heading">
180
- <a href="#M000070" class="method-signature">
180
+ <a href="#M000071" class="method-signature">
181
181
  <span class="method-name">parse</span><span class="method-args">(data)</span>
182
182
  </a>
183
183
  </div>
184
184
 
185
185
  <div class="method-description">
186
186
  <p><a class="source-toggle" href="#"
187
- onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
188
- <div class="method-source-code" id="M000070-source">
187
+ onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
188
+ <div class="method-source-code" id="M000071-source">
189
189
  <pre>
190
190
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 58</span>
191
191
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Results</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">data</span>)
@@ -232,11 +232,11 @@ The query used to generate the facet results, as echoed in the response
232
232
  </div>
233
233
  </div>
234
234
 
235
- <div id="method-M000069" class="method-detail">
236
- <a name="M000069"></a>
235
+ <div id="method-M000070" class="method-detail">
236
+ <a name="M000070"></a>
237
237
 
238
238
  <div class="method-heading">
239
- <a href="#M000069" class="method-signature">
239
+ <a href="#M000070" class="method-signature">
240
240
  <span class="method-name">read_from_store</span><span class="method-args">(store, query, facets, params=Hash.new)</span>
241
241
  </a>
242
242
  </div>
@@ -257,14 +257,14 @@ response
257
257
  <tr><td valign="top">facets:</td><td>an ordered list of facets to be used
258
258
 
259
259
  </td></tr>
260
- <tr><td valign="top">params:</td><td>additional params. See <a href="../Store.html#M000157">Store.facet</a> for
260
+ <tr><td valign="top">params:</td><td>additional params. See <a href="../Store.html#M000158">Store.facet</a> for
261
261
  details. XML output is requested automatically
262
262
 
263
263
  </td></tr>
264
264
  </table>
265
265
  <p><a class="source-toggle" href="#"
266
- onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
267
- <div class="method-source-code" id="M000069-source">
266
+ onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
267
+ <div class="method-source-code" id="M000070-source">
268
268
  <pre>
269
269
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 45</span>
270
270
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Results</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">facets</span>, <span class="ruby-identifier">params</span>=<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>)
@@ -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="#M000071">new</a>&nbsp;&nbsp;
95
+ <a href="#M000072">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-M000071" class="method-detail">
141
- <a name="M000071"></a>
140
+ <div id="method-M000072" class="method-detail">
141
+ <a name="M000072"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000071" class="method-signature">
144
+ <a href="#M000072" 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('M000071-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000071-source">
151
+ onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000072-source">
153
153
  <pre>
154
154
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 12</span>
155
155
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">hits</span>, <span class="ruby-identifier">search_uri</span>, <span class="ruby-identifier">value</span>)
@@ -101,21 +101,21 @@ Platform API.
101
101
  <h3 class="section-bar">Methods</h3>
102
102
 
103
103
  <div class="name-list">
104
- <a href="#M000091">&lt;&lt;</a>&nbsp;&nbsp;
105
- <a href="#M000089">create_mapping</a>&nbsp;&nbsp;
106
- <a href="#M000096">get_by_name</a>&nbsp;&nbsp;
107
- <a href="#M000097">get_by_uri</a>&nbsp;&nbsp;
108
- <a href="#M000092">get_name</a>&nbsp;&nbsp;
109
- <a href="#M000093">get_property_uri</a>&nbsp;&nbsp;
110
- <a href="#M000094">mapped_name?</a>&nbsp;&nbsp;
111
- <a href="#M000095">mapped_uri?</a>&nbsp;&nbsp;
112
- <a href="#M000090">new</a>&nbsp;&nbsp;
113
- <a href="#M000088">read_from_store</a>&nbsp;&nbsp;
114
- <a href="#M000098">remove</a>&nbsp;&nbsp;
115
- <a href="#M000099">remove_by_name</a>&nbsp;&nbsp;
116
- <a href="#M000100">remove_by_uri</a>&nbsp;&nbsp;
117
- <a href="#M000101">to_rdf</a>&nbsp;&nbsp;
118
- <a href="#M000102">upload</a>&nbsp;&nbsp;
104
+ <a href="#M000092">&lt;&lt;</a>&nbsp;&nbsp;
105
+ <a href="#M000090">create_mapping</a>&nbsp;&nbsp;
106
+ <a href="#M000097">get_by_name</a>&nbsp;&nbsp;
107
+ <a href="#M000098">get_by_uri</a>&nbsp;&nbsp;
108
+ <a href="#M000093">get_name</a>&nbsp;&nbsp;
109
+ <a href="#M000094">get_property_uri</a>&nbsp;&nbsp;
110
+ <a href="#M000095">mapped_name?</a>&nbsp;&nbsp;
111
+ <a href="#M000096">mapped_uri?</a>&nbsp;&nbsp;
112
+ <a href="#M000091">new</a>&nbsp;&nbsp;
113
+ <a href="#M000089">read_from_store</a>&nbsp;&nbsp;
114
+ <a href="#M000099">remove</a>&nbsp;&nbsp;
115
+ <a href="#M000100">remove_by_name</a>&nbsp;&nbsp;
116
+ <a href="#M000101">remove_by_uri</a>&nbsp;&nbsp;
117
+ <a href="#M000102">to_rdf</a>&nbsp;&nbsp;
118
+ <a href="#M000103">upload</a>&nbsp;&nbsp;
119
119
  </div>
120
120
  </div>
121
121
 
@@ -169,11 +169,11 @@ URI for this resource
169
169
  <div id="methods">
170
170
  <h3 class="section-bar">Public Class methods</h3>
171
171
 
172
- <div id="method-M000089" class="method-detail">
173
- <a name="M000089"></a>
172
+ <div id="method-M000090" class="method-detail">
173
+ <a name="M000090"></a>
174
174
 
175
175
  <div class="method-heading">
176
- <a href="#M000089" class="method-signature">
176
+ <a href="#M000090" class="method-signature">
177
177
  <span class="method-name">create_mapping</span><span class="method-args">(store, property_uri, name, analyzer=nil)</span>
178
178
  </a>
179
179
  </div>
@@ -185,8 +185,8 @@ automatically assigning a unique identifier to it, and adding validating
185
185
  the supplied data to ensure it matches the platform rules
186
186
  </p>
187
187
  <p><a class="source-toggle" href="#"
188
- onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
189
- <div class="method-source-code" id="M000089-source">
188
+ onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
189
+ <div class="method-source-code" id="M000090-source">
190
190
  <pre>
191
191
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 140</span>
192
192
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">FieldPredicateMap</span>.<span class="ruby-identifier">create_mapping</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">property_uri</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">analyzer</span>=<span class="ruby-keyword kw">nil</span>)
@@ -207,19 +207,19 @@ the supplied data to ensure it matches the platform rules
207
207
  </div>
208
208
  </div>
209
209
 
210
- <div id="method-M000090" class="method-detail">
211
- <a name="M000090"></a>
210
+ <div id="method-M000091" class="method-detail">
211
+ <a name="M000091"></a>
212
212
 
213
213
  <div class="method-heading">
214
- <a href="#M000090" class="method-signature">
214
+ <a href="#M000091" class="method-signature">
215
215
  <span class="method-name">new</span><span class="method-args">(uri, label, datatype_properties = [])</span>
216
216
  </a>
217
217
  </div>
218
218
 
219
219
  <div class="method-description">
220
220
  <p><a class="source-toggle" href="#"
221
- onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
222
- <div class="method-source-code" id="M000090-source">
221
+ onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
222
+ <div class="method-source-code" id="M000091-source">
223
223
  <pre>
224
224
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 154</span>
225
225
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">label</span>, <span class="ruby-identifier">datatype_properties</span> = [])
@@ -232,11 +232,11 @@ the supplied data to ensure it matches the platform rules
232
232
  </div>
233
233
  </div>
234
234
 
235
- <div id="method-M000088" class="method-detail">
236
- <a name="M000088"></a>
235
+ <div id="method-M000089" class="method-detail">
236
+ <a name="M000089"></a>
237
237
 
238
238
  <div class="method-heading">
239
- <a href="#M000088" class="method-signature">
239
+ <a href="#M000089" class="method-signature">
240
240
  <span class="method-name">read_from_store</span><span class="method-args">(store)</span>
241
241
  </a>
242
242
  </div>
@@ -248,8 +248,8 @@ the provided store. The method will retrieve the config as JSON, and parse
248
248
  it to create an object instance.
249
249
  </p>
250
250
  <p><a class="source-toggle" href="#"
251
- onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
252
- <div class="method-source-code" id="M000088-source">
251
+ onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
252
+ <div class="method-source-code" id="M000089-source">
253
253
  <pre>
254
254
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 109</span>
255
255
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">FieldPredicateMap</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
@@ -287,11 +287,11 @@ it to create an object instance.
287
287
 
288
288
  <h3 class="section-bar">Public Instance methods</h3>
289
289
 
290
- <div id="method-M000091" class="method-detail">
291
- <a name="M000091"></a>
290
+ <div id="method-M000092" class="method-detail">
291
+ <a name="M000092"></a>
292
292
 
293
293
  <div class="method-heading">
294
- <a href="#M000091" class="method-signature">
294
+ <a href="#M000092" class="method-signature">
295
295
  <span class="method-name">&lt;&lt;</span><span class="method-args">(obj)</span>
296
296
  </a>
297
297
  </div>
@@ -303,8 +303,8 @@ this map. Note that the method does not validate the object, and neither
303
303
  does it check for duplicate mappings.
304
304
  </p>
305
305
  <p><a class="source-toggle" href="#"
306
- onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
307
- <div class="method-source-code" id="M000091-source">
306
+ onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
307
+ <div class="method-source-code" id="M000092-source">
308
308
  <pre>
309
309
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 163</span>
310
310
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">obj</span>)
@@ -315,11 +315,11 @@ does it check for duplicate mappings.
315
315
  </div>
316
316
  </div>
317
317
 
318
- <div id="method-M000096" class="method-detail">
319
- <a name="M000096"></a>
318
+ <div id="method-M000097" class="method-detail">
319
+ <a name="M000097"></a>
320
320
 
321
321
  <div class="method-heading">
322
- <a href="#M000096" class="method-signature">
322
+ <a href="#M000097" class="method-signature">
323
323
  <span class="method-name">get_by_name</span><span class="method-args">(name)</span>
324
324
  </a>
325
325
  </div>
@@ -330,8 +330,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> (if any) with
330
330
  the following name mapping
331
331
  </p>
332
332
  <p><a class="source-toggle" href="#"
333
- onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
334
- <div class="method-source-code" id="M000096-source">
333
+ onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
334
+ <div class="method-source-code" id="M000097-source">
335
335
  <pre>
336
336
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 202</span>
337
337
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
@@ -342,11 +342,11 @@ the following name mapping
342
342
  </div>
343
343
  </div>
344
344
 
345
- <div id="method-M000097" class="method-detail">
346
- <a name="M000097"></a>
345
+ <div id="method-M000098" class="method-detail">
346
+ <a name="M000098"></a>
347
347
 
348
348
  <div class="method-heading">
349
- <a href="#M000097" class="method-signature">
349
+ <a href="#M000098" class="method-signature">
350
350
  <span class="method-name">get_by_uri</span><span class="method-args">(uri)</span>
351
351
  </a>
352
352
  </div>
@@ -357,8 +357,8 @@ Find the <a href="DatatypeProperty.html">DatatypeProperty</a> using a
357
357
  property uri
358
358
  </p>
359
359
  <p><a class="source-toggle" href="#"
360
- onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
361
- <div class="method-source-code" id="M000097-source">
360
+ onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
361
+ <div class="method-source-code" id="M000098-source">
362
362
  <pre>
363
363
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 207</span>
364
364
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_uri</span>(<span class="ruby-identifier">uri</span>)
@@ -369,11 +369,11 @@ property uri
369
369
  </div>
370
370
  </div>
371
371
 
372
- <div id="method-M000092" class="method-detail">
373
- <a name="M000092"></a>
372
+ <div id="method-M000093" class="method-detail">
373
+ <a name="M000093"></a>
374
374
 
375
375
  <div class="method-heading">
376
- <a href="#M000092" class="method-signature">
376
+ <a href="#M000093" class="method-signature">
377
377
  <span class="method-name">get_name</span><span class="method-args">(uri)</span>
378
378
  </a>
379
379
  </div>
@@ -388,8 +388,8 @@ Lookup the name mapped to the specified uri
388
388
  </td></tr>
389
389
  </table>
390
390
  <p><a class="source-toggle" href="#"
391
- onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
392
- <div class="method-source-code" id="M000092-source">
391
+ onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
392
+ <div class="method-source-code" id="M000093-source">
393
393
  <pre>
394
394
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 170</span>
395
395
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_name</span>(<span class="ruby-identifier">uri</span>)
@@ -405,11 +405,11 @@ Lookup the name mapped to the specified uri
405
405
  </div>
406
406
  </div>
407
407
 
408
- <div id="method-M000093" class="method-detail">
409
- <a name="M000093"></a>
408
+ <div id="method-M000094" class="method-detail">
409
+ <a name="M000094"></a>
410
410
 
411
411
  <div class="method-heading">
412
- <a href="#M000093" class="method-signature">
412
+ <a href="#M000094" class="method-signature">
413
413
  <span class="method-name">get_property_uri</span><span class="method-args">(name)</span>
414
414
  </a>
415
415
  </div>
@@ -424,8 +424,8 @@ Lookup the property mapped to the specified name
424
424
  </td></tr>
425
425
  </table>
426
426
  <p><a class="source-toggle" href="#"
427
- onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
428
- <div class="method-source-code" id="M000093-source">
427
+ onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
428
+ <div class="method-source-code" id="M000094-source">
429
429
  <pre>
430
430
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 182</span>
431
431
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property_uri</span>(<span class="ruby-identifier">name</span>)
@@ -441,11 +441,11 @@ Lookup the property mapped to the specified name
441
441
  </div>
442
442
  </div>
443
443
 
444
- <div id="method-M000094" class="method-detail">
445
- <a name="M000094"></a>
444
+ <div id="method-M000095" class="method-detail">
445
+ <a name="M000095"></a>
446
446
 
447
447
  <div class="method-heading">
448
- <a href="#M000094" class="method-signature">
448
+ <a href="#M000095" class="method-signature">
449
449
  <span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
450
450
  </a>
451
451
  </div>
@@ -455,8 +455,8 @@ Lookup the property mapped to the specified name
455
455
  Is there a mapping for a property with this name?
456
456
  </p>
457
457
  <p><a class="source-toggle" href="#"
458
- onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
459
- <div class="method-source-code" id="M000094-source">
458
+ onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
459
+ <div class="method-source-code" id="M000095-source">
460
460
  <pre>
461
461
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 192</span>
462
462
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
@@ -467,11 +467,11 @@ Is there a mapping for a property with this name?
467
467
  </div>
468
468
  </div>
469
469
 
470
- <div id="method-M000095" class="method-detail">
471
- <a name="M000095"></a>
470
+ <div id="method-M000096" class="method-detail">
471
+ <a name="M000096"></a>
472
472
 
473
473
  <div class="method-heading">
474
- <a href="#M000095" class="method-signature">
474
+ <a href="#M000096" class="method-signature">
475
475
  <span class="method-name">mapped_uri?</span><span class="method-args">(uri)</span>
476
476
  </a>
477
477
  </div>
@@ -481,8 +481,8 @@ Is there a mapping for a property with this name?
481
481
  Is there a mapping for this uri?
482
482
  </p>
483
483
  <p><a class="source-toggle" href="#"
484
- onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
485
- <div class="method-source-code" id="M000095-source">
484
+ onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
485
+ <div class="method-source-code" id="M000096-source">
486
486
  <pre>
487
487
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 197</span>
488
488
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_uri?</span>(<span class="ruby-identifier">uri</span>)
@@ -493,11 +493,11 @@ Is there a mapping for this uri?
493
493
  </div>
494
494
  </div>
495
495
 
496
- <div id="method-M000098" class="method-detail">
497
- <a name="M000098"></a>
496
+ <div id="method-M000099" class="method-detail">
497
+ <a name="M000099"></a>
498
498
 
499
499
  <div class="method-heading">
500
- <a href="#M000098" class="method-signature">
500
+ <a href="#M000099" class="method-signature">
501
501
  <span class="method-name">remove</span><span class="method-args">(datatype_property)</span>
502
502
  </a>
503
503
  </div>
@@ -508,8 +508,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> from the
508
508
  collection
509
509
  </p>
510
510
  <p><a class="source-toggle" href="#"
511
- onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
512
- <div class="method-source-code" id="M000098-source">
511
+ onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
512
+ <div class="method-source-code" id="M000099-source">
513
513
  <pre>
514
514
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 212</span>
515
515
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">datatype_property</span>)
@@ -520,11 +520,11 @@ collection
520
520
  </div>
521
521
  </div>
522
522
 
523
- <div id="method-M000099" class="method-detail">
524
- <a name="M000099"></a>
523
+ <div id="method-M000100" class="method-detail">
524
+ <a name="M000100"></a>
525
525
 
526
526
  <div class="method-heading">
527
- <a href="#M000099" class="method-signature">
527
+ <a href="#M000100" class="method-signature">
528
528
  <span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
529
529
  </a>
530
530
  </div>
@@ -535,8 +535,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
535
535
  name
536
536
  </p>
537
537
  <p><a class="source-toggle" href="#"
538
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
539
- <div class="method-source-code" id="M000099-source">
538
+ onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
539
+ <div class="method-source-code" id="M000100-source">
540
540
  <pre>
541
541
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 217</span>
542
542
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
@@ -550,11 +550,11 @@ name
550
550
  </div>
551
551
  </div>
552
552
 
553
- <div id="method-M000100" class="method-detail">
554
- <a name="M000100"></a>
553
+ <div id="method-M000101" class="method-detail">
554
+ <a name="M000101"></a>
555
555
 
556
556
  <div class="method-heading">
557
- <a href="#M000100" class="method-signature">
557
+ <a href="#M000101" class="method-signature">
558
558
  <span class="method-name">remove_by_uri</span><span class="method-args">(uri)</span>
559
559
  </a>
560
560
  </div>
@@ -565,8 +565,8 @@ Remove a <a href="DatatypeProperty.html">DatatypeProperty</a> by its mapped
565
565
  uri
566
566
  </p>
567
567
  <p><a class="source-toggle" href="#"
568
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
569
- <div class="method-source-code" id="M000100-source">
568
+ onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
569
+ <div class="method-source-code" id="M000101-source">
570
570
  <pre>
571
571
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 225</span>
572
572
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_uri</span>(<span class="ruby-identifier">uri</span>)
@@ -580,11 +580,11 @@ uri
580
580
  </div>
581
581
  </div>
582
582
 
583
- <div id="method-M000101" class="method-detail">
584
- <a name="M000101"></a>
583
+ <div id="method-M000102" class="method-detail">
584
+ <a name="M000102"></a>
585
585
 
586
586
  <div class="method-heading">
587
- <a href="#M000101" class="method-signature">
587
+ <a href="#M000102" class="method-signature">
588
588
  <span class="method-name">to_rdf</span><span class="method-args">()</span>
589
589
  </a>
590
590
  </div>
@@ -595,8 +595,8 @@ Dump this object to an <a href="RDF.html">RDF</a>/XML representation
595
595
  suitable for submitting to the Platform
596
596
  </p>
597
597
  <p><a class="source-toggle" href="#"
598
- onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
599
- <div class="method-source-code" id="M000101-source">
598
+ onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
599
+ <div class="method-source-code" id="M000102-source">
600
600
  <pre>
601
601
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 233</span>
602
602
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
@@ -627,11 +627,11 @@ suitable for submitting to the Platform
627
627
  </div>
628
628
  </div>
629
629
 
630
- <div id="method-M000102" class="method-detail">
631
- <a name="M000102"></a>
630
+ <div id="method-M000103" class="method-detail">
631
+ <a name="M000103"></a>
632
632
 
633
633
  <div class="method-heading">
634
- <a href="#M000102" class="method-signature">
634
+ <a href="#M000103" class="method-signature">
635
635
  <span class="method-name">upload</span><span class="method-args">(store)</span>
636
636
  </a>
637
637
  </div>
@@ -642,8 +642,8 @@ Upload an <a href="RDF.html">RDF</a>/XML presentation of this object to the
642
642
  provided Platform <a href="Store.html">Store</a>
643
643
  </p>
644
644
  <p><a class="source-toggle" href="#"
645
- onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
646
- <div class="method-source-code" id="M000102-source">
645
+ onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
646
+ <div class="method-source-code" id="M000103-source">
647
647
  <pre>
648
648
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 258</span>
649
649
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">store</span>)