activerdf_sparql 1.3 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == activerdf_sparql (1.3.1) Fri, 03 Aug 2007 14:10:19 +0100
2
+ * initial support for FILTERs
3
+
1
4
  == activerdf_sparql (1.3) Sun, 18 Feb 2007 15:11:05 +0000
2
5
  * added support for datatyped literals in SPARQL queries
3
6
 
@@ -0,0 +1,212 @@
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: SparqlAdapter</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">SparqlAdapter</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/activerdf_sparql/sparql_rb.html">
59
+ lib/activerdf_sparql/sparql.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
+ ActiveRdfAdapter
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
+ <div id="description">
82
+ <p>
83
+ SPARQL adapter
84
+ </p>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+ <div id="method-list">
92
+ <h3 class="section-bar">Methods</h3>
93
+
94
+ <div class="name-list">
95
+ <a href="#M000004">execute_sparql_query</a>&nbsp;&nbsp;
96
+ <a href="#M000001">new</a>&nbsp;&nbsp;
97
+ <a href="#M000003">query</a>&nbsp;&nbsp;
98
+ <a href="#M000002">size</a>&nbsp;&nbsp;
99
+ </div>
100
+ </div>
101
+
102
+ </div>
103
+
104
+
105
+ <!-- if includes -->
106
+
107
+ <div id="section">
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <!-- if method_list -->
117
+ <div id="methods">
118
+ <h3 class="section-bar">Public Class methods</h3>
119
+
120
+ <div id="method-M000001" class="method-detail">
121
+ <a name="M000001"></a>
122
+
123
+ <div class="method-heading">
124
+ <a href="SparqlAdapter.src/M000001.html" target="Code" class="method-signature"
125
+ onclick="popupCode('SparqlAdapter.src/M000001.html');return false;">
126
+ <span class="method-name">new</span><span class="method-args">(params = {})</span>
127
+ </a>
128
+ </div>
129
+
130
+ <div class="method-description">
131
+ <p>
132
+ Instantiate the connection with the SPARQL Endpoint. available parameters:
133
+ </p>
134
+ <ul>
135
+ <li>:url =&gt; url: endpoint location e.g. &quot;<a
136
+ href="http://m3pe.org:8080/repositories/test-people">m3pe.org:8080/repositories/test-people</a>&quot;
137
+
138
+ </li>
139
+ <li>:results =&gt; one of :xml, :json, :sparql_xml
140
+
141
+ </li>
142
+ </ul>
143
+ </div>
144
+ </div>
145
+
146
+ <h3 class="section-bar">Public Instance methods</h3>
147
+
148
+ <div id="method-M000004" class="method-detail">
149
+ <a name="M000004"></a>
150
+
151
+ <div class="method-heading">
152
+ <a href="SparqlAdapter.src/M000004.html" target="Code" class="method-signature"
153
+ onclick="popupCode('SparqlAdapter.src/M000004.html');return false;">
154
+ <span class="method-name">execute_sparql_query</span><span class="method-args">(qs, header=nil) {|*clauses| ...}</span>
155
+ </a>
156
+ </div>
157
+
158
+ <div class="method-description">
159
+ <p>
160
+ do the real work of executing the sparql <a
161
+ href="SparqlAdapter.html#M000003">query</a>
162
+ </p>
163
+ </div>
164
+ </div>
165
+
166
+ <div id="method-M000003" class="method-detail">
167
+ <a name="M000003"></a>
168
+
169
+ <div class="method-heading">
170
+ <a href="SparqlAdapter.src/M000003.html" target="Code" class="method-signature"
171
+ onclick="popupCode('SparqlAdapter.src/M000003.html');return false;">
172
+ <span class="method-name">query</span><span class="method-args">(query, &amp;block)</span>
173
+ </a>
174
+ </div>
175
+
176
+ <div class="method-description">
177
+ <p>
178
+ <a href="SparqlAdapter.html#M000003">query</a> datastore with <a
179
+ href="SparqlAdapter.html#M000003">query</a> string (SPARQL), returns array
180
+ with <a href="SparqlAdapter.html#M000003">query</a> results may be called
181
+ with a block
182
+ </p>
183
+ </div>
184
+ </div>
185
+
186
+ <div id="method-M000002" class="method-detail">
187
+ <a name="M000002"></a>
188
+
189
+ <div class="method-heading">
190
+ <a href="SparqlAdapter.src/M000002.html" target="Code" class="method-signature"
191
+ onclick="popupCode('SparqlAdapter.src/M000002.html');return false;">
192
+ <span class="method-name">size</span><span class="method-args">()</span>
193
+ </a>
194
+ </div>
195
+
196
+ <div class="method-description">
197
+ </div>
198
+ </div>
199
+
200
+
201
+ </div>
202
+
203
+
204
+ </div>
205
+
206
+
207
+ <div id="validator-badges">
208
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
209
+ </div>
210
+
211
+ </body>
212
+ </html>
@@ -0,0 +1,28 @@
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>
7
+ <head>
8
+ <title>new (SparqlAdapter)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/activerdf_sparql/sparql.rb, line 17</span>
14
+ 17: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">params</span> = {})
15
+ 18: <span class="ruby-ivar">@reads</span> = <span class="ruby-keyword kw">true</span>
16
+ 19: <span class="ruby-ivar">@writes</span> = <span class="ruby-keyword kw">false</span>
17
+ 20:
18
+ 21: <span class="ruby-ivar">@url</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:url</span>] <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>
19
+ 22: <span class="ruby-ivar">@result_format</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:results</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:json</span>
20
+ 23:
21
+ 24: <span class="ruby-identifier">known_formats</span> = [<span class="ruby-identifier">:xml</span>, <span class="ruby-identifier">:json</span>, <span class="ruby-identifier">:sparql_xml</span>]
22
+ 25: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ActiveRdfError</span>, <span class="ruby-value str">&quot;Result format unsupported&quot;</span> <span class="ruby-keyword kw">unless</span>
23
+ 26: <span class="ruby-identifier">known_formats</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@result_format</span>)
24
+ 27:
25
+ 28: <span class="ruby-identifier">$activerdflog</span>.<span class="ruby-identifier">info</span> <span class="ruby-node">&quot;Sparql adapter initialised #{inspect}&quot;</span>
26
+ 29: <span class="ruby-keyword kw">end</span></pre>
27
+ </body>
28
+ </html>
@@ -0,0 +1,18 @@
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>
7
+ <head>
8
+ <title>size (SparqlAdapter)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/activerdf_sparql/sparql.rb, line 31</span>
14
+ 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>
15
+ 32: <span class="ruby-identifier">query</span>(<span class="ruby-constant">Query</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">select</span>(<span class="ruby-identifier">:s</span>,<span class="ruby-identifier">:p</span>,<span class="ruby-identifier">:o</span>).<span class="ruby-identifier">where</span>(<span class="ruby-identifier">:s</span>,<span class="ruby-identifier">:p</span>,<span class="ruby-identifier">:o</span>)).<span class="ruby-identifier">size</span>
16
+ 33: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,22 @@
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>
7
+ <head>
8
+ <title>query (SparqlAdapter)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/activerdf_sparql/sparql.rb, line 37</span>
14
+ 37: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query</span>(<span class="ruby-identifier">query</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+ 38: <span class="ruby-identifier">time</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>
16
+ 39: <span class="ruby-identifier">qs</span> = <span class="ruby-constant">Query2SPARQL</span>.<span class="ruby-identifier">translate</span>(<span class="ruby-identifier">query</span>)
17
+ 40: <span class="ruby-identifier">$activerdflog</span>.<span class="ruby-identifier">debug</span> <span class="ruby-node">&quot;executing sparql query #{query}&quot;</span>
18
+ 41:
19
+ 42: <span class="ruby-identifier">execute_sparql_query</span>(<span class="ruby-identifier">qs</span>, <span class="ruby-identifier">header</span>(<span class="ruby-identifier">query</span>), <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
20
+ 43: <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </html>
@@ -0,0 +1,52 @@
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>
7
+ <head>
8
+ <title>execute_sparql_query (SparqlAdapter)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/activerdf_sparql/sparql.rb, line 46</span>
14
+ 46: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">execute_sparql_query</span>(<span class="ruby-identifier">qs</span>, <span class="ruby-identifier">header</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+ 47: <span class="ruby-identifier">header</span> = <span class="ruby-identifier">header</span>(<span class="ruby-keyword kw">nil</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">header</span>.<span class="ruby-identifier">nil?</span>
16
+ 48:
17
+ 49: <span class="ruby-comment cmt"># encoding query string in URL</span>
18
+ 50: <span class="ruby-identifier">url</span> = <span class="ruby-node">&quot;#@url?query=#{CGI.escape(qs)}&quot;</span>
19
+ 51: <span class="ruby-identifier">$activerdflog</span>.<span class="ruby-identifier">debug</span> <span class="ruby-node">&quot;executing: requesting #{url}&quot;</span>
20
+ 52:
21
+ 53: <span class="ruby-comment cmt"># querying sparql endpoint</span>
22
+ 54: <span class="ruby-identifier">response</span> = <span class="ruby-value str">''</span>
23
+ 55: <span class="ruby-keyword kw">begin</span>
24
+ 56: <span class="ruby-identifier">open</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">header</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
25
+ 57: <span class="ruby-identifier">response</span> = <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>
26
+ 58: <span class="ruby-keyword kw">end</span>
27
+ 59: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">OpenURI</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTPError</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
28
+ 60: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ActiveRdfError</span>, <span class="ruby-node">&quot;could not query SPARQL endpoint, server said: #{e}&quot;</span>
29
+ 61: <span class="ruby-keyword kw">return</span> []
30
+ 62: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ECONNREFUSED</span>
31
+ 63: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ActiveRdfError</span>, <span class="ruby-value str">&quot;connection refused on SPARQL endpoint #@url&quot;</span>
32
+ 64: <span class="ruby-keyword kw">return</span> []
33
+ 65: <span class="ruby-keyword kw">end</span>
34
+ 66:
35
+ 67: <span class="ruby-comment cmt"># we parse content depending on the result format</span>
36
+ 68: <span class="ruby-identifier">results</span> = <span class="ruby-keyword kw">case</span> <span class="ruby-ivar">@result_format</span>
37
+ 69: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:json</span>
38
+ 70: <span class="ruby-identifier">parse_json</span>(<span class="ruby-identifier">response</span>)
39
+ 71: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:xml</span>, <span class="ruby-identifier">:sparql_xml</span>
40
+ 72: <span class="ruby-identifier">parse_xml</span>(<span class="ruby-identifier">response</span>)
41
+ 73: <span class="ruby-keyword kw">end</span>
42
+ 74:
43
+ 75: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
44
+ 76: <span class="ruby-identifier">results</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">clauses</span><span class="ruby-operator">|</span>
45
+ 77: <span class="ruby-keyword kw">yield</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">clauses</span>)
46
+ 78: <span class="ruby-keyword kw">end</span>
47
+ 79: <span class="ruby-keyword kw">else</span>
48
+ 80: <span class="ruby-identifier">results</span>
49
+ 81: <span class="ruby-keyword kw">end</span>
50
+ 82: <span class="ruby-keyword kw">end</span></pre>
51
+ </body>
52
+ </html>
@@ -0,0 +1,236 @@
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: SparqlResultParser</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">SparqlResultParser</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/activerdf_sparql/sparql_result_parser_rb.html">
59
+ lib/activerdf_sparql/sparql_result_parser.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
+ <div id="description">
82
+ <p>
83
+ Parser for SPARQL XML result set.
84
+ </p>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+ <div id="method-list">
92
+ <h3 class="section-bar">Methods</h3>
93
+
94
+ <div class="name-list">
95
+ <a href="#M000009">create_node</a>&nbsp;&nbsp;
96
+ <a href="#M000010">method_missing</a>&nbsp;&nbsp;
97
+ <a href="#M000005">new</a>&nbsp;&nbsp;
98
+ <a href="#M000007">tag_end</a>&nbsp;&nbsp;
99
+ <a href="#M000006">tag_start</a>&nbsp;&nbsp;
100
+ <a href="#M000008">text</a>&nbsp;&nbsp;
101
+ </div>
102
+ </div>
103
+
104
+ </div>
105
+
106
+
107
+ <!-- if includes -->
108
+
109
+ <div id="section">
110
+
111
+
112
+
113
+
114
+
115
+ <div id="attribute-list">
116
+ <h3 class="section-bar">Attributes</h3>
117
+
118
+ <div class="name-list">
119
+ <table>
120
+ <tr class="top-aligned-row context-row">
121
+ <td class="context-item-name">result</td>
122
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
123
+ <td class="context-item-desc"></td>
124
+ </tr>
125
+ </table>
126
+ </div>
127
+ </div>
128
+
129
+
130
+
131
+ <!-- if method_list -->
132
+ <div id="methods">
133
+ <h3 class="section-bar">Public Class methods</h3>
134
+
135
+ <div id="method-M000005" class="method-detail">
136
+ <a name="M000005"></a>
137
+
138
+ <div class="method-heading">
139
+ <a href="SparqlResultParser.src/M000005.html" target="Code" class="method-signature"
140
+ onclick="popupCode('SparqlResultParser.src/M000005.html');return false;">
141
+ <span class="method-name">new</span><span class="method-args">()</span>
142
+ </a>
143
+ </div>
144
+
145
+ <div class="method-description">
146
+ </div>
147
+ </div>
148
+
149
+ <h3 class="section-bar">Public Instance methods</h3>
150
+
151
+ <div id="method-M000009" class="method-detail">
152
+ <a name="M000009"></a>
153
+
154
+ <div class="method-heading">
155
+ <a href="SparqlResultParser.src/M000009.html" target="Code" class="method-signature"
156
+ onclick="popupCode('SparqlResultParser.src/M000009.html');return false;">
157
+ <span class="method-name">create_node</span><span class="method-args">(type, value)</span>
158
+ </a>
159
+ </div>
160
+
161
+ <div class="method-description">
162
+ <p>
163
+ create ruby objects for each RDF node
164
+ </p>
165
+ </div>
166
+ </div>
167
+
168
+ <div id="method-M000010" class="method-detail">
169
+ <a name="M000010"></a>
170
+
171
+ <div class="method-heading">
172
+ <a href="SparqlResultParser.src/M000010.html" target="Code" class="method-signature"
173
+ onclick="popupCode('SparqlResultParser.src/M000010.html');return false;">
174
+ <span class="method-name">method_missing</span><span class="method-args">(*args)</span>
175
+ </a>
176
+ </div>
177
+
178
+ <div class="method-description">
179
+ </div>
180
+ </div>
181
+
182
+ <div id="method-M000007" class="method-detail">
183
+ <a name="M000007"></a>
184
+
185
+ <div class="method-heading">
186
+ <a href="SparqlResultParser.src/M000007.html" target="Code" class="method-signature"
187
+ onclick="popupCode('SparqlResultParser.src/M000007.html');return false;">
188
+ <span class="method-name">tag_end</span><span class="method-args">(name)</span>
189
+ </a>
190
+ </div>
191
+
192
+ <div class="method-description">
193
+ </div>
194
+ </div>
195
+
196
+ <div id="method-M000006" class="method-detail">
197
+ <a name="M000006"></a>
198
+
199
+ <div class="method-heading">
200
+ <a href="SparqlResultParser.src/M000006.html" target="Code" class="method-signature"
201
+ onclick="popupCode('SparqlResultParser.src/M000006.html');return false;">
202
+ <span class="method-name">tag_start</span><span class="method-args">(name, attrs)</span>
203
+ </a>
204
+ </div>
205
+
206
+ <div class="method-description">
207
+ </div>
208
+ </div>
209
+
210
+ <div id="method-M000008" class="method-detail">
211
+ <a name="M000008"></a>
212
+
213
+ <div class="method-heading">
214
+ <a href="SparqlResultParser.src/M000008.html" target="Code" class="method-signature"
215
+ onclick="popupCode('SparqlResultParser.src/M000008.html');return false;">
216
+ <span class="method-name">text</span><span class="method-args">(text)</span>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="method-description">
221
+ </div>
222
+ </div>
223
+
224
+
225
+ </div>
226
+
227
+
228
+ </div>
229
+
230
+
231
+ <div id="validator-badges">
232
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
233
+ </div>
234
+
235
+ </body>
236
+ </html>