activerdf_net7 1.6.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. data/CHANGELOG +79 -0
  2. data/LICENSE +504 -0
  3. data/README.rdoc +34 -0
  4. data/activerdf-jena/CHANGELOG +14 -0
  5. data/activerdf-jena/LICENSE +504 -0
  6. data/activerdf-jena/README +57 -0
  7. data/activerdf-jena/Rakefile +87 -0
  8. data/activerdf-jena/TODO +18 -0
  9. data/activerdf-jena/VERSION +1 -0
  10. data/activerdf-jena/ext/antlr-2.7.5.jar +0 -0
  11. data/activerdf-jena/ext/arq-extra.jar +0 -0
  12. data/activerdf-jena/ext/arq.jar +0 -0
  13. data/activerdf-jena/ext/aterm-java-1.6.jar +0 -0
  14. data/activerdf-jena/ext/commons-logging-1.1.jar +0 -0
  15. data/activerdf-jena/ext/concurrent.jar +0 -0
  16. data/activerdf-jena/ext/icu4j_3_4.jar +0 -0
  17. data/activerdf-jena/ext/iri.jar +0 -0
  18. data/activerdf-jena/ext/jena.jar +0 -0
  19. data/activerdf-jena/ext/jenatest.jar +0 -0
  20. data/activerdf-jena/ext/json.jar +0 -0
  21. data/activerdf-jena/ext/junit.jar +0 -0
  22. data/activerdf-jena/ext/log4j-1.2.12.jar +0 -0
  23. data/activerdf-jena/ext/lucene-core-2.0.0.jar +0 -0
  24. data/activerdf-jena/ext/ng4j.jar +0 -0
  25. data/activerdf-jena/ext/pellet.jar +0 -0
  26. data/activerdf-jena/ext/relaxngDatatype.jar +0 -0
  27. data/activerdf-jena/ext/stax-api-1.0.jar +0 -0
  28. data/activerdf-jena/ext/wstx-asl-3.0.0.jar +0 -0
  29. data/activerdf-jena/ext/xercesImpl.jar +0 -0
  30. data/activerdf-jena/ext/xml-apis.jar +0 -0
  31. data/activerdf-jena/ext/xsdlib.jar +0 -0
  32. data/activerdf-jena/lib/activerdf_jena/init.rb +26 -0
  33. data/activerdf-jena/lib/activerdf_jena/jena.rb +59 -0
  34. data/activerdf-jena/lib/activerdf_jena/jena_adapter.rb +515 -0
  35. data/activerdf-jena/lib/activerdf_jena/lucene.rb +22 -0
  36. data/activerdf-jena/lib/activerdf_jena/ng4j.rb +50 -0
  37. data/activerdf-jena/lib/activerdf_jena/ng4j_adapter.rb +379 -0
  38. data/activerdf-jena/lib/activerdf_jena/pellet.rb +25 -0
  39. data/activerdf-jena/test/bnode_org_rss.rdf +793 -0
  40. data/activerdf-jena/test/eyal-foaf.nt +39 -0
  41. data/activerdf-jena/test/fun_with_bnodes.nt +2 -0
  42. data/activerdf-jena/test/s1.n3 +18 -0
  43. data/activerdf-jena/test/test_data.nt +32 -0
  44. data/activerdf-jena/test/test_jena_adapter.rb +451 -0
  45. data/activerdf-jena/test/test_ng4j_adapter.rb +354 -0
  46. data/activerdf-rdflite/CHANGELOG +31 -0
  47. data/activerdf-rdflite/LICENSE +504 -0
  48. data/activerdf-rdflite/README +16 -0
  49. data/activerdf-rdflite/Rakefile +73 -0
  50. data/activerdf-rdflite/VERSION +1 -0
  51. data/activerdf-rdflite/lib/activerdf_rdflite/fetching.rb +34 -0
  52. data/activerdf-rdflite/lib/activerdf_rdflite/init.rb +13 -0
  53. data/activerdf-rdflite/lib/activerdf_rdflite/rdflite.rb +582 -0
  54. data/activerdf-rdflite/lib/activerdf_rdflite/suggesting.rb +87 -0
  55. data/activerdf-rdflite/test/test_bnode_data.nt +5 -0
  56. data/activerdf-rdflite/test/test_data.nt +32 -0
  57. data/activerdf-rdflite/test/test_escaped_data.nt +2 -0
  58. data/activerdf-rdflite/test/test_fetching.rb +33 -0
  59. data/activerdf-rdflite/test/test_rdflite.rb +277 -0
  60. data/activerdf-redland/CHANGELOG +12 -0
  61. data/activerdf-redland/LICENSE +504 -0
  62. data/activerdf-redland/README +9 -0
  63. data/activerdf-redland/Rakefile +72 -0
  64. data/activerdf-redland/VERSION +1 -0
  65. data/activerdf-redland/lib/activerdf_redland/init.rb +10 -0
  66. data/activerdf-redland/lib/activerdf_redland/redland.rb +362 -0
  67. data/activerdf-redland/test/test_person_data.nt +42 -0
  68. data/activerdf-redland/test/test_redland_adapter.rb +242 -0
  69. data/activerdf-sesame/CHANGELOG +6 -0
  70. data/activerdf-sesame/LICENSE +10 -0
  71. data/activerdf-sesame/LICENSE-aduna +10 -0
  72. data/activerdf-sesame/LICENSE-lgpl +504 -0
  73. data/activerdf-sesame/README +33 -0
  74. data/activerdf-sesame/Rakefile +77 -0
  75. data/activerdf-sesame/VERSION +1 -0
  76. data/activerdf-sesame/ext/commons-codec-1.3.jar +0 -0
  77. data/activerdf-sesame/ext/commons-dbcp-1.2.2.jar +0 -0
  78. data/activerdf-sesame/ext/commons-httpclient-3.1.jar +0 -0
  79. data/activerdf-sesame/ext/commons-logging-1.1.1.jar +0 -0
  80. data/activerdf-sesame/ext/commons-pool-1.3.jar +0 -0
  81. data/activerdf-sesame/ext/commons-pool-1.5.2.jar +0 -0
  82. data/activerdf-sesame/ext/junit-3.8.2.jar +0 -0
  83. data/activerdf-sesame/ext/openrdf-sesame-2.0-onejar.jar +0 -0
  84. data/activerdf-sesame/ext/openrdf-sesame-2.3-pr1-onejar.jar +0 -0
  85. data/activerdf-sesame/ext/slf4j-api-1.4.3.jar +0 -0
  86. data/activerdf-sesame/ext/slf4j-nop-1.4.3.jar +0 -0
  87. data/activerdf-sesame/ext/wrapper-sesame2.jar +0 -0
  88. data/activerdf-sesame/java/build.number +3 -0
  89. data/activerdf-sesame/java/build.xml +313 -0
  90. data/activerdf-sesame/java/javadoc/allclasses-frame.html +31 -0
  91. data/activerdf-sesame/java/javadoc/allclasses-noframe.html +31 -0
  92. data/activerdf-sesame/java/javadoc/constant-values.html +146 -0
  93. data/activerdf-sesame/java/javadoc/deprecated-list.html +146 -0
  94. data/activerdf-sesame/java/javadoc/help-doc.html +223 -0
  95. data/activerdf-sesame/java/javadoc/index-files/index-1.html +150 -0
  96. data/activerdf-sesame/java/javadoc/index-files/index-10.html +145 -0
  97. data/activerdf-sesame/java/javadoc/index-files/index-2.html +157 -0
  98. data/activerdf-sesame/java/javadoc/index-files/index-3.html +146 -0
  99. data/activerdf-sesame/java/javadoc/index-files/index-4.html +145 -0
  100. data/activerdf-sesame/java/javadoc/index-files/index-5.html +145 -0
  101. data/activerdf-sesame/java/javadoc/index-files/index-6.html +142 -0
  102. data/activerdf-sesame/java/javadoc/index-files/index-7.html +145 -0
  103. data/activerdf-sesame/java/javadoc/index-files/index-8.html +152 -0
  104. data/activerdf-sesame/java/javadoc/index-files/index-9.html +146 -0
  105. data/activerdf-sesame/java/javadoc/index.html +36 -0
  106. data/activerdf-sesame/java/javadoc/org/activerdf/wrapper/sesame2/WrapperForSesame2.html +665 -0
  107. data/activerdf-sesame/java/javadoc/org/activerdf/wrapper/sesame2/class-use/WrapperForSesame2.html +144 -0
  108. data/activerdf-sesame/java/javadoc/org/activerdf/wrapper/sesame2/package-frame.html +32 -0
  109. data/activerdf-sesame/java/javadoc/org/activerdf/wrapper/sesame2/package-summary.html +157 -0
  110. data/activerdf-sesame/java/javadoc/org/activerdf/wrapper/sesame2/package-tree.html +150 -0
  111. data/activerdf-sesame/java/javadoc/org/activerdf/wrapper/sesame2/package-use.html +144 -0
  112. data/activerdf-sesame/java/javadoc/overview-summary.html +156 -0
  113. data/activerdf-sesame/java/javadoc/overview-tree.html +152 -0
  114. data/activerdf-sesame/java/javadoc/package-list +1 -0
  115. data/activerdf-sesame/java/javadoc/resources/inherit.gif +0 -0
  116. data/activerdf-sesame/java/javadoc/stylesheet.css +29 -0
  117. data/activerdf-sesame/java/lib/commons-codec-1.3.jar +0 -0
  118. data/activerdf-sesame/java/lib/commons-dbcp-1.2.2.jar +0 -0
  119. data/activerdf-sesame/java/lib/commons-httpclient-3.1.jar +0 -0
  120. data/activerdf-sesame/java/lib/commons-logging-1.1.1.jar +0 -0
  121. data/activerdf-sesame/java/lib/commons-pool-1.3.jar +0 -0
  122. data/activerdf-sesame/java/lib/commons-pool-1.5.2.jar +0 -0
  123. data/activerdf-sesame/java/lib/junit-3.8.2.jar +0 -0
  124. data/activerdf-sesame/java/lib/openrdf-sesame-2.0-onejar.jar +0 -0
  125. data/activerdf-sesame/java/lib/openrdf-sesame-2.3-pr1-onejar.jar +0 -0
  126. data/activerdf-sesame/java/lib/slf4j-api-1.4.3.jar +0 -0
  127. data/activerdf-sesame/java/lib/slf4j-nop-1.4.3.jar +0 -0
  128. data/activerdf-sesame/java/manifest.mf +3 -0
  129. data/activerdf-sesame/java/settings.xml +135 -0
  130. data/activerdf-sesame/java/src/org/activerdf/wrapper/sesame2/WrapperForSesame2.java +145 -0
  131. data/activerdf-sesame/java/test-src/org/activerdf/wrapper/sesame2/TestWrapperForSesame2.java +41 -0
  132. data/activerdf-sesame/lib/activerdf_sesame/init.rb +11 -0
  133. data/activerdf-sesame/lib/activerdf_sesame/sesame.rb +400 -0
  134. data/activerdf-sesame/test/eyal-foaf.nt +39 -0
  135. data/activerdf-sesame/test/eyal-foaf.rdf +65 -0
  136. data/activerdf-sesame/test/test_sesame_adapter.rb +341 -0
  137. data/activerdf-sparql/CHANGELOG +35 -0
  138. data/activerdf-sparql/LICENSE +504 -0
  139. data/activerdf-sparql/README +10 -0
  140. data/activerdf-sparql/Rakefile +78 -0
  141. data/activerdf-sparql/VERSION +1 -0
  142. data/activerdf-sparql/lib/activerdf_sparql/init.rb +10 -0
  143. data/activerdf-sparql/lib/activerdf_sparql/sparql.rb +212 -0
  144. data/activerdf-sparql/lib/activerdf_sparql/sparql_result_parser.rb +55 -0
  145. data/activerdf-sparql/test/test_sparql_adapter.rb +108 -0
  146. data/activerdf-yars/LICENSE +504 -0
  147. data/activerdf-yars/README +10 -0
  148. data/activerdf-yars/Rakefile +38 -0
  149. data/activerdf-yars/lib/activerdf_yars/init.rb +10 -0
  150. data/activerdf-yars/lib/activerdf_yars/jars2.rb +119 -0
  151. data/lib/active_rdf.rb +85 -0
  152. data/lib/active_rdf/directaccess/direct_access.rb +49 -0
  153. data/lib/active_rdf/federation/active_rdf_adapter.rb +47 -0
  154. data/lib/active_rdf/federation/connection_pool.rb +156 -0
  155. data/lib/active_rdf/federation/federation_manager.rb +112 -0
  156. data/lib/active_rdf/instance_exec.rb +13 -0
  157. data/lib/active_rdf/objectmanager/bnode.rb +7 -0
  158. data/lib/active_rdf/objectmanager/literal.rb +71 -0
  159. data/lib/active_rdf/objectmanager/namespace.rb +106 -0
  160. data/lib/active_rdf/objectmanager/object_manager.rb +119 -0
  161. data/lib/active_rdf/objectmanager/ordered_set.rb +116 -0
  162. data/lib/active_rdf/objectmanager/property_list.rb +76 -0
  163. data/lib/active_rdf/objectmanager/resource.rb +609 -0
  164. data/lib/active_rdf/objectmanager/resource_like.rb +28 -0
  165. data/lib/active_rdf/queryengine/ntriples_parser.rb +90 -0
  166. data/lib/active_rdf/queryengine/query.rb +245 -0
  167. data/lib/active_rdf/queryengine/query2jars2.rb +22 -0
  168. data/lib/active_rdf/queryengine/query2sparql.rb +139 -0
  169. data/lib/active_rdf_helpers.rb +30 -0
  170. data/lib/active_rdf_log.rb +100 -0
  171. data/test/common.rb +119 -0
  172. data/test/directaccess/test_direct_access.rb +64 -0
  173. data/test/federation/test_connection_pool.rb +86 -0
  174. data/test/federation/test_federation_manager.rb +145 -0
  175. data/test/objectmanager/test_literal.rb +52 -0
  176. data/test/objectmanager/test_namespace.rb +83 -0
  177. data/test/objectmanager/test_object_manager.rb +96 -0
  178. data/test/objectmanager/test_ordered_set.rb +110 -0
  179. data/test/objectmanager/test_resource_reading.rb +150 -0
  180. data/test/objectmanager/test_resource_writing.rb +39 -0
  181. data/test/objectmanager/test_talia_syntax.rb +68 -0
  182. data/test/queryengine/my_external_resource.rb +24 -0
  183. data/test/queryengine/test_external_resource_class.rb +49 -0
  184. data/test/queryengine/test_ntriples_parser.rb +71 -0
  185. data/test/queryengine/test_query.rb +55 -0
  186. data/test/queryengine/test_query2jars2.rb +51 -0
  187. data/test/queryengine/test_query2sparql.rb +76 -0
  188. data/test/queryengine/test_query_engine.rb +52 -0
  189. data/test/test_adapters.rb +58 -0
  190. metadata +266 -0
