pho 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. data/CHANGES +6 -0
  2. data/README +9 -1
  3. data/Rakefile +1 -1
  4. data/doc/index.html +3 -1
  5. data/doc/rdoc/classes/Pho/Analyzers.html +310 -0
  6. data/doc/rdoc/classes/Pho/CommandLine.html +770 -0
  7. data/doc/rdoc/classes/Pho/DatatypeProperty.html +241 -0
  8. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +410 -0
  9. data/doc/rdoc/classes/Pho/Enrichment.html +119 -0
  10. data/doc/rdoc/classes/Pho/Etags.html +310 -0
  11. data/doc/rdoc/classes/Pho/Facet/Results.html +299 -0
  12. data/doc/rdoc/classes/Pho/Facet/Term.html +177 -0
  13. data/doc/rdoc/classes/Pho/Facet.html +119 -0
  14. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +695 -0
  15. data/doc/rdoc/classes/Pho/FieldWeighting.html +230 -0
  16. data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +478 -0
  17. data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +264 -0
  18. data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +259 -0
  19. data/doc/rdoc/classes/Pho/FileManagement.html +121 -0
  20. data/doc/rdoc/classes/Pho/Job.html +627 -0
  21. data/doc/rdoc/classes/Pho/JobUpdate.html +141 -0
  22. data/doc/rdoc/classes/Pho/Jobs.html +538 -0
  23. data/doc/rdoc/classes/Pho/Namespaces.html +164 -0
  24. data/doc/rdoc/classes/Pho/OAI/Record.html +165 -0
  25. data/doc/rdoc/classes/Pho/OAI/Records.html +331 -0
  26. data/doc/rdoc/classes/Pho/OAI.html +118 -0
  27. data/doc/rdoc/classes/Pho/QueryProfile.html +524 -0
  28. data/doc/rdoc/classes/Pho/RDF/Parser.html +279 -0
  29. data/doc/rdoc/classes/Pho/RDF.html +120 -0
  30. data/doc/rdoc/classes/Pho/RDFCollection.html +119 -0
  31. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +325 -0
  32. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +241 -0
  33. data/doc/rdoc/classes/Pho/ResourceHash.html +123 -0
  34. data/doc/rdoc/classes/Pho/Snapshot.html +402 -0
  35. data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +594 -0
  36. data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +696 -0
  37. data/doc/rdoc/classes/Pho/Sparql.html +187 -0
  38. data/doc/rdoc/classes/Pho/Status.html +296 -0
  39. data/doc/rdoc/classes/Pho/Store.html +1569 -0
  40. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +183 -0
  41. data/doc/rdoc/classes/Pho/Update/Changeset.html +521 -0
  42. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +330 -0
  43. data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +159 -0
  44. data/doc/rdoc/classes/Pho/Update/Changesets.html +205 -0
  45. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +257 -0
  46. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +237 -0
  47. data/doc/rdoc/classes/Pho/Update/Statement.html +303 -0
  48. data/doc/rdoc/classes/Pho/Update.html +128 -0
  49. data/doc/rdoc/classes/Pho.html +283 -0
  50. data/doc/rdoc/classes/String.html +146 -0
  51. data/doc/rdoc/created.rid +1 -0
  52. data/doc/rdoc/files/CHANGES.html +373 -0
  53. data/doc/rdoc/files/README.html +204 -0
  54. data/doc/rdoc/files/lib/pho/changeset_builder_rb.html +108 -0
  55. data/doc/rdoc/files/lib/pho/changeset_rb.html +108 -0
  56. data/doc/rdoc/files/lib/pho/command_line_rb.html +101 -0
  57. data/doc/rdoc/files/lib/pho/converter_rb.html +108 -0
  58. data/doc/rdoc/files/lib/pho/enrichment_rb.html +101 -0
  59. data/doc/rdoc/files/lib/pho/etags_rb.html +108 -0
  60. data/doc/rdoc/files/lib/pho/facet_rb.html +101 -0
  61. data/doc/rdoc/files/lib/pho/field_predicate_map_rb.html +101 -0
  62. data/doc/rdoc/files/lib/pho/file_management_rb.html +101 -0
  63. data/doc/rdoc/files/lib/pho/file_manager_rb.html +108 -0
  64. data/doc/rdoc/files/lib/pho/job_rb.html +101 -0
  65. data/doc/rdoc/files/lib/pho/oai_rb.html +101 -0
  66. data/doc/rdoc/files/lib/pho/query_profile_rb.html +101 -0
  67. data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +101 -0
  68. data/doc/rdoc/files/lib/pho/rdf_rb.html +108 -0
  69. data/doc/rdoc/files/lib/pho/resource_hash_rb.html +101 -0
  70. data/doc/rdoc/files/lib/pho/snapshot_rb.html +109 -0
  71. data/doc/rdoc/files/lib/pho/sparql_rb.html +101 -0
  72. data/doc/rdoc/files/lib/pho/status_rb.html +101 -0
  73. data/doc/rdoc/files/lib/pho/store_rb.html +108 -0
  74. data/doc/rdoc/files/lib/pho_rb.html +133 -0
  75. data/doc/rdoc/fr_class_index.html +72 -0
  76. data/doc/rdoc/fr_file_index.html +49 -0
  77. data/doc/rdoc/fr_method_index.html +239 -0
  78. data/doc/rdoc/index.html +24 -0
  79. data/doc/rdoc/rdoc-style.css +208 -0
  80. data/lib/pho/enrichment.rb +1 -0
  81. data/lib/pho/field_predicate_map.rb +5 -0
  82. data/lib/pho/query_profile.rb +5 -0
  83. data/lib/pho/store.rb +4 -1
  84. data/tests/tc_field_predicate_map.rb +7 -1
  85. data/tests/tc_query_profile.rb +6 -0
  86. data/tests/tc_store_util.rb +7 -0
  87. metadata +134 -21
