pho 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/CHANGES +5 -0
  2. data/Rakefile +1 -1
  3. data/lib/pho/snapshot.rb +6 -1
  4. data/lib/pho/sparql.rb +4 -1
  5. data/tests/tc_snapshots.rb +14 -1
  6. data/tests/tc_sparql_helper.rb +23 -0
  7. metadata +60 -160
  8. data/doc/rdoc/classes/Pho/Analyzers.html +0 -310
  9. data/doc/rdoc/classes/Pho/CommandLine.html +0 -770
  10. data/doc/rdoc/classes/Pho/DatatypeProperty.html +0 -241
  11. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +0 -410
  12. data/doc/rdoc/classes/Pho/Enrichment.html +0 -119
  13. data/doc/rdoc/classes/Pho/Etags.html +0 -310
  14. data/doc/rdoc/classes/Pho/Facet/Results.html +0 -299
  15. data/doc/rdoc/classes/Pho/Facet/Term.html +0 -177
  16. data/doc/rdoc/classes/Pho/Facet.html +0 -119
  17. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +0 -668
  18. data/doc/rdoc/classes/Pho/FieldWeighting.html +0 -230
  19. data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +0 -478
  20. data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +0 -264
  21. data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +0 -259
  22. data/doc/rdoc/classes/Pho/FileManagement.html +0 -121
  23. data/doc/rdoc/classes/Pho/Job.html +0 -627
  24. data/doc/rdoc/classes/Pho/JobUpdate.html +0 -141
  25. data/doc/rdoc/classes/Pho/Jobs.html +0 -538
  26. data/doc/rdoc/classes/Pho/Namespaces.html +0 -164
  27. data/doc/rdoc/classes/Pho/OAI/Record.html +0 -165
  28. data/doc/rdoc/classes/Pho/OAI/Records.html +0 -331
  29. data/doc/rdoc/classes/Pho/OAI.html +0 -118
  30. data/doc/rdoc/classes/Pho/QueryProfile.html +0 -497
  31. data/doc/rdoc/classes/Pho/RDF/Parser.html +0 -279
  32. data/doc/rdoc/classes/Pho/RDF.html +0 -120
  33. data/doc/rdoc/classes/Pho/RDFCollection.html +0 -119
  34. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +0 -325
  35. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +0 -241
  36. data/doc/rdoc/classes/Pho/ResourceHash.html +0 -123
  37. data/doc/rdoc/classes/Pho/Snapshot.html +0 -397
  38. data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +0 -594
  39. data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +0 -692
  40. data/doc/rdoc/classes/Pho/Sparql.html +0 -187
  41. data/doc/rdoc/classes/Pho/Status.html +0 -296
  42. data/doc/rdoc/classes/Pho/Store.html +0 -1560
  43. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +0 -183
  44. data/doc/rdoc/classes/Pho/Update/Changeset.html +0 -521
  45. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +0 -330
  46. data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +0 -159
  47. data/doc/rdoc/classes/Pho/Update/Changesets.html +0 -205
  48. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +0 -257
  49. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +0 -237
  50. data/doc/rdoc/classes/Pho/Update/Statement.html +0 -303
  51. data/doc/rdoc/classes/Pho/Update.html +0 -128
  52. data/doc/rdoc/classes/Pho.html +0 -283
  53. data/doc/rdoc/classes/String.html +0 -146
  54. data/doc/rdoc/created.rid +0 -1
  55. data/doc/rdoc/files/CHANGES.html +0 -351
  56. data/doc/rdoc/files/README.html +0 -191
  57. data/doc/rdoc/files/lib/pho/changeset_builder_rb.html +0 -108
  58. data/doc/rdoc/files/lib/pho/changeset_rb.html +0 -108
  59. data/doc/rdoc/files/lib/pho/command_line_rb.html +0 -101
  60. data/doc/rdoc/files/lib/pho/converter_rb.html +0 -108
  61. data/doc/rdoc/files/lib/pho/enrichment_rb.html +0 -101
  62. data/doc/rdoc/files/lib/pho/etags_rb.html +0 -108
  63. data/doc/rdoc/files/lib/pho/facet_rb.html +0 -101
  64. data/doc/rdoc/files/lib/pho/field_predicate_map_rb.html +0 -101
  65. data/doc/rdoc/files/lib/pho/file_management_rb.html +0 -101
  66. data/doc/rdoc/files/lib/pho/file_manager_rb.html +0 -108
  67. data/doc/rdoc/files/lib/pho/job_rb.html +0 -101
  68. data/doc/rdoc/files/lib/pho/oai_rb.html +0 -101
  69. data/doc/rdoc/files/lib/pho/query_profile_rb.html +0 -101
  70. data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +0 -101
  71. data/doc/rdoc/files/lib/pho/rdf_rb.html +0 -108
  72. data/doc/rdoc/files/lib/pho/resource_hash_rb.html +0 -101
  73. data/doc/rdoc/files/lib/pho/snapshot_rb.html +0 -109
  74. data/doc/rdoc/files/lib/pho/sparql_rb.html +0 -101
  75. data/doc/rdoc/files/lib/pho/status_rb.html +0 -101
  76. data/doc/rdoc/files/lib/pho/store_rb.html +0 -108
  77. data/doc/rdoc/files/lib/pho_rb.html +0 -133
  78. data/doc/rdoc/fr_class_index.html +0 -72
  79. data/doc/rdoc/fr_file_index.html +0 -49
  80. data/doc/rdoc/fr_method_index.html +0 -237
  81. data/doc/rdoc/index.html +0 -24
  82. data/doc/rdoc/rdoc-style.css +0 -208