@@ -0,0 +1,665 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <!--NewPage-->
3
+ <HTML>
4
+ <HEAD>
5
+ <!-- Generated by javadoc (build 1.6.0_03) on Fri Feb 01 09:40:56 CET 2008 -->
6
+ <TITLE>
7
+ WrapperForSesame2 (Wrapper-Sesame2)
8
+ </TITLE>
9
+
10
+ <META NAME="date" CONTENT="2008-02-01">
11
+
12
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
+
14
+ <SCRIPT type="text/javascript">
15
+ function windowTitle()
16
+ {
17
+ if (location.href.indexOf('is-external=true') == -1) {
18
+ parent.document.title="WrapperForSesame2 (Wrapper-Sesame2)";
19
+ }
20
+ }
21
+ </SCRIPT>
22
+ <NOSCRIPT>
23
+ </NOSCRIPT>
24
+
25
+ </HEAD>
26
+
27
+ <BODY BGCOLOR="white" onload="windowTitle();">
28
+ <HR>
29
+
30
+
31
+ <!-- ========= START OF TOP NAVBAR ======= -->
32
+ <A NAME="navbar_top"><!-- --></A>
33
+ <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+ <TR>
36
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+ <A NAME="navbar_top_firstrow"><!-- --></A>
38
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+ <TR ALIGN="center" VALIGN="top">
40
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/activerdf/wrapper/sesame2/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WrapperForSesame2.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+ </TR>
49
+ </TABLE>
50
+ </TD>
51
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+ </EM>
53
+ </TD>
54
+ </TR>
55
+
56
+ <TR>
57
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+ &nbsp;PREV CLASS&nbsp;
59
+ &nbsp;NEXT CLASS</FONT></TD>
60
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+ <A HREF="../../../../index.html?org/activerdf/wrapper/sesame2/WrapperForSesame2.html" target="_top"><B>FRAMES</B></A> &nbsp;
62
+ &nbsp;<A HREF="WrapperForSesame2.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63
+ &nbsp;<SCRIPT type="text/javascript">
64
+ <!--
65
+ if(window==top) {
66
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
+ }
68
+ //-->
69
+ </SCRIPT>
70
+ <NOSCRIPT>
71
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72
+ </NOSCRIPT>
73
+
74
+
75
+ </FONT></TD>
76
+ </TR>
77
+ <TR>
78
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81
+ DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82
+ </TR>
83
+ </TABLE>
84
+ <A NAME="skip-navbar_top"></A>
85
+ <!-- ========= END OF TOP NAVBAR ========= -->
86
+
87
+ <HR>
88
+ <!-- ======== START OF CLASS DATA ======== -->
89
+ <H2>
90
+ <FONT SIZE="-1">
91
+ org.activerdf.wrapper.sesame2</FONT>
92
+ <BR>
93
+ Class WrapperForSesame2</H2>
94
+ <PRE>
95
+ java.lang.Object
96
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.activerdf.wrapper.sesame2.WrapperForSesame2</B>
97
+ </PRE>
98
+ <HR>
99
+ <DL>
100
+ <DT><PRE>public class <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.39"><B>WrapperForSesame2</B></A><DT>extends java.lang.Object</DL>
101
+ </PRE>
102
+
103
+ <P>
104
+ construct a wrapper for a sesame2 repository.
105
+ many sesame2 classes use an initialize method, which clashes with the
106
+ ruby naming requirement, to name the constructor initialize.
107
+ Because of this it is currently not possible to construct such objects from jruby
108
+ but instead embarrsing wrappers, such as this have to be used.
109
+
110
+ check http://jira.codehaus.org/browse/JRUBY-45 to see if bug still exists.
111
+ <P>
112
+
113
+ <P>
114
+ <HR>
115
+
116
+ <P>
117
+
118
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
119
+
120
+ <A NAME="constructor_summary"><!-- --></A>
121
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124
+ <B>Constructor Summary</B></FONT></TH>
125
+ </TR>
126
+ <TR BGCOLOR="white" CLASS="TableRowColor">
127
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#WrapperForSesame2()">WrapperForSesame2</A></B>()</CODE>
128
+
129
+ <BR>
130
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the constructor. it does nothing.</TD>
131
+ </TR>
132
+ </TABLE>
133
+ &nbsp;
134
+ <!-- ========== METHOD SUMMARY =========== -->
135
+
136
+ <A NAME="method_summary"><!-- --></A>
137
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140
+ <B>Method Summary</B></FONT></TH>
141
+ </TR>
142
+ <TR BGCOLOR="white" CLASS="TableRowColor">
143
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
145
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#add(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Literal, org.openrdf.model.Resource)">add</A></B>(org.openrdf.model.Resource&nbsp;subject,
146
+ org.openrdf.model.URI&nbsp;predicate,
147
+ org.openrdf.model.Literal&nbsp;object,
148
+ org.openrdf.model.Resource&nbsp;context)</CODE>
149
+
150
+ <BR>
151
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a statement with the specified subject, predicate and object to
152
+ this repository, optionally to one or more named contexts.</TD>
153
+ </TR>
154
+ <TR BGCOLOR="white" CLASS="TableRowColor">
155
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
157
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#add(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.URI, org.openrdf.model.Resource)">add</A></B>(org.openrdf.model.Resource&nbsp;subject,
158
+ org.openrdf.model.URI&nbsp;predicate,
159
+ org.openrdf.model.URI&nbsp;object,
160
+ org.openrdf.model.Resource&nbsp;context)</CODE>
161
+
162
+ <BR>
163
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a statement with the specified subject, predicate and object to
164
+ this repository, optionally to one or more named contexts.</TD>
165
+ </TR>
166
+ <TR BGCOLOR="white" CLASS="TableRowColor">
167
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168
+ <CODE>&nbsp;org.openrdf.repository.RepositoryConnection</CODE></FONT></TD>
169
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#callConstructor()">callConstructor</A></B>()</CODE>
170
+
171
+ <BR>
172
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;construct a wrapper for a sesame2 repository.</TD>
173
+ </TR>
174
+ <TR BGCOLOR="white" CLASS="TableRowColor">
175
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176
+ <CODE>&nbsp;org.openrdf.repository.RepositoryConnection</CODE></FONT></TD>
177
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#callConstructor(boolean)">callConstructor</A></B>(boolean&nbsp;inferencing)</CODE>
178
+
179
+ <BR>
180
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;construct a wrapper for a sesame2 repository.</TD>
181
+ </TR>
182
+ <TR BGCOLOR="white" CLASS="TableRowColor">
183
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184
+ <CODE>&nbsp;org.openrdf.repository.RepositoryConnection</CODE></FONT></TD>
185
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#callConstructor(java.io.File)">callConstructor</A></B>(java.io.File&nbsp;file)</CODE>
186
+
187
+ <BR>
188
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;construct a wrapper for a sesame2 repository.</TD>
189
+ </TR>
190
+ <TR BGCOLOR="white" CLASS="TableRowColor">
191
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192
+ <CODE>&nbsp;org.openrdf.repository.RepositoryConnection</CODE></FONT></TD>
193
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#callConstructor(java.io.File, boolean)">callConstructor</A></B>(java.io.File&nbsp;file,
194
+ boolean&nbsp;inferencing)</CODE>
195
+
196
+ <BR>
197
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;construct a wrapper for a sesame2 repository.</TD>
198
+ </TR>
199
+ <TR BGCOLOR="white" CLASS="TableRowColor">
200
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
202
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#clear(org.openrdf.model.Resource)">clear</A></B>(org.openrdf.model.Resource&nbsp;context)</CODE>
203
+
204
+ <BR>
205
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all statements from a specific contexts in the repository.</TD>
206
+ </TR>
207
+ <TR BGCOLOR="white" CLASS="TableRowColor">
208
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209
+ <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
210
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#dump(org.openrdf.model.Resource)">dump</A></B>(org.openrdf.model.Resource&nbsp;context)</CODE>
211
+
212
+ <BR>
213
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports all explicit statements in the specified contexts to the
214
+ supplied RDFHandler</TD>
215
+ </TR>
216
+ <TR BGCOLOR="white" CLASS="TableRowColor">
217
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218
+ <CODE>&nbsp;org.openrdf.repository.RepositoryConnection</CODE></FONT></TD>
219
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#getSesameConnection()">getSesameConnection</A></B>()</CODE>
220
+
221
+ <BR>
222
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
223
+ </TR>
224
+ <TR BGCOLOR="white" CLASS="TableRowColor">
225
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
227
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#load(java.lang.String, java.lang.String, org.openrdf.rio.RDFFormat, org.openrdf.model.Resource)">load</A></B>(java.lang.String&nbsp;file,
228
+ java.lang.String&nbsp;baseUri,
229
+ org.openrdf.rio.RDFFormat&nbsp;dataFormat,
230
+ org.openrdf.model.Resource&nbsp;context)</CODE>
231
+
232
+ <BR>
233
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;load data from file</TD>
234
+ </TR>
235
+ <TR BGCOLOR="white" CLASS="TableRowColor">
236
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237
+ <CODE>&nbsp;org.openrdf.query.TupleQueryResult</CODE></FONT></TD>
238
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#query(org.openrdf.query.QueryLanguage, java.lang.String)">query</A></B>(org.openrdf.query.QueryLanguage&nbsp;queryLanguage,
239
+ java.lang.String&nbsp;query)</CODE>
240
+
241
+ <BR>
242
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute a query</TD>
243
+ </TR>
244
+ <TR BGCOLOR="white" CLASS="TableRowColor">
245
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
247
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#remove(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Literal, org.openrdf.model.Resource)">remove</A></B>(org.openrdf.model.Resource&nbsp;subject,
248
+ org.openrdf.model.URI&nbsp;predicate,
249
+ org.openrdf.model.Literal&nbsp;object,
250
+ org.openrdf.model.Resource&nbsp;context)</CODE>
251
+
252
+ <BR>
253
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the statement(s) with the specified subject, predicate and
254
+ object from the repository, optionally restricted to the specified
255
+ contexts.</TD>
256
+ </TR>
257
+ <TR BGCOLOR="white" CLASS="TableRowColor">
258
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
260
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#remove(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.URI, org.openrdf.model.Resource)">remove</A></B>(org.openrdf.model.Resource&nbsp;subject,
261
+ org.openrdf.model.URI&nbsp;predicate,
262
+ org.openrdf.model.URI&nbsp;object,
263
+ org.openrdf.model.Resource&nbsp;context)</CODE>
264
+
265
+ <BR>
266
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the statement(s) with the specified subject, predicate and
267
+ object from the repository, optionally restricted to the specified
268
+ contexts.</TD>
269
+ </TR>
270
+ <TR BGCOLOR="white" CLASS="TableRowColor">
271
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272
+ <CODE>&nbsp;long</CODE></FONT></TD>
273
+ <TD><CODE><B><A HREF="../../../../org/activerdf/wrapper/sesame2/WrapperForSesame2.html#size(org.openrdf.model.Resource)">size</A></B>(org.openrdf.model.Resource&nbsp;context)</CODE>
274
+
275
+ <BR>
276
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of (explicit) statements that are in the specified
277
+ contexts in this repository.</TD>
278
+ </TR>
279
+ </TABLE>
280
+ &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
281
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
282
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
283
+ <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
284
+ </TR>
285
+ <TR BGCOLOR="white" CLASS="TableRowColor">
286
+ <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
287
+ </TR>
288
+ </TABLE>
289
+ &nbsp;
290
+ <P>
291
+
292
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
293
+
294
+ <A NAME="constructor_detail"><!-- --></A>
295
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
296
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
297
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
298
+ <B>Constructor Detail</B></FONT></TH>
299
+ </TR>
300
+ </TABLE>
301
+
302
+ <A NAME="WrapperForSesame2()"><!-- --></A><H3>
303
+ WrapperForSesame2</H3>
304
+ <PRE>
305
+ public <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.49"><B>WrapperForSesame2</B></A>()</PRE>
306
+ <DL>
307
+ <DD>the constructor. it does nothing.
308
+ all the real work has to be done by the callConstrcutor methods, because JRuby currently
309
+ cant manage custom class loaders _and_ constructors with arguments.. yes, its sad.
310
+ <P>
311
+ </DL>
312
+
313
+ <!-- ============ METHOD DETAIL ========== -->
314
+
315
+ <A NAME="method_detail"><!-- --></A>
316
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
317
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
318
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
319
+ <B>Method Detail</B></FONT></TH>
320
+ </TR>
321
+ </TABLE>
322
+
323
+ <A NAME="callConstructor(java.io.File, boolean)"><!-- --></A><H3>
324
+ callConstructor</H3>
325
+ <PRE>
326
+ public org.openrdf.repository.RepositoryConnection <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.67"><B>callConstructor</B></A>(java.io.File&nbsp;file,
327
+ boolean&nbsp;inferencing)</PRE>
328
+ <DL>
329
+ <DD>construct a wrapper for a sesame2 repository.
330
+ many sesame2 classes use an initialize method, which clashes with the
331
+ ruby naming requirement, to name the constructor initialize.
332
+ Because of this it is currently not possible to construct such objects from jruby
333
+ but instead embarrsing wrappers, such as this have to be used.
334
+
335
+ check http://jira.codehaus.org/browse/JRUBY-45 to see if bug still exists.
336
+ <P>
337
+ <DD><DL>
338
+ <DT><B>Parameters:</B><DD><CODE>file</CODE> - - if given a sesame2 the file will be used for persistance and loaded if already existing<DD><CODE>inferencing</CODE> - - if given, the sesame2 repository will use rdfs inferencing
339
+ <DT><B>Returns:</B><DD>the sesame connection of the sesame repository associated with this wrapper.</DL>
340
+ </DD>
341
+ </DL>
342
+ <HR>
343
+
344
+ <A NAME="callConstructor()"><!-- --></A><H3>
345
+ callConstructor</H3>
346
+ <PRE>
347
+ public org.openrdf.repository.RepositoryConnection <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.104"><B>callConstructor</B></A>()</PRE>
348
+ <DL>
349
+ <DD>construct a wrapper for a sesame2 repository.
350
+ many sesame2 classes use an initialize method, which clashes with the
351
+ ruby naming requirement, to name the constructor initialize.
352
+ Because of this it is currently not possible to construct such objects from jruby
353
+ but instead embarrsing wrappers, such as this have to be used.
354
+
355
+ check http://jira.codehaus.org/browse/JRUBY-45 to see if bug still exists.
356
+
357
+ Uses in memory repository and rdfs inferencing.
358
+ <P>
359
+ <DD><DL>
360
+
361
+ <DT><B>Returns:</B><DD>the sesame connection of the sesame repository associated with this wrapper.</DL>
362
+ </DD>
363
+ </DL>
364
+ <HR>
365
+
366
+ <A NAME="callConstructor(boolean)"><!-- --></A><H3>
367
+ callConstructor</H3>
368
+ <PRE>
369
+ public org.openrdf.repository.RepositoryConnection <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.123"><B>callConstructor</B></A>(boolean&nbsp;inferencing)</PRE>
370
+ <DL>
371
+ <DD>construct a wrapper for a sesame2 repository.
372
+ many sesame2 classes use an initialize method, which clashes with the
373
+ ruby naming requirement, to name the constructor initialize.
374
+ Because of this it is currently not possible to construct such objects from jruby
375
+ but instead embarrsing wrappers, such as this have to be used.
376
+
377
+ check http://jira.codehaus.org/browse/JRUBY-45 to see if bug still exists.
378
+
379
+ Uses in memory repository.
380
+ <P>
381
+ <DD><DL>
382
+ <DT><B>Parameters:</B><DD><CODE>inferencing</CODE> - - if given, the sesame2 repository will use rdfs inferencing
383
+ <DT><B>Returns:</B><DD>the sesame connection of the sesame repository associated with this wrapper.</DL>
384
+ </DD>
385
+ </DL>
386
+ <HR>
387
+
388
+ <A NAME="callConstructor(java.io.File)"><!-- --></A><H3>
389
+ callConstructor</H3>
390
+ <PRE>
391
+ public org.openrdf.repository.RepositoryConnection <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.142"><B>callConstructor</B></A>(java.io.File&nbsp;file)</PRE>
392
+ <DL>
393
+ <DD>construct a wrapper for a sesame2 repository.
394
+ many sesame2 classes use an initialize method, which clashes with the
395
+ ruby naming requirement, to name the constructor initialize.
396
+ Because of this it is currently not possible to construct such objects from jruby
397
+ but instead embarrsing wrappers, such as this have to be used.
398
+
399
+ check http://jira.codehaus.org/browse/JRUBY-45 to see if bug still exists.
400
+
401
+ Uses rdfs inferencing.
402
+ <P>
403
+ <DD><DL>
404
+ <DT><B>Parameters:</B><DD><CODE>file</CODE> - if given a sesame2 NativeStore using this directory will be constructed
405
+ <DT><B>Returns:</B><DD>the sesame connection of the sesame repository associated with this wrapper.</DL>
406
+ </DD>
407
+ </DL>
408
+ <HR>
409
+
410
+ <A NAME="getSesameConnection()"><!-- --></A><H3>
411
+ getSesameConnection</H3>
412
+ <PRE>
413
+ public org.openrdf.repository.RepositoryConnection <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.149"><B>getSesameConnection</B></A>()</PRE>
414
+ <DL>
415
+ <DD><DL>
416
+
417
+ <DT><B>Returns:</B><DD>the sesame connection of the sesame repository associated with this wrapper.</DL>
418
+ </DD>
419
+ </DL>
420
+ <HR>
421
+
422
+ <A NAME="load(java.lang.String, java.lang.String, org.openrdf.rio.RDFFormat, org.openrdf.model.Resource)"><!-- --></A><H3>
423
+ load</H3>
424
+ <PRE>
425
+ public boolean <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.169"><B>load</B></A>(java.lang.String&nbsp;file,
426
+ java.lang.String&nbsp;baseUri,
427
+ org.openrdf.rio.RDFFormat&nbsp;dataFormat,
428
+ org.openrdf.model.Resource&nbsp;context)</PRE>
429
+ <DL>
430
+ <DD>load data from file
431
+ <P>
432
+ <DD><DL>
433
+ <DT><B>Parameters:</B><DD><CODE>file</CODE> - A file containing RDF data<DD><CODE>baseUri</CODE> - The base URI to resolve any relative URIs that are
434
+ in the data against. This defaults to the value of file.toURI()
435
+ if the value is set to null<DD><CODE>dataFormat</CODE> - The serialization format of the data.<DD><CODE>context</CODE> - The contexts to add the data to. Note that this
436
+ parameter is a vararg and as such is optional. If no contexts are
437
+ specified, the data is added to any context specified in the actual
438
+ data file, or if the data contains no context, it is added without
439
+ context. If one or more contexts are specified the data is added to
440
+ these contexts, ignoring any context information in the data itself.
441
+ <DT><B>Returns:</B><DD>boolean</DL>
442
+ </DD>
443
+ </DL>
444
+ <HR>
445
+
446
+ <A NAME="dump(org.openrdf.model.Resource)"><!-- --></A><H3>
447
+ dump</H3>
448
+ <PRE>
449
+ public java.lang.String <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.198"><B>dump</B></A>(org.openrdf.model.Resource&nbsp;context)</PRE>
450
+ <DL>
451
+ <DD>Exports all explicit statements in the specified contexts to the
452
+ supplied RDFHandler
453
+ <P>
454
+ <DD><DL>
455
+ <DT><B>Parameters:</B><DD><CODE>context</CODE> - The context(s) to get the data from. Note that this
456
+ parameter is a vararg and as such is optional. If no contexts are
457
+ supplied the method operates on the entire repository.
458
+ <DT><B>Returns:</B><DD>string</DL>
459
+ </DD>
460
+ </DL>
461
+ <HR>
462
+
463
+ <A NAME="size(org.openrdf.model.Resource)"><!-- --></A><H3>
464
+ size</H3>
465
+ <PRE>
466
+ public long <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.225"><B>size</B></A>(org.openrdf.model.Resource&nbsp;context)</PRE>
467
+ <DL>
468
+ <DD>Returns the number of (explicit) statements that are in the specified
469
+ contexts in this repository.
470
+ <P>
471
+ <DD><DL>
472
+ <DT><B>Parameters:</B><DD><CODE>context</CODE> - The context(s) to get the data from. Note that this
473
+ parameter is a vararg and as such is optional. If no contexts are
474
+ supplied the method operates on the entire repository.
475
+ <DT><B>Returns:</B><DD>long</DL>
476
+ </DD>
477
+ </DL>
478
+ <HR>
479
+
480
+ <A NAME="clear(org.openrdf.model.Resource)"><!-- --></A><H3>
481
+ clear</H3>
482
+ <PRE>
483
+ public boolean <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.242"><B>clear</B></A>(org.openrdf.model.Resource&nbsp;context)</PRE>
484
+ <DL>
485
+ <DD>Removes all statements from a specific contexts in the repository.
486
+ <P>
487
+ <DD><DL>
488
+ <DT><B>Parameters:</B><DD><CODE>context</CODE> - The context(s) to remove the data from. Note that this
489
+ parameter is a vararg and as such is optional. If no contexts are
490
+ supplied the method operates on the entire repository.
491
+ <DT><B>Returns:</B><DD>boolean</DL>
492
+ </DD>
493
+ </DL>
494
+ <HR>
495
+
496
+ <A NAME="add(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.URI, org.openrdf.model.Resource)"><!-- --></A><H3>
497
+ add</H3>
498
+ <PRE>
499
+ public boolean <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.267"><B>add</B></A>(org.openrdf.model.Resource&nbsp;subject,
500
+ org.openrdf.model.URI&nbsp;predicate,
501
+ org.openrdf.model.URI&nbsp;object,
502
+ org.openrdf.model.Resource&nbsp;context)</PRE>
503
+ <DL>
504
+ <DD>Adds a statement with the specified subject, predicate and object to
505
+ this repository, optionally to one or more named contexts.
506
+ <P>
507
+ <DD><DL>
508
+ <DT><B>Parameters:</B><DD><CODE>subject</CODE> - The statement's subject.<DD><CODE>predicate</CODE> - The statement's predicate.<DD><CODE>object</CODE> - The statement's object.<DD><CODE>context</CODE> - The contexts to add the data to. Note that this
509
+ parameter is a vararg and as such is optional. If no contexts are
510
+ specified, the data is added to any context specified in the actual
511
+ data file, or if the data contains no context, it is added without
512
+ context. If one or more contexts are specified the data is added to
513
+ these contexts, ignoring any context information in the data itself.
514
+ <DT><B>Returns:</B><DD>boolean</DL>
515
+ </DD>
516
+ </DL>
517
+ <HR>
518
+
519
+ <A NAME="add(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Literal, org.openrdf.model.Resource)"><!-- --></A><H3>
520
+ add</H3>
521
+ <PRE>
522
+ public boolean <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.296"><B>add</B></A>(org.openrdf.model.Resource&nbsp;subject,
523
+ org.openrdf.model.URI&nbsp;predicate,
524
+ org.openrdf.model.Literal&nbsp;object,
525
+ org.openrdf.model.Resource&nbsp;context)</PRE>
526
+ <DL>
527
+ <DD>Adds a statement with the specified subject, predicate and object to
528
+ this repository, optionally to one or more named contexts.
529
+ <P>
530
+ <DD><DL>
531
+ <DT><B>Parameters:</B><DD><CODE>subject</CODE> - The statement's subject.<DD><CODE>predicate</CODE> - The statement's predicate.<DD><CODE>object</CODE> - The statement's object.<DD><CODE>context</CODE> - The contexts to add the data to. Note that this
532
+ parameter is a vararg and as such is optional. If no contexts are
533
+ specified, the data is added to any context specified in the actual
534
+ data file, or if the data contains no context, it is added without
535
+ context. If one or more contexts are specified the data is added to
536
+ these contexts, ignoring any context information in the data itself.
537
+ <DT><B>Returns:</B><DD>boolean</DL>
538
+ </DD>
539
+ </DL>
540
+ <HR>
541
+
542
+ <A NAME="remove(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.URI, org.openrdf.model.Resource)"><!-- --></A><H3>
543
+ remove</H3>
544
+ <PRE>
545
+ public boolean <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.323"><B>remove</B></A>(org.openrdf.model.Resource&nbsp;subject,
546
+ org.openrdf.model.URI&nbsp;predicate,
547
+ org.openrdf.model.URI&nbsp;object,
548
+ org.openrdf.model.Resource&nbsp;context)</PRE>
549
+ <DL>
550
+ <DD>Removes the statement(s) with the specified subject, predicate and
551
+ object from the repository, optionally restricted to the specified
552
+ contexts.
553
+ <P>
554
+ <DD><DL>
555
+ <DT><B>Parameters:</B><DD><CODE>subject</CODE> - The statement's subject, or null for a wildcard.<DD><CODE>predicate</CODE> - The statement's predicate, or null for a wildcard.<DD><CODE>object</CODE> - The statement's object, or null for a wildcard.<DD><CODE>context</CODE> - The context(s) to remove the data from. Note that this
556
+ parameter is a vararg and as such is optional. If no contexts are
557
+ supplied the method operates on the entire repository.
558
+ <DT><B>Returns:</B><DD>boolean</DL>
559
+ </DD>
560
+ </DL>
561
+ <HR>
562
+
563
+ <A NAME="remove(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Literal, org.openrdf.model.Resource)"><!-- --></A><H3>
564
+ remove</H3>
565
+ <PRE>
566
+ public boolean <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.350"><B>remove</B></A>(org.openrdf.model.Resource&nbsp;subject,
567
+ org.openrdf.model.URI&nbsp;predicate,
568
+ org.openrdf.model.Literal&nbsp;object,
569
+ org.openrdf.model.Resource&nbsp;context)</PRE>
570
+ <DL>
571
+ <DD>Removes the statement(s) with the specified subject, predicate and
572
+ object from the repository, optionally restricted to the specified
573
+ contexts.
574
+ <P>
575
+ <DD><DL>
576
+ <DT><B>Parameters:</B><DD><CODE>subject</CODE> - The statement's subject, or null for a wildcard.<DD><CODE>predicate</CODE> - The statement's predicate, or null for a wildcard.<DD><CODE>object</CODE> - The statement's object, or null for a wildcard.<DD><CODE>context</CODE> - The context(s) to remove the data from. Note that this
577
+ parameter is a vararg and as such is optional. If no contexts are
578
+ supplied the method operates on the entire repository.
579
+ <DT><B>Returns:</B><DD>boolean</DL>
580
+ </DD>
581
+ </DL>
582
+ <HR>
583
+
584
+ <A NAME="query(org.openrdf.query.QueryLanguage, java.lang.String)"><!-- --></A><H3>
585
+ query</H3>
586
+ <PRE>
587
+ public org.openrdf.query.TupleQueryResult <A HREF="../../../../src-html/org/activerdf/wrapper/sesame2/WrapperForSesame2.html#line.376"><B>query</B></A>(org.openrdf.query.QueryLanguage&nbsp;queryLanguage,
588
+ java.lang.String&nbsp;query)</PRE>
589
+ <DL>
590
+ <DD>Execute a query
591
+ <P>
592
+ <DD><DL>
593
+ <DT><B>Parameters:</B><DD><CODE>queryLanguage</CODE> - The query language in which the query is formulated.
594
+ The value can be SERQL, SERQO or SPARQL.<DD><CODE>query</CODE> - The query string.
595
+ <DT><B>Returns:</B><DD>TupleQueryResult A representation of a variable-binding query
596
+ result as a sequence of BindingSet objects. Each query result consists
597
+ of zero or more solutions, each of which represents a single query
598
+ solution as a set of bindings. Note: take care to always close a
599
+ TupleQueryResult after use to free any resources it keeps hold of.</DL>
600
+ </DD>
601
+ </DL>
602
+ <!-- ========= END OF CLASS DATA ========= -->
603
+ <HR>
604
+
605
+
606
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
607
+ <A NAME="navbar_bottom"><!-- --></A>
608
+ <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
609
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
610
+ <TR>
611
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
612
+ <A NAME="navbar_bottom_firstrow"><!-- --></A>
613
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
614
+ <TR ALIGN="center" VALIGN="top">
615
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
616
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/activerdf/wrapper/sesame2/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
617
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
618
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WrapperForSesame2.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
619
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
620
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
621
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
622
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
623
+ </TR>
624
+ </TABLE>
625
+ </TD>
626
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
627
+ </EM>
628
+ </TD>
629
+ </TR>
630
+
631
+ <TR>
632
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
633
+ &nbsp;PREV CLASS&nbsp;
634
+ &nbsp;NEXT CLASS</FONT></TD>
635
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
636
+ <A HREF="../../../../index.html?org/activerdf/wrapper/sesame2/WrapperForSesame2.html" target="_top"><B>FRAMES</B></A> &nbsp;
637
+ &nbsp;<A HREF="WrapperForSesame2.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
638
+ &nbsp;<SCRIPT type="text/javascript">
639
+ <!--
640
+ if(window==top) {
641
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
642
+ }
643
+ //-->
644
+ </SCRIPT>
645
+ <NOSCRIPT>
646
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
647
+ </NOSCRIPT>
648
+
649
+
650
+ </FONT></TD>
651
+ </TR>
652
+ <TR>
653
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
654
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
655
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
656
+ DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
657
+ </TR>
658
+ </TABLE>
659
+ <A NAME="skip-navbar_bottom"></A>
660
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
661
+
662
+ <HR>
663
+
664
+ </BODY>
665
+ </HTML>