@@ -0,0 +1,283 @@
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/status_rb.html">
59
+ lib/pho/status.rb
60
+ </a>
61
+ <br />
62
+ <a href="../files/lib/pho/command_line_rb.html">
63
+ lib/pho/command_line.rb
64
+ </a>
65
+ <br />
66
+ <a href="../files/lib/pho/sparql_rb.html">
67
+ lib/pho/sparql.rb
68
+ </a>
69
+ <br />
70
+ <a href="../files/lib/pho/changeset_builder_rb.html">
71
+ lib/pho/changeset_builder.rb
72
+ </a>
73
+ <br />
74
+ <a href="../files/lib/pho/file_management_rb.html">
75
+ lib/pho/file_management.rb
76
+ </a>
77
+ <br />
78
+ <a href="../files/lib/pho/job_rb.html">
79
+ lib/pho/job.rb
80
+ </a>
81
+ <br />
82
+ <a href="../files/lib/pho/oai_rb.html">
83
+ lib/pho/oai.rb
84
+ </a>
85
+ <br />
86
+ <a href="../files/lib/pho/rdf_rb.html">
87
+ lib/pho/rdf.rb
88
+ </a>
89
+ <br />
90
+ <a href="../files/lib/pho/converter_rb.html">
91
+ lib/pho/converter.rb
92
+ </a>
93
+ <br />
94
+ <a href="../files/lib/pho/resource_hash_rb.html">
95
+ lib/pho/resource_hash.rb
96
+ </a>
97
+ <br />
98
+ <a href="../files/lib/pho/file_manager_rb.html">
99
+ lib/pho/file_manager.rb
100
+ </a>
101
+ <br />
102
+ <a href="../files/lib/pho/snapshot_rb.html">
103
+ lib/pho/snapshot.rb
104
+ </a>
105
+ <br />
106
+ <a href="../files/lib/pho/store_rb.html">
107
+ lib/pho/store.rb
108
+ </a>
109
+ <br />
110
+ <a href="../files/lib/pho/rdf_collection_rb.html">
111
+ lib/pho/rdf_collection.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/query_profile_rb.html">
119
+ lib/pho/query_profile.rb
120
+ </a>
121
+ <br />
122
+ <a href="../files/lib/pho/facet_rb.html">
123
+ lib/pho/facet.rb
124
+ </a>
125
+ <br />
126
+ <a href="../files/lib/pho/enrichment_rb.html">
127
+ lib/pho/enrichment.rb
128
+ </a>
129
+ <br />
130
+ <a href="../files/lib/pho/etags_rb.html">
131
+ lib/pho/etags.rb
132
+ </a>
133
+ <br />
134
+ <a href="../files/lib/pho/field_predicate_map_rb.html">
135
+ lib/pho/field_predicate_map.rb
136
+ </a>
137
+ <br />
138
+ <a href="../files/lib/pho_rb.html">
139
+ lib/pho.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">READ_ONLY</td>
210
+ <td>=</td>
211
+ <td class="context-item-value">&quot;http://schemas.talis.com/2006/bigfoot/statuses#read-only&quot;.freeze</td>
212
+ <td width="3em">&nbsp;</td>
213
+ <td class="context-item-desc">
214
+ Can only read data
215
+
216
+ </td>
217
+ </tr>
218
+ <tr class="top-aligned-row context-row">
219
+ <td class="context-item-name">READ_WRITE</td>
220
+ <td>=</td>
221
+ <td class="context-item-value">&quot;http://schemas.talis.com/2006/bigfoot/statuses#read-write&quot;.freeze</td>
222
+ <td width="3em">&nbsp;</td>
223
+ <td class="context-item-desc">
224
+ Can read and write data
225
+
226
+ </td>
227
+ </tr>
228
+ <tr class="top-aligned-row context-row">
229
+ <td class="context-item-name">UNAVAILABLE</td>
230
+ <td>=</td>
231
+ <td class="context-item-value">&quot;http://schemas.talis.com/2006/bigfoot/statuses#unavailable&quot;.freeze</td>
232
+ <td width="3em">&nbsp;</td>
233
+ <td class="context-item-desc">
234
+ Cannot access the store
235
+
236
+ </td>
237
+ </tr>
238
+ <tr class="top-aligned-row context-row">
239
+ <td class="context-item-name">ACCEPT_RDF</td>
240
+ <td>=</td>
241
+ <td class="context-item-value">{&quot;Accept&quot; =&gt; &quot;application/rdf+xml&quot;}.freeze</td>
242
+ </tr>
243
+ <tr class="top-aligned-row context-row">
244
+ <td class="context-item-name">ACCEPT_JSON</td>
245
+ <td>=</td>
246
+ <td class="context-item-value">{ &quot;Accept&quot; =&gt; &quot;application/json&quot; }.freeze</td>
247
+ </tr>
248
+ <tr class="top-aligned-row context-row">
249
+ <td class="context-item-name">RDF_XML</td>
250
+ <td>=</td>
251
+ <td class="context-item-value">{&quot;Content-Type&quot;=&gt;&quot;application/rdf+xml&quot;}.freeze</td>
252
+ </tr>
253
+ <tr class="top-aligned-row context-row">
254
+ <td class="context-item-name">TURTLE</td>
255
+ <td>=</td>
256
+ <td class="context-item-value">{&quot;Content-Type&quot;=&gt;&quot;text/turtle&quot;}.freeze</td>
257
+ </tr>
258
+ <tr class="top-aligned-row context-row">
259
+ <td class="context-item-name">NTRIPLES</td>
260
+ <td>=</td>
261
+ <td class="context-item-value">{&quot;Content-Type&quot;=&gt;&quot;text/plain&quot;}.freeze</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>
@@ -0,0 +1,146 @@
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>
@@ -0,0 +1 @@
1
+ Tue, 31 Aug 2010 13:59:41 +0100