@@ -1,283 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Pho</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Pho</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/pho_rb.html">
59
- lib/pho.rb
60
- </a>
61
- <br />
62
- <a href="../files/lib/pho/changeset_builder_rb.html">
63
- lib/pho/changeset_builder.rb
64
- </a>
65
- <br />
66
- <a href="../files/lib/pho/rdf_rb.html">
67
- lib/pho/rdf.rb
68
- </a>
69
- <br />
70
- <a href="../files/lib/pho/file_manager_rb.html">
71
- lib/pho/file_manager.rb
72
- </a>
73
- <br />
74
- <a href="../files/lib/pho/etags_rb.html">
75
- lib/pho/etags.rb
76
- </a>
77
- <br />
78
- <a href="../files/lib/pho/enrichment_rb.html">
79
- lib/pho/enrichment.rb
80
- </a>
81
- <br />
82
- <a href="../files/lib/pho/command_line_rb.html">
83
- lib/pho/command_line.rb
84
- </a>
85
- <br />
86
- <a href="../files/lib/pho/status_rb.html">
87
- lib/pho/status.rb
88
- </a>
89
- <br />
90
- <a href="../files/lib/pho/rdf_collection_rb.html">
91
- lib/pho/rdf_collection.rb
92
- </a>
93
- <br />
94
- <a href="../files/lib/pho/converter_rb.html">
95
- lib/pho/converter.rb
96
- </a>
97
- <br />
98
- <a href="../files/lib/pho/store_rb.html">
99
- lib/pho/store.rb
100
- </a>
101
- <br />
102
- <a href="../files/lib/pho/field_predicate_map_rb.html">
103
- lib/pho/field_predicate_map.rb
104
- </a>
105
- <br />
106
- <a href="../files/lib/pho/sparql_rb.html">
107
- lib/pho/sparql.rb
108
- </a>
109
- <br />
110
- <a href="../files/lib/pho/resource_hash_rb.html">
111
- lib/pho/resource_hash.rb
112
- </a>
113
- <br />
114
- <a href="../files/lib/pho/changeset_rb.html">
115
- lib/pho/changeset.rb
116
- </a>
117
- <br />
118
- <a href="../files/lib/pho/oai_rb.html">
119
- lib/pho/oai.rb
120
- </a>
121
- <br />
122
- <a href="../files/lib/pho/file_management_rb.html">
123
- lib/pho/file_management.rb
124
- </a>
125
- <br />
126
- <a href="../files/lib/pho/facet_rb.html">
127
- lib/pho/facet.rb
128
- </a>
129
- <br />
130
- <a href="../files/lib/pho/query_profile_rb.html">
131
- lib/pho/query_profile.rb
132
- </a>
133
- <br />
134
- <a href="../files/lib/pho/job_rb.html">
135
- lib/pho/job.rb
136
- </a>
137
- <br />
138
- <a href="../files/lib/pho/snapshot_rb.html">
139
- lib/pho/snapshot.rb
140
- </a>
141
- <br />
142
- </td>
143
- </tr>
144
-
145
- </table>
146
- </div>
147
- <!-- banner header -->
148
-
149
- <div id="bodyContent">
150
-
151
-
152
-
153
- <div id="contextContent">
154
-
155
- <div id="description">
156
- <p>
157
- TODO put together proper test suite for this
158
- </p>
159
-
160
- </div>
161
-
162
-
163
- </div>
164
-
165
-
166
- </div>
167
-
168
-
169
- <!-- if includes -->
170
-
171
- <div id="section">
172
-
173
- <div id="class-list">
174
- <h3 class="section-bar">Classes and Modules</h3>
175
-
176
- Module <a href="Pho/Enrichment.html" class="link">Pho::Enrichment</a><br />
177
- Module <a href="Pho/Facet.html" class="link">Pho::Facet</a><br />
178
- Module <a href="Pho/FileManagement.html" class="link">Pho::FileManagement</a><br />
179
- Module <a href="Pho/OAI.html" class="link">Pho::OAI</a><br />
180
- Module <a href="Pho/RDF.html" class="link">Pho::RDF</a><br />
181
- Module <a href="Pho/ResourceHash.html" class="link">Pho::ResourceHash</a><br />
182
- Module <a href="Pho/Sparql.html" class="link">Pho::Sparql</a><br />
183
- Module <a href="Pho/Update.html" class="link">Pho::Update</a><br />
184
- Class <a href="Pho/Analyzers.html" class="link">Pho::Analyzers</a><br />
185
- Class <a href="Pho/CommandLine.html" class="link">Pho::CommandLine</a><br />
186
- Class <a href="Pho/DatatypeProperty.html" class="link">Pho::DatatypeProperty</a><br />
187
- Class <a href="Pho/Etags.html" class="link">Pho::Etags</a><br />
188
- Class <a href="Pho/FieldPredicateMap.html" class="link">Pho::FieldPredicateMap</a><br />
189
- Class <a href="Pho/FieldWeighting.html" class="link">Pho::FieldWeighting</a><br />
190
- Class <a href="Pho/Job.html" class="link">Pho::Job</a><br />
191
- Class <a href="Pho/JobUpdate.html" class="link">Pho::JobUpdate</a><br />
192
- Class <a href="Pho/Jobs.html" class="link">Pho::Jobs</a><br />
193
- Class <a href="Pho/Namespaces.html" class="link">Pho::Namespaces</a><br />
194
- Class <a href="Pho/QueryProfile.html" class="link">Pho::QueryProfile</a><br />
195
- Class <a href="Pho/RDFCollection.html" class="link">Pho::RDFCollection</a><br />
196
- Class <a href="Pho/Snapshot.html" class="link">Pho::Snapshot</a><br />
197
- Class <a href="Pho/Status.html" class="link">Pho::Status</a><br />
198
- Class <a href="Pho/Store.html" class="link">Pho::Store</a><br />
199
- Class <a href="Pho/StoreSparqlClient.html" class="link">Pho::StoreSparqlClient</a><br />
200
-
201
- </div>
202
-
203
- <div id="constants-list">
204
- <h3 class="section-bar">Constants</h3>
205
-
206
- <div class="name-list">
207
- <table summary="Constants">
208
- <tr class="top-aligned-row context-row">
209
- <td class="context-item-name">ACCEPT_RDF</td>
210
- <td>=</td>
211
- <td class="context-item-value">{&quot;Accept&quot; =&gt; &quot;application/rdf+xml&quot;}.freeze</td>
212
- </tr>
213
- <tr class="top-aligned-row context-row">
214
- <td class="context-item-name">ACCEPT_JSON</td>
215
- <td>=</td>
216
- <td class="context-item-value">{ &quot;Accept&quot; =&gt; &quot;application/json&quot; }.freeze</td>
217
- </tr>
218
- <tr class="top-aligned-row context-row">
219
- <td class="context-item-name">RDF_XML</td>
220
- <td>=</td>
221
- <td class="context-item-value">{&quot;Content-Type&quot;=&gt;&quot;application/rdf+xml&quot;}.freeze</td>
222
- </tr>
223
- <tr class="top-aligned-row context-row">
224
- <td class="context-item-name">TURTLE</td>
225
- <td>=</td>
226
- <td class="context-item-value">{&quot;Content-Type&quot;=&gt;&quot;text/turtle&quot;}.freeze</td>
227
- </tr>
228
- <tr class="top-aligned-row context-row">
229
- <td class="context-item-name">NTRIPLES</td>
230
- <td>=</td>
231
- <td class="context-item-value">{&quot;Content-Type&quot;=&gt;&quot;text/plain&quot;}.freeze</td>
232
- </tr>
233
- <tr class="top-aligned-row context-row">
234
- <td class="context-item-name">READ_ONLY</td>
235
- <td>=</td>
236
- <td class="context-item-value">&quot;http://schemas.talis.com/2006/bigfoot/statuses#read-only&quot;.freeze</td>
237
- <td width="3em">&nbsp;</td>
238
- <td class="context-item-desc">
239
- Can only read data
240
-
241
- </td>
242
- </tr>
243
- <tr class="top-aligned-row context-row">
244
- <td class="context-item-name">READ_WRITE</td>
245
- <td>=</td>
246
- <td class="context-item-value">&quot;http://schemas.talis.com/2006/bigfoot/statuses#read-write&quot;.freeze</td>
247
- <td width="3em">&nbsp;</td>
248
- <td class="context-item-desc">
249
- Can read and write data
250
-
251
- </td>
252
- </tr>
253
- <tr class="top-aligned-row context-row">
254
- <td class="context-item-name">UNAVAILABLE</td>
255
- <td>=</td>
256
- <td class="context-item-value">&quot;http://schemas.talis.com/2006/bigfoot/statuses#unavailable&quot;.freeze</td>
257
- <td width="3em">&nbsp;</td>
258
- <td class="context-item-desc">
259
- Cannot access the store
260
-
261
- </td>
262
- </tr>
263
- </table>
264
- </div>
265
- </div>
266
-
267
-
268
-
269
-
270
-
271
-
272
- <!-- if method_list -->
273
-
274
-
275
- </div>
276
-
277
-
278
- <div id="validator-badges">
279
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
280
- </div>
281
-
282
- </body>
283
- </html>
@@ -1,146 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: String</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">String</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/pho_rb.html">
59
- lib/pho.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000001">start_with?</a>&nbsp;&nbsp;
90
- </div>
91
- </div>
92
-
93
- </div>
94
-
95
-
96
- <!-- if includes -->
97
-
98
- <div id="section">
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
- <!-- if method_list -->
108
- <div id="methods">
109
- <h3 class="section-bar">Public Instance methods</h3>
110
-
111
- <div id="method-M000001" class="method-detail">
112
- <a name="M000001"></a>
113
-
114
- <div class="method-heading">
115
- <a href="#M000001" class="method-signature">
116
- <span class="method-name">start_with?</span><span class="method-args">(prefix)</span>
117
- </a>
118
- </div>
119
-
120
- <div class="method-description">
121
- <p><a class="source-toggle" href="#"
122
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
123
- <div class="method-source-code" id="M000001-source">
124
- <pre>
125
- <span class="ruby-comment cmt"># File lib/pho.rb, line 32</span>
126
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_with?</span>(<span class="ruby-identifier">prefix</span>)
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
- <span class="ruby-keyword kw">end</span>
129
- </pre>
130
- </div>
131
- </div>
132
- </div>
133
-
134
-
135
- </div>
136
-
137
-
138
- </div>
139
-
140
-
141
- <div id="validator-badges">
142
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
143
- </div>
144
-
145
- </body>
146
- </html>
data/doc/rdoc/created.rid DELETED
@@ -1 +0,0 @@
1
- Sun, 04 Apr 2010 18:26:46 +0100