jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r866584 [11/21] - in /websites/staging/jena/trunk/content: ./ documentation/assembler/ documentation/inference/ documentation/io/ documentation/javadoc/arq/ documentation/javadoc/fuseki/ documentation/javadoc/jena/ documentation/javadoc/lar...
Date Thu, 20 Jun 2013 10:18:36 GMT
Modified: websites/staging/jena/trunk/content/documentation/query/update.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/update.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/update.html Thu Jun 20 10:18:34 2013
@@ -174,27 +174,27 @@ download in src-examples/arq/examples/up
 <li>UpdateAction - execute updates</li>
 </ul>
 <p>To execute a SPARQL Update request as a script from a file:</p>
-<div class="codehilite"><pre><span class="n">Dataset</span> <span class="n">ds</span> <span class="o">=</span> <span class="o">...</span>
-<span class="n">GraphStore</span> <span class="n">graphStore</span> <span class="o">=</span> <span class="n">GraphStoreFactory</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">ds</span><span class="p">)</span> <span class="p">;</span>
-<span class="n">UpdateAction</span><span class="o">.</span><span class="n">readExecute</span><span class="p">(</span><span class="s">&quot;update.ru&quot;</span><span class="p">,</span> <span class="n">graphStore</span><span class="p">)</span> <span class="p">;</span>
+<div class="codehilite"><pre><span class="n">Dataset</span> <span class="n">ds</span> <span class="p">=</span> <span class="p">...</span>
+<span class="n">GraphStore</span> <span class="n">graphStore</span> <span class="p">=</span> <span class="n">GraphStoreFactory</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">ds</span><span class="p">)</span> <span class="p">;</span>
+<span class="n">UpdateAction</span><span class="p">.</span><span class="n">readExecute</span><span class="p">(</span>&quot;<span class="n">update</span><span class="p">.</span><span class="n">ru</span>&quot;<span class="p">,</span> <span class="n">graphStore</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>To execute a SPARQL Update request as a string:</p>
-<div class="codehilite"><pre><span class="n">Dataset</span> <span class="n">ds</span> <span class="o">=</span> <span class="o">...</span>
-<span class="n">GraphStore</span> <span class="n">graphStore</span> <span class="o">=</span> <span class="n">GraphStoreFactory</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">ds</span><span class="p">)</span> <span class="p">;</span>
-<span class="n">UpdateAction</span><span class="o">.</span><span class="n">parseExecute</span><span class="p">((</span><span class="s">&quot;DROP ALL&quot;</span><span class="p">,</span> <span class="n">graphStore</span><span class="p">)</span> <span class="p">;</span>
+<div class="codehilite"><pre><span class="n">Dataset</span> <span class="n">ds</span> <span class="p">=</span> <span class="p">...</span>
+<span class="n">GraphStore</span> <span class="n">graphStore</span> <span class="p">=</span> <span class="n">GraphStoreFactory</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">ds</span><span class="p">)</span> <span class="p">;</span>
+<span class="n">UpdateAction</span><span class="p">.</span><span class="n">parseExecute</span><span class="p">((</span>&quot;<span class="n">DROP</span> <span class="n">ALL</span>&quot;<span class="p">,</span> <span class="n">graphStore</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>The application writer can create and execute operations:</p>
-<div class="codehilite"><pre><span class="n">UpdateRequest</span> <span class="n">request</span> <span class="o">=</span> <span class="n">UpdateFactory</span><span class="o">.</span><span class="n">create</span><span class="p">()</span> <span class="p">;</span>
-<span class="n">request</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&quot;DROP ALL&quot;</span><span class="p">)</span>
-       <span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&quot;CREATE GRAPH &lt;http://example/g2&gt;&quot;</span><span class="p">)</span>
-       <span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&quot;LOAD &lt;file:etc/update-data.ttl&gt; INTO &lt;http://example/g2&gt;&quot;</span><span class="p">)</span> <span class="p">;</span>
+<div class="codehilite"><pre><span class="n">UpdateRequest</span> <span class="n">request</span> <span class="p">=</span> <span class="n">UpdateFactory</span><span class="p">.</span><span class="n">create</span><span class="p">()</span> <span class="p">;</span>
+<span class="n">request</span><span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span class="n">DROP</span> <span class="n">ALL</span>&quot;<span class="p">)</span>
+       <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span class="n">CREATE</span> <span class="n">GRAPH</span> <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">example</span><span class="o">/</span><span class="n">g2</span><span class="o">&gt;</span>&quot;<span class="p">)</span>
+       <span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span class="n">LOAD</span> <span class="o">&lt;</span><span class="n">file</span><span class="p">:</span><span class="n">etc</span><span class="o">/</span><span class="n">update</span><span class="o">-</span><span class="n">data</span><span class="p">.</span><span class="n">ttl</span><span class="o">&gt;</span> <span class="n">INTO</span> <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">example</span><span class="o">/</span><span class="n">g2</span><span class="o">&gt;</span>&quot;<span class="p">)</span> <span class="p">;</span>
 
-<span class="sr">//</span> <span class="n">And</span> <span class="n">perform</span> <span class="n">the</span> <span class="n">operations</span><span class="o">.</span>
-<span class="n">UpdateAction</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="n">graphStore</span><span class="p">)</span> <span class="p">;</span>
+<span class="o">//</span> <span class="n">And</span> <span class="n">perform</span> <span class="n">the</span> <span class="n">operations</span><span class="p">.</span>
+<span class="n">UpdateAction</span><span class="p">.</span><span class="n">execute</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="n">graphStore</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/writing_functions.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/writing_functions.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/writing_functions.html Thu Jun 20 10:18:34 2013
@@ -191,9 +191,9 @@ variables; this would be done in a
 <div class="codehilite"><pre><span class="n">public</span> <span class="n">class</span> <span class="n">max</span> <span class="n">extends</span> <span class="n">FunctionBase2</span>
 <span class="p">{</span>
     <span class="n">public</span> <span class="n">max</span><span class="p">()</span> <span class="p">{</span> <span class="n">super</span><span class="p">()</span> <span class="p">;</span> <span class="p">}</span>
-    <span class="n">public</span> <span class="n">NodeValue</span> <span class="nb">exec</span><span class="p">(</span><span class="n">NodeValue</span> <span class="n">nv1</span><span class="p">,</span> <span class="n">NodeValue</span> <span class="n">nv2</span><span class="p">)</span>
+    <span class="n">public</span> <span class="n">NodeValue</span> <span class="n">exec</span><span class="p">(</span><span class="n">NodeValue</span> <span class="n">nv1</span><span class="p">,</span> <span class="n">NodeValue</span> <span class="n">nv2</span><span class="p">)</span>
     <span class="p">{</span>
-        <span class="k">return</span> <span class="n">Functions</span><span class="o">.</span><span class="n">max</span><span class="p">(</span><span class="n">nv1</span><span class="p">,</span> <span class="n">nv2</span><span class="p">)</span> <span class="p">;</span>
+        <span class="k">return</span> <span class="n">Functions</span><span class="p">.</span><span class="n">max</span><span class="p">(</span><span class="n">nv1</span><span class="p">,</span> <span class="n">nv2</span><span class="p">)</span> <span class="p">;</span>
     <span class="p">}</span>
 <span class="p">}</span>
 </pre></div>
@@ -218,13 +218,13 @@ Jena operation for the actual work):</p>
 <span class="p">{</span>
     <span class="n">public</span> <span class="n">namespace</span><span class="p">()</span> <span class="p">{</span> <span class="n">super</span><span class="p">()</span> <span class="p">;</span> <span class="p">}</span>
 
-    <span class="n">public</span> <span class="n">NodeValue</span> <span class="nb">exec</span><span class="p">(</span><span class="n">NodeValue</span> <span class="n">v</span><span class="p">)</span>
+    <span class="n">public</span> <span class="n">NodeValue</span> <span class="n">exec</span><span class="p">(</span><span class="n">NodeValue</span> <span class="n">v</span><span class="p">)</span>
     <span class="p">{</span>
-        <span class="n">Node</span> <span class="n">n</span> <span class="o">=</span> <span class="n">v</span><span class="o">.</span><span class="n">asNode</span><span class="p">()</span> <span class="p">;</span>
-        <span class="k">if</span> <span class="p">(</span> <span class="o">!</span> <span class="n">n</span><span class="o">.</span><span class="n">isURI</span><span class="p">()</span> <span class="p">)</span>
-            <span class="n">throw</span> <span class="k">new</span> <span class="n">ExprEvalException</span><span class="p">(</span><span class="s">&quot;Not a URI: &quot;</span><span class="o">+</span><span class="n">FmtUtils</span><span class="o">.</span><span class="n">stringForNode</span><span class="p">(</span><span class="n">n</span><span class="p">))</span> <span class="p">;</span>
-        <span class="n">String</span> <span class="n">str</span> <span class="o">=</span> <span class="n">n</span><span class="o">.</span><span class="n">getNameSpace</span><span class="p">()</span> <span class="p">;</span>
-        <span class="k">return</span> <span class="n">NodeValue</span><span class="o">.</span><span class="n">makeString</span><span class="p">(</span><span class="n">str</span><span class="p">)</span> <span class="p">;</span>
+        <span class="n">Node</span> <span class="n">n</span> <span class="p">=</span> <span class="n">v</span><span class="p">.</span><span class="n">asNode</span><span class="p">()</span> <span class="p">;</span>
+        <span class="k">if</span> <span class="p">(</span> ! <span class="n">n</span><span class="p">.</span><span class="n">isURI</span><span class="p">()</span> <span class="p">)</span>
+            <span class="n">throw</span> <span class="n">new</span> <span class="n">ExprEvalException</span><span class="p">(</span>&quot;<span class="n">Not</span> <span class="n">a</span> <span class="n">URI</span><span class="p">:</span> &quot;<span class="o">+</span><span class="n">FmtUtils</span><span class="p">.</span><span class="n">stringForNode</span><span class="p">(</span><span class="n">n</span><span class="p">))</span> <span class="p">;</span>
+        <span class="n">String</span> <span class="n">str</span> <span class="p">=</span> <span class="n">n</span><span class="p">.</span><span class="n">getNameSpace</span><span class="p">()</span> <span class="p">;</span>
+        <span class="k">return</span> <span class="n">NodeValue</span><span class="p">.</span><span class="n">makeString</span><span class="p">(</span><span class="n">str</span><span class="p">)</span> <span class="p">;</span>
     <span class="p">}</span>
 <span class="p">}</span>
 </pre></div>
@@ -241,8 +241,8 @@ execution can have it's own function reg
 <p>For each function, there is a function factory associated with the
 URI. A new function instance is created for each use of a function
 in each query execution.</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">Register</span> <span class="n">with</span> <span class="n">the</span> <span class="n">global</span> <span class="n">registry</span><span class="o">.</span>
-<span class="n">FunctionRegistry</span><span class="o">.</span><span class="n">get</span><span class="p">()</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;http://example.org/function#myFunction&quot;</span><span class="p">,</span> <span class="k">new</span> <span class="n">MyFunctionFactory</span><span class="p">())</span> <span class="p">;</span>
+<div class="codehilite"><pre><span class="c1">// Register with the global registry.</span>
+<span class="n">FunctionRegistry</span><span class="p">.</span><span class="n">get</span><span class="p">().</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;http://example.org/function#myFunction&quot;</span><span class="p">,</span> <span class="k">new</span> <span class="n">MyFunctionFactory</span><span class="p">())</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -250,8 +250,8 @@ in each query execution.</p>
 implementation so there is an addition method that takes a class,
 wraps in a built-in function factory and registers the function
 implementation.</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">Register</span> <span class="n">with</span> <span class="n">the</span> <span class="n">global</span> <span class="n">registry</span><span class="o">.</span>
-<span class="n">FunctionRegistry</span><span class="o">.</span><span class="n">get</span><span class="p">()</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;http://example.org/function#myFunction&quot;</span><span class="p">,</span> <span class="n">MyFunction</span><span class="o">.</span><span class="n">class</span><span class="p">)</span> <span class="p">;</span>
+<div class="codehilite"><pre><span class="c1">// Register with the global registry.</span>
+<span class="n">FunctionRegistry</span><span class="p">.</span><span class="n">get</span><span class="p">().</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;http://example.org/function#myFunction&quot;</span><span class="p">,</span> <span class="n">MyFunction</span><span class="p">.</span><span class="k">class</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -262,12 +262,12 @@ URI gives the class name. There is autom
 wrapper into the function registry. This way, no explicit
 registration step is needed by the application and queries issues
 with the command line tools can load custom functions.</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">f:</span> <span class="sr">&lt;java:app.myFunctions.&gt;</span>
-<span class="o">...</span>
-   <span class="n">FILTER</span> <span class="n">f:myTest</span><span class="p">(?</span><span class="n">x</span><span class="p">,</span> <span class="p">?</span><span class="n">y</span><span class="p">)</span>
-<span class="o">...</span>
-   <span class="n">FILTER</span> <span class="p">(?</span><span class="n">x</span> <span class="o">+</span> <span class="n">f:myIntToXSD</span><span class="p">(?</span><span class="n">y</span><span class="p">))</span>
-<span class="o">...</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">f</span><span class="p">:</span> <span class="o">&lt;</span><span class="n">java</span><span class="p">:</span><span class="n">app</span><span class="p">.</span><span class="n">myFunctions</span><span class="p">.</span><span class="o">&gt;</span>
+<span class="p">...</span>
+   <span class="n">FILTER</span> <span class="n">f</span><span class="p">:</span><span class="n">myTest</span><span class="p">(</span>?<span class="n">x</span><span class="p">,</span> ?<span class="n">y</span><span class="p">)</span>
+<span class="p">...</span>
+   <span class="n">FILTER</span> <span class="p">(</span>?<span class="n">x</span> <span class="o">+</span> <span class="n">f</span><span class="p">:</span><span class="n">myIntToXSD</span><span class="p">(</span>?<span class="n">y</span><span class="p">))</span>
+<span class="p">...</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/rdf/index.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/rdf/index.html (original)
+++ websites/staging/jena/trunk/content/documentation/rdf/index.html Thu Jun 20 10:18:34 2013
@@ -165,7 +165,7 @@ contained in a data structure called a <
 <em>RDF graph</em>, so called because it contains a collection of <em>RDF nodes</em>,
 attached to each other by labelled relations. Each relationship goes
 only in one direction, so the triple:</p>
-<div class="codehilite"><pre><span class="err">example:ijd</span> <span class="err">foaf:name</span> <span class="err">&quot;Ian&quot;</span>
+<div class="codehilite"><pre><span class="n">example</span><span class="o">:</span><span class="n">ijd</span> <span class="n">foaf</span><span class="o">:</span><span class="n">name</span> <span class="s2">&quot;Ian&quot;</span>
 </pre></div>
 
 
@@ -225,8 +225,8 @@ as nodes in a graph, the common interfac
 <h3 id="triples">Triples</h3>
 <p>In an RDF graph, the relationships always connect one subject resource to one other resource or
 one literal. For example:</p>
-<div class="codehilite"><pre><span class="err">example:ijd</span> <span class="err">foaf:firstName</span> <span class="err">&quot;Ian&quot;.</span>
-<span class="err">example:ijd</span> <span class="err">foaf:knows</span> <span class="err">example:mary.</span>
+<div class="codehilite"><pre><span class="n">example</span><span class="o">:</span><span class="n">ijd</span> <span class="n">foaf</span><span class="o">:</span><span class="n">firstName</span> <span class="s2">&quot;Ian&quot;</span><span class="o">.</span>
+<span class="n">example</span><span class="o">:</span><span class="n">ijd</span> <span class="n">foaf</span><span class="o">:</span><span class="n">knows</span> <span class="n">example</span><span class="o">:</span><span class="n">mary</span><span class="o">.</span>
 </pre></div>
 
 
@@ -268,8 +268,8 @@ distinction.</p>
 <p>Fortunately, RDF specifies that a property is identified by a URI, and 'price' on its own is not a URI.
 A logical solution is for both Acme and Emca to use their own web spaces to provide different
 base URIs on which to construct the URI for the property:</p>
-<div class="codehilite"><pre><span class="n">http:</span><span class="sr">//</span><span class="n">acme</span><span class="o">.</span><span class="n">example</span><span class="sr">/schema/</span><span class="n">products</span><span class="c1">#price</span>
-<span class="n">http:</span><span class="sr">//</span><span class="n">emca</span><span class="o">.</span><span class="n">example</span><span class="sr">/ontology/c</span><span class="n">atalogue</span><span class="o">/</span><span class="n">price</span>
+<div class="codehilite"><pre><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">acme</span><span class="p">.</span><span class="n">example</span><span class="o">/</span><span class="n">schema</span><span class="o">/</span><span class="n">products</span>#<span class="n">price</span>
+<span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">emca</span><span class="p">.</span><span class="n">example</span><span class="o">/</span><span class="n">ontology</span><span class="o">/</span><span class="n">catalogue</span><span class="o">/</span><span class="n">price</span>
 </pre></div>
 
 
@@ -277,16 +277,16 @@ base URIs on which to construct the URI 
 price property without interfering with the other. Writing out such long strings each time, however,
 can be unwieldy and a source of error. A <em>compact URI</em> or <a href="http://www.w3.org/TR/curie/"><em>curie</em></a>
 is an abbreviated form in which a namespace and name are separated by a colon character:</p>
-<div class="codehilite"><pre><span class="n">acme</span><span class="o">-</span><span class="n">product:price</span>
-<span class="n">emca</span><span class="o">-</span><span class="n">catalogue:price</span>
+<div class="codehilite"><pre><span class="n">acme</span><span class="o">-</span><span class="n">product</span><span class="p">:</span><span class="n">price</span>
+<span class="n">emca</span><span class="o">-</span><span class="n">catalogue</span><span class="p">:</span><span class="n">price</span>
 </pre></div>
 
 
 <p>where <code>acme-product</code> is defined to be <code>http://acme.example/schema/products#</code>. This can be defined,
 for example, in Turtle:</p>
-<div class="codehilite"><pre><span class="nv">@prefix</span> <span class="n">acme</span><span class="o">-</span><span class="n">product:</span> <span class="sr">&lt;http://acme.example/schema/products#&gt;</span><span class="o">.</span>
+<div class="codehilite"><pre><span class="p">@</span><span class="n">prefix</span> <span class="n">acme</span><span class="o">-</span><span class="n">product</span><span class="p">:</span> <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">acme</span><span class="p">.</span><span class="n">example</span><span class="o">/</span><span class="n">schema</span><span class="o">/</span><span class="n">products</span>#<span class="o">&gt;</span><span class="p">.</span>
 
-<span class="n">acme</span><span class="o">-</span><span class="n">product:widget</span> <span class="n">acme</span><span class="o">-</span><span class="n">product:price</span> <span class="s">&quot;44.99&quot;</span><span class="o">^^</span><span class="n">xsd:decimal</span><span class="o">.</span>
+<span class="n">acme</span><span class="o">-</span><span class="n">product</span><span class="p">:</span><span class="n">widget</span> <span class="n">acme</span><span class="o">-</span><span class="n">product</span><span class="p">:</span><span class="n">price</span> &quot;44<span class="p">.</span>99&quot;^^<span class="n">xsd</span><span class="p">:</span><span class="n">decimal</span><span class="p">.</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/commands.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/commands.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/commands.html Thu Jun 20 10:18:34 2013
@@ -201,16 +201,16 @@ file, use the classpath syntax for your 
 the system property <code>jdbc.drivers</code>.</p>
 <p>Set the environment variables <code>SDB_USER</code> and <code>SDB_PASSWORD</code> to the
 database user name and password for JDBC.</p>
-<div class="codehilite"><pre> <span class="nv">$</span> <span class="nv">export</span> <span class="n">SDBROOT</span><span class="o">=</span><span class="s">&quot;/path/to/sdb</span>
-<span class="s"> $ export SDB_USER=&quot;</span><span class="n">YourDbUserName</span><span class="s">&quot;</span>
-<span class="s"> $ export SDB_PASSWORD=&quot;</span><span class="n">YourDbPassword</span><span class="s">&quot;</span>
-<span class="s"> $ export SDB_JDBC=&quot;</span><span class="sr">/path/</span><span class="n">to</span><span class="o">/</span><span class="n">driver</span><span class="o">.</span><span class="n">jar</span><span class="err">&quot;</span>
+<div class="codehilite"><pre> $ <span class="n">export</span> <span class="n">SDBROOT</span><span class="p">=</span>&quot;<span class="o">/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">sdb</span>
+ $ <span class="n">export</span> <span class="n">SDB_USER</span><span class="p">=</span>&quot;<span class="n">YourDbUserName</span>&quot;
+ $ <span class="n">export</span> <span class="n">SDB_PASSWORD</span><span class="p">=</span>&quot;<span class="n">YourDbPassword</span>&quot;
+ $ <span class="n">export</span> <span class="n">SDB_JDBC</span><span class="p">=</span>&quot;<span class="o">/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">driver</span><span class="p">.</span><span class="n">jar</span>&quot;
 </pre></div>
 
 
 <p>They are bash scripts, and work on Linux and Cygwin for MS
 Windows.</p>
-<div class="codehilite"><pre> <span class="nv">$</span> <span class="nv">export</span> <span class="n">PATH</span><span class="o">=</span><span class="nv">$SDBROOT</span><span class="o">/</span><span class="n">bin:</span><span class="nv">$PATH</span>
+<div class="codehilite"><pre> $ <span class="n">export</span> <span class="n">PATH</span><span class="p">=</span>$<span class="n">SDBROOT</span><span class="o">/</span><span class="n">bin</span><span class="p">:</span>$<span class="n">PATH</span>
 </pre></div>
 
 
@@ -226,7 +226,7 @@ composed of several arguments as describ
 <p>All commands support <code>--help</code> to give details of named and
 positional arguments.</p>
 <p>There are two equivalent forms of named argument syntax:</p>
-<div class="codehilite"><pre><span class="o">--</span><span class="n">arg</span><span class="o">=</span><span class="n">val</span>
+<div class="codehilite"><pre><span class="o">--</span><span class="n">arg</span><span class="p">=</span><span class="n">val</span>
 
 <span class="o">--</span><span class="n">arg</span> <span class="n">val</span>
 </pre></div>
@@ -235,7 +235,7 @@ positional arguments.</p>
 <h2 id="store-description">Store Description</h2>
 <p>If this is not specified, commands load the description file
 sdb.ttl from the current directory.</p>
-<div class="codehilite"><pre> <span class="o">--</span><span class="n">sdb</span><span class="o">=</span><span class="sr">&lt;sdb.ttl&gt;</span>
+<div class="codehilite"><pre> <span class="o">--</span><span class="n">sdb</span><span class="p">=</span><span class="o">&lt;</span><span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span><span class="o">&gt;</span>
 </pre></div>
 
 
@@ -257,18 +257,18 @@ read, then any command line arguments us
 description, then the appropriate object is created from the
 modified description.</p>
 <p>Set the layout type:</p>
-<div class="codehilite"><pre> <span class="o">--</span><span class="n">layout</span><span class="err"> </span><span class="p">:</span> <span class="n">layout</span> <span class="n">name</span>
+<div class="codehilite"><pre> <span class="o">--</span><span class="n">layout</span> <span class="p">:</span> <span class="n">layout</span> <span class="n">name</span>
 </pre></div>
 
 
 <p>Currently, one of <code>layout1</code>, <code>layout2</code>, <code>layout2/index</code>,
 <code>layout2/hash</code>.</p>
 <p>Set JDBC details:</p>
-<div class="codehilite"><pre> <span class="o">--</span><span class="n">dbName</span><span class="err"> </span><span class="p">:</span> <span class="n">Database</span> <span class="n">Name</span>
- <span class="o">--</span><span class="n">dbHost</span><span class="err"> </span><span class="p">:</span> <span class="n">Host</span> <span class="n">machine</span> <span class="n">name</span>
- <span class="o">--</span><span class="n">dbType</span><span class="err"> </span><span class="p">:</span> <span class="n">Database</span> <span class="n">type</span><span class="o">.</span>
- <span class="o">--</span><span class="n">dbUser</span><span class="err"> </span><span class="p">:</span> <span class="n">Database</span> <span class="k">use</span>
- <span class="o">--</span><span class="n">dbPassword</span><span class="err"> </span><span class="p">:</span> <span class="n">Database</span> <span class="n">password</span><span class="o">.</span>
+<div class="codehilite"><pre> <span class="o">--</span><span class="n">dbName</span> <span class="p">:</span> <span class="n">Database</span> <span class="n">Name</span>
+ <span class="o">--</span><span class="n">dbHost</span> <span class="p">:</span> <span class="n">Host</span> <span class="n">machine</span> <span class="n">name</span>
+ <span class="o">--</span><span class="n">dbType</span> <span class="p">:</span> <span class="n">Database</span> <span class="n">type</span><span class="p">.</span>
+ <span class="o">--</span><span class="n">dbUser</span> <span class="p">:</span> <span class="n">Database</span> <span class="n">use</span>
+ <span class="o">--</span><span class="n">dbPassword</span> <span class="p">:</span> <span class="n">Database</span> <span class="n">password</span><span class="p">.</span>
 </pre></div>
 
 
@@ -284,7 +284,7 @@ nothing if they make no sense to the com
 
 
 <p>Be verbose.</p>
-<div class="codehilite"><pre> <span class="o">--</span><span class="nb">time</span>
+<div class="codehilite"><pre> <span class="o">--</span><span class="n">time</span>
 </pre></div>
 
 
@@ -293,7 +293,7 @@ recording JVM and some class loading tim
 loading. Hence, the values of timing are more meaningful on longer
 operations. JDBC operation times to a remote server can also be a
 significant proportion in short operations.</p>
-<div class="codehilite"><pre> <span class="o">--</span><span class="nb">log</span><span class="o">=</span><span class="p">[</span><span class="n">all</span><span class="o">|</span><span class="n">none</span><span class="o">|</span><span class="n">queries</span><span class="o">|</span><span class="n">statements</span><span class="o">|</span><span class="n">exceptions</span><span class="p">]</span>
+<div class="codehilite"><pre> <span class="o">--</span><span class="nb">log</span><span class="p">=[</span><span class="n">all</span><span class="o">|</span><span class="n">none</span><span class="o">|</span><span class="n">queries</span><span class="o">|</span><span class="n">statements</span><span class="o">|</span><span class="n">exceptions</span><span class="p">]</span>
 </pre></div>
 
 
@@ -302,7 +302,7 @@ statements used by the loader). Can be r
 line.</p>
 <h2 id="sdb-commands">SDB Commands</h2>
 <h3 id="database-creation">Database creation</h3>
-<div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="n">SPEC</span> <span class="p">[</span><span class="o">--</span><span class="n">create</span><span class="o">|--</span><span class="nb">format</span><span class="o">|--</span><span class="n">indexes</span><span class="o">|--</span><span class="n">dropIndexes</span><span class="p">]</span>
+<div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="n">SPEC</span> <span class="p">[</span><span class="o">--</span><span class="n">create</span><span class="o">|--</span><span class="n">format</span><span class="o">|--</span><span class="n">indexes</span><span class="o">|--</span><span class="n">dropIndexes</span><span class="p">]</span>
 </pre></div>
 
 
@@ -341,7 +341,7 @@ then building the query indexes with thi
 
 <p>Truncate the store. Non-transactional. Destroys data.</p>
 <h3 id="loading-data">Loading data</h3>
-<div class="codehilite"><pre> <span class="n">sdbload</span> <span class="n">SPEC</span> <span class="n">FILE</span> <span class="p">[</span><span class="n">FILE</span> <span class="o">...</span><span class="p">]</span>
+<div class="codehilite"><pre> <span class="n">sdbload</span> <span class="n">SPEC</span> <span class="n">FILE</span> <span class="p">[</span><span class="n">FILE</span> <span class="p">...]</span>
 </pre></div>
 
 
@@ -350,17 +350,17 @@ streamed into the database and is not lo
 transaction.</p>
 <p>The file's extension is used to determine the data syntax.</p>
 <p>To load into a named graph:</p>
-<div class="codehilite"><pre> <span class="n">sdbload</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">graph</span><span class="o">=</span><span class="n">URI</span> <span class="n">FILE</span> <span class="p">[</span><span class="n">FILE</span> <span class="o">...</span><span class="p">]</span>
+<div class="codehilite"><pre> <span class="n">sdbload</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">graph</span><span class="p">=</span><span class="n">URI</span> <span class="n">FILE</span> <span class="p">[</span><span class="n">FILE</span> <span class="p">...]</span>
 </pre></div>
 
 
 <h3 id="query">Query</h3>
-<div class="codehilite"><pre> <span class="n">sdbquery</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">query</span><span class="o">=</span><span class="n">FILE</span>
+<div class="codehilite"><pre> <span class="n">sdbquery</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">query</span><span class="p">=</span><span class="n">FILE</span>
 </pre></div>
 
 
 <p>Execute a query.</p>
-<div class="codehilite"><pre> <span class="n">sdbprint</span> <span class="n">SPEC</span> <span class="o">--</span><span class="k">print</span><span class="o">=</span><span class="n">X</span> <span class="p">[</span><span class="o">--</span><span class="n">sql</span><span class="p">]</span> <span class="o">--</span><span class="n">query</span><span class="o">=</span><span class="n">FILE</span>
+<div class="codehilite"><pre> <span class="n">sdbprint</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">print</span><span class="p">=</span><span class="n">X</span> <span class="p">[</span><span class="o">--</span><span class="n">sql</span><span class="p">]</span> <span class="o">--</span><span class="n">query</span><span class="p">=</span><span class="n">FILE</span>
 </pre></div>
 
 
@@ -376,7 +376,7 @@ transaction.</p>
 which will test connection and loading of data, is in
 <code>&lt;em&gt;SDBROOT&lt;/em&gt;/testing/manifest-sdb.ttl</code>.</p>
 <h3 id="other">Other</h3>
-<div class="codehilite"><pre> <span class="n">sdbdump</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">out</span><span class="o">=</span><span class="n">SYNTAX</span>
+<div class="codehilite"><pre> <span class="n">sdbdump</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">out</span><span class="p">=</span><span class="n">SYNTAX</span>
 </pre></div>
 
 
@@ -385,7 +385,7 @@ format (usual Jena syntax names, e.g. <c
 <p>Only suitable for data sizes that fit in memory. All output
 syntaxes that do some form of pretty printing will need additional
 space for their internal datastructures.</p>
-<div class="codehilite"><pre> <span class="n">sdbsql</span> <span class="n">SPEC</span> <span class="p">[</span> <span class="o">--</span><span class="n">file</span><span class="o">=</span><span class="n">FILE</span> <span class="o">|</span> <span class="n">SQL</span> <span class="n">string</span> <span class="p">]</span>
+<div class="codehilite"><pre> <span class="n">sdbsql</span> <span class="n">SPEC</span> <span class="p">[</span> <span class="o">--</span><span class="n">file</span><span class="p">=</span><span class="n">FILE</span> <span class="o">|</span> <span class="n">SQL</span> <span class="n">string</span> <span class="p">]</span>
 </pre></div>
 
 
@@ -397,7 +397,7 @@ file <code>FILE</code> or the command li
 
 
 <p>Details of a store.</p>
-<div class="codehilite"><pre> <span class="n">sdbmeta</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">out</span><span class="o">=</span><span class="n">SYNTAX</span>
+<div class="codehilite"><pre> <span class="n">sdbmeta</span> <span class="n">SPEC</span> <span class="o">--</span><span class="n">out</span><span class="p">=</span><span class="n">SYNTAX</span>
 </pre></div>
 
 
@@ -407,7 +407,7 @@ file <code>FILE</code> or the command li
 
 
 <p>Execute a script. Currently only JRuby is supported.</p>
-<div class="codehilite"><pre> <span class="n">sdbtuple</span> <span class="n">SPEC</span> <span class="p">[</span><span class="o">--</span><span class="n">create</span><span class="o">|--</span><span class="k">print</span><span class="o">|--</span><span class="n">drop</span><span class="o">|--</span><span class="nb">truncate</span><span class="p">]</span>  <span class="n">tableName</span>
+<div class="codehilite"><pre> <span class="n">sdbtuple</span> <span class="n">SPEC</span> <span class="p">[</span><span class="o">--</span><span class="n">create</span><span class="o">|--</span><span class="n">print</span><span class="o">|--</span><span class="n">drop</span><span class="o">|--</span><span class="n">truncate</span><span class="p">]</span>  <span class="n">tableName</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/configuration.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/configuration.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/configuration.html Thu Jun 20 10:18:34 2013
@@ -184,13 +184,13 @@ internal to ARQ and SDB and access via J
 any Java object, together with the values <code>true</code> and <code>false</code>, which
 are short for the constants of class <code>java.lang.Boolean</code>.</p>
 <p>Setting globally:</p>
-<div class="codehilite"><pre> <span class="n">SDB</span><span class="o">.</span><span class="n">getContext</span><span class="p">()</span><span class="o">.</span><span class="n">set</span><span class="p">(</span><span class="n">symbol</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre> <span class="n">SDB</span><span class="p">.</span><span class="n">getContext</span><span class="p">().</span><span class="n">set</span><span class="p">(</span><span class="n">symbol</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>Per query execution:</p>
-<div class="codehilite"><pre> <span class="n">QueryExecution</span> <span class="n">qExec</span> <span class="o">=</span> <span class="n">QueryExecutionFactory</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="o">...</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
- <span class="n">qExec</span><span class="o">.</span><span class="n">getContext</span><span class="o">.</span><span class="n">set</span><span class="p">(</span><span class="n">symbol</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre> <span class="n">QueryExecution</span> <span class="n">qExec</span> <span class="p">=</span> <span class="n">QueryExecutionFactory</span><span class="p">.</span><span class="n">create</span><span class="p">(...)</span> <span class="p">;</span>
+ <span class="n">qExec</span><span class="p">.</span><span class="n">getContext</span><span class="p">.</span><span class="n">set</span><span class="p">(</span><span class="n">symbol</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -276,7 +276,7 @@ also setting the Graph API to streaming.
 <p>SQL generation can include SQL comments to show how SPARQL has been
 turned into SQL. This option is <code>true</code> by default and always set
 for the command <code>sdbprint</code>.</p>
-<div class="codehilite"><pre><span class="n">SDB</span><span class="o">.</span><span class="n">getContext</span><span class="p">()</span><span class="o">.</span><span class="n">setFalse</span><span class="p">(</span><span class="n">SDB</span><span class="o">.</span><span class="n">annotateGeneratedSQL</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">SDB</span><span class="p">.</span><span class="n">getContext</span><span class="p">().</span><span class="n">setFalse</span><span class="p">(</span><span class="n">SDB</span><span class="p">.</span><span class="n">annotateGeneratedSQL</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
   </div>
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/dataset_description.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/dataset_description.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/dataset_description.html Thu Jun 20 10:18:34 2013
@@ -165,23 +165,23 @@ store to use (or use the default model).
 <h2 id="datatsets">Datatsets</h2>
 <p>The example below creates an in-memory store implemented by
 HSQLDB.</p>
-<div class="codehilite"><pre><span class="nv">@prefix</span> <span class="n">rdfs:</span>   <span class="sr">&lt;http://www.w3.org/2000/01/rdf-schema#&gt;</span> <span class="o">.</span>
-<span class="nv">@prefix</span> <span class="n">rdf:</span>    <span class="sr">&lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;</span> <span class="o">.</span>
-<span class="nv">@prefix</span> <span class="n">xsd:</span>    <span class="sr">&lt;http://www.w3.org/2001/XMLSchema#&gt;</span> <span class="o">.</span>
+<div class="codehilite"><pre><span class="p">@</span><span class="n">prefix</span> <span class="n">rdfs</span><span class="p">:</span>   <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">w3</span><span class="p">.</span><span class="n">org</span><span class="o">/</span>2000<span class="o">/</span>01<span class="o">/</span><span class="n">rdf</span><span class="o">-</span><span class="n">schema</span>#<span class="o">&gt;</span> <span class="p">.</span>
+<span class="p">@</span><span class="n">prefix</span> <span class="n">rdf</span><span class="p">:</span>    <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">w3</span><span class="p">.</span><span class="n">org</span><span class="o">/</span>1999<span class="o">/</span>02<span class="o">/</span>22<span class="o">-</span><span class="n">rdf</span><span class="o">-</span><span class="n">syntax</span><span class="o">-</span><span class="n">ns</span>#<span class="o">&gt;</span> <span class="p">.</span>
+<span class="p">@</span><span class="n">prefix</span> <span class="n">xsd</span><span class="p">:</span>    <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">w3</span><span class="p">.</span><span class="n">org</span><span class="o">/</span>2001<span class="o">/</span><span class="n">XMLSchema</span>#<span class="o">&gt;</span> <span class="p">.</span>
 
-<span class="nv">@prefix</span> <span class="n">ja:</span>     <span class="sr">&lt;http://jena.hpl.hp.com/2005/11/Assembler#&gt;</span> <span class="o">.</span>
-<span class="nv">@prefix</span> <span class="n">sdb:</span>    <span class="sr">&lt;http://jena.hpl.hp.com/2007/sdb#&gt;</span> <span class="o">.</span>
+<span class="p">@</span><span class="n">prefix</span> <span class="n">ja</span><span class="p">:</span>     <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">com</span><span class="o">/</span>2005<span class="o">/</span>11<span class="o">/</span><span class="n">Assembler</span>#<span class="o">&gt;</span> <span class="p">.</span>
+<span class="p">@</span><span class="n">prefix</span> <span class="n">sdb</span><span class="p">:</span>    <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">com</span><span class="o">/</span>2007<span class="o">/</span><span class="n">sdb</span>#<span class="o">&gt;</span> <span class="p">.</span>
 
-<span class="o">[]</span> <span class="n">ja:loadClass</span> <span class="s">&quot;com.hp.hpl.jena.sdb.SDB&quot;</span> <span class="o">.</span>
+<span class="p">[]</span> <span class="n">ja</span><span class="p">:</span><span class="n">loadClass</span> &quot;<span class="n">com</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">jena</span><span class="p">.</span><span class="n">sdb</span><span class="p">.</span><span class="n">SDB</span>&quot; <span class="p">.</span>
 
-<span class="n">sdb:DatasetStore</span> <span class="n">rdfs:subClassOf</span> <span class="n">ja:RDFDataset</span> <span class="o">.</span>
+<span class="n">sdb</span><span class="p">:</span><span class="n">DatasetStore</span> <span class="n">rdfs</span><span class="p">:</span><span class="n">subClassOf</span> <span class="n">ja</span><span class="p">:</span><span class="n">RDFDataset</span> <span class="p">.</span>
 
-<span class="sr">&lt;#dataset&gt;</span> <span class="n">rdf:type</span> <span class="n">sdb:DatasetStore</span><span class="err"> </span><span class="p">;</span>
-    <span class="n">sdb:store</span> <span class="sr">&lt;#store&gt;</span> <span class="o">.</span>
+<span class="o">&lt;</span>#<span class="n">dataset</span><span class="o">&gt;</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">DatasetStore</span> <span class="p">;</span>
+    <span class="n">sdb</span><span class="p">:</span><span class="n">store</span> <span class="o">&lt;</span>#<span class="n">store</span><span class="o">&gt;</span> <span class="p">.</span>
 
-<span class="sr">&lt;#store&gt;</span> <span class="n">rdf:type</span> <span class="n">sdb:Store</span><span class="err"> </span><span class="p">;</span>
-   <span class="o">...</span>
-   <span class="o">.</span>
+<span class="o">&lt;</span>#<span class="n">store</span><span class="o">&gt;</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">Store</span> <span class="p">;</span>
+   <span class="p">...</span>
+   <span class="p">.</span>
 </pre></div>
 
 
@@ -192,14 +192,14 @@ Java object is created.</p>
 <p>To assemble a particular model in a store, especially to work with
 at the API level rather than at the query level, the following can
 be added to an assembler description:</p>
-<div class="codehilite"><pre><span class="c1"># Default graph</span>
-<span class="sr">&lt;#myModel1&gt;</span> <span class="n">rdf:type</span> <span class="n">sdb:Model</span><span class="err"> </span><span class="p">;</span>
-    <span class="n">sdb:dataset</span> <span class="sr">&lt;#dataset&gt;</span> <span class="o">.</span>
-
-<span class="c1"># Named graph</span>
-<span class="sr">&lt;#myModel2&gt;</span> <span class="n">rdf:type</span> <span class="n">sdb:Model</span><span class="err"> </span><span class="p">;</span>
-    <span class="n">sdb:namedGraph</span>   <span class="n">data:graph1</span><span class="err"> </span><span class="p">;</span>
-    <span class="n">sdb:dataset</span> <span class="sr">&lt;#dataset&gt;</span> <span class="o">.</span>
+<div class="codehilite"><pre><span class="c"># Default graph</span>
+<span class="o">&lt;</span><span class="c">#myModel1&gt; rdf:type sdb:Model ;</span>
+    <span class="n">sdb</span><span class="p">:</span><span class="n">dataset</span> <span class="o">&lt;</span><span class="c">#dataset&gt; .</span>
+
+<span class="c"># Named graph</span>
+<span class="o">&lt;</span><span class="c">#myModel2&gt; rdf:type sdb:Model ;</span>
+    <span class="n">sdb</span><span class="p">:</span><span class="n">namedGraph</span>   <span class="n">data</span><span class="p">:</span><span class="n">graph1</span> <span class="p">;</span>
+    <span class="n">sdb</span><span class="p">:</span><span class="n">dataset</span> <span class="o">&lt;</span><span class="c">#dataset&gt; .</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/db_notes.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/db_notes.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/db_notes.html Thu Jun 20 10:18:34 2013
@@ -196,7 +196,7 @@ JDBC URL. The application will need to e
 in the
 <a href="store_description.html" title="SDB/Store Description">store configuration</a>
 file.</p>
-<div class="codehilite"><pre> <span class="o">...</span><span class="p">?</span><span class="n">useUnicode</span><span class="o">=</span><span class="n">true</span><span class="o">&amp;</span><span class="n">characterEncoding</span><span class="o">=</span><span class="n">UTF</span><span class="o">-</span><span class="mi">8</span>
+<div class="codehilite"><pre> <span class="p">...</span>?<span class="n">useUnicode</span><span class="p">=</span><span class="n">true</span><span class="o">&amp;</span><span class="n">characterEncoding</span><span class="p">=</span><span class="n">UTF</span><span class="o">-</span>8
 </pre></div>
 
 
@@ -227,10 +227,10 @@ of MySQL.</p>
 otherwise. The database will not pass the SDB test suite.</p>
 <p>Set this when creating the database with pgAdmin or if you use the
 command line, for example:</p>
-<div class="codehilite"><pre> <span class="n">CREATE</span> <span class="n">DATABASE</span> <span class="s">&quot;YourStoreName&quot;</span>
- <span class="n">WITH</span> <span class="n">OWNER</span> <span class="o">=</span> <span class="s">&quot;user&quot;</span>
-      <span class="n">ENCODING</span> <span class="o">=</span> <span class="s">&#39;UTF8&#39;</span>
-      <span class="n">TABLESPACE</span> <span class="o">=</span> <span class="n">pg_default</span><span class="p">;</span>
+<div class="codehilite"><pre> <span class="n">CREATE</span> <span class="n">DATABASE</span> &quot;<span class="n">YourStoreName</span>&quot;
+ <span class="n">WITH</span> <span class="n">OWNER</span> <span class="p">=</span> &quot;<span class="n">user</span>&quot;
+      <span class="n">ENCODING</span> <span class="p">=</span> <span class="s">&#39;UTF8&#39;</span>
+      <span class="n">TABLESPACE</span> <span class="p">=</span> <span class="n">pg_default</span><span class="p">;</span>
 </pre></div>
 
 
@@ -274,7 +274,7 @@ then load the whole data.</p>
 </ul>
 <p>the load rate starts to drop appreciably). The sample must be
 representative of the data.</p>
-<div class="codehilite"><pre> <span class="n">sdbload</span> <span class="o">--</span><span class="nb">time</span> <span class="n">sample</span>
+<div class="codehilite"><pre> <span class="n">sdbload</span> <span class="o">--</span><span class="n">time</span> <span class="n">sample</span>
 </pre></div>
 
 
@@ -290,7 +290,7 @@ representative of the data.</p>
 </li>
 </ul>
 <p>it because the load process suppresses duplicates.</p>
-<div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="o">--</span><span class="nb">truncate</span>
+<div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="o">--</span><span class="n">truncate</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/faq.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/faq.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/faq.html Thu Jun 20 10:18:34 2013
@@ -166,16 +166,16 @@ doing the load and then recreating the i
 faster.</p>
 <div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="o">--</span><span class="n">drop</span>
  <span class="n">sdbload</span> <span class="n">file</span>
- <span class="n">sdbconfig</span> <span class="o">--</span><span class="nb">index</span>
+ <span class="n">sdbconfig</span> <span class="o">--</span><span class="n">index</span>
 </pre></div>
 
 
 <p>For a large bulk load into an new store, just format it, and not
 create the indexes, do the load and then recreating the indexes can
 be noticeably faster.</p>
-<div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="o">--</span><span class="nb">format</span>
- <span class="n">sdbload</span> <span class="o">--</span><span class="nb">time</span> <span class="n">file</span>
- <span class="n">sdbconfig</span> <span class="o">--</span><span class="nb">index</span>
+<div class="codehilite"><pre> <span class="n">sdbconfig</span> <span class="o">--</span><span class="n">format</span>
+ <span class="n">sdbload</span> <span class="o">--</span><span class="n">time</span> <span class="n">file</span>
+ <span class="n">sdbconfig</span> <span class="o">--</span><span class="n">index</span>
 </pre></div>
   </div>
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html Thu Jun 20 10:18:34 2013
@@ -162,28 +162,28 @@ give a SPARQL interface to an SDB instal
 <p>The Fuseki server needs the SDB jar files on its classpath. The
 Fuseki configuration file needs to contain two triples to integrate
 SDB:</p>
-<div class="codehilite"><pre><span class="c1">## Initialize SDB.</span>
-<span class="o">[]</span> <span class="n">ja:loadClass</span> <span class="s">&quot;com.hp.hpl.jena.sdb.SDB&quot;</span> <span class="o">.</span>
+<div class="codehilite"><pre><span class="c">## Initialize SDB.</span>
+<span class="p">[]</span> <span class="n">ja</span><span class="p">:</span><span class="n">loadClass</span> <span class="s">&quot;com.hp.hpl.jena.sdb.SDB&quot;</span> <span class="p">.</span>
 
-<span class="c1">## Declare that sdb:DatasetStore is an implementation of ja:RDFDataset .</span>
-<span class="n">sdb:DatasetStore</span> <span class="n">rdfs:subClassOf</span> <span class="n">ja:RDFDataset</span> <span class="o">.</span>
+<span class="c">## Declare that sdb:DatasetStore is an implementation of ja:RDFDataset .</span>
+<span class="n">sdb</span><span class="p">:</span><span class="n">DatasetStore</span> <span class="n">rdfs</span><span class="p">:</span><span class="n">subClassOf</span> <span class="n">ja</span><span class="p">:</span><span class="n">RDFDataset</span> <span class="p">.</span>
 </pre></div>
 
 
 <p>then a Fuseki service can use an SBD-implemented dataset:</p>
-<div class="codehilite"><pre><span class="sr">&lt;#books&gt;</span> <span class="n">rdf:type</span> <span class="n">sdb:DatasetStore</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">sdb:store</span> <span class="sr">&lt;#store&gt;</span> <span class="o">.</span>
+<div class="codehilite"><pre><span class="o">&lt;</span>#<span class="n">books</span><span class="o">&gt;</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">DatasetStore</span> <span class="p">;</span>
+   <span class="n">sdb</span><span class="p">:</span><span class="n">store</span> <span class="o">&lt;</span>#<span class="n">store</span><span class="o">&gt;</span> <span class="p">.</span>
 
- <span class="sr">&lt;#store&gt;</span> <span class="n">rdf:type</span> <span class="n">sdb:Store</span> <span class="err"> </span><span class="p">;</span>
-   <span class="n">rdfs:label</span> <span class="s">&quot;SDB&quot;</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">sdb:layout</span>         <span class="s">&quot;layout2&quot;</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">sdb:connection</span>
-    <span class="p">[</span>  <span class="n">rdf:type</span> <span class="n">sdb:SDBConnection</span><span class="err"> </span><span class="p">;</span>
-       <span class="n">sdb:sdbType</span>        <span class="s">&quot;postgresql&quot;</span><span class="err"> </span><span class="p">;</span>
-       <span class="n">sdb:sdbHost</span>        <span class="s">&quot;localhost&quot;</span><span class="err"> </span><span class="p">;</span>
-       <span class="n">sdb:sdbName</span>        <span class="s">&quot;SDB&quot;</span><span class="err"> </span><span class="p">;</span>
+ <span class="o">&lt;</span>#<span class="n">store</span><span class="o">&gt;</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">Store</span>  <span class="p">;</span>
+   <span class="n">rdfs</span><span class="p">:</span><span class="n">label</span> &quot;<span class="n">SDB</span>&quot; <span class="p">;</span>
+   <span class="n">sdb</span><span class="p">:</span><span class="n">layout</span>         &quot;<span class="n">layout2</span>&quot; <span class="p">;</span>
+   <span class="n">sdb</span><span class="p">:</span><span class="n">connection</span>
+    <span class="p">[</span>  <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">SDBConnection</span> <span class="p">;</span>
+       <span class="n">sdb</span><span class="p">:</span><span class="n">sdbType</span>        &quot;<span class="n">postgresql</span>&quot; <span class="p">;</span>
+       <span class="n">sdb</span><span class="p">:</span><span class="n">sdbHost</span>        &quot;<span class="n">localhost</span>&quot; <span class="p">;</span>
+       <span class="n">sdb</span><span class="p">:</span><span class="n">sdbName</span>        &quot;<span class="n">SDB</span>&quot; <span class="p">;</span>
     <span class="p">]</span>
-    <span class="o">.</span>
+    <span class="p">.</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/installation.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/installation.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/installation.html Thu Jun 20 10:18:34 2013
@@ -177,12 +177,12 @@ the build and classpath of your applicat
 <a href="commands.html" title="SDB/Commands">scripts page</a> including setting
 environment variables <code>SDBROOT</code>, <code>SDB_USER</code>, <code>SDB_PASSWORD</code> and
 <code>SDB_JDBC</code>.</p>
-<div class="codehilite"><pre> <span class="n">bin</span><span class="o">/</span><span class="n">sdbconfig</span> <span class="o">--</span><span class="n">sdb</span><span class="o">=</span><span class="n">sdb</span><span class="o">.</span><span class="n">ttl</span> <span class="o">--</span><span class="n">create</span>
+<div class="codehilite"><pre> <span class="n">bin</span><span class="o">/</span><span class="n">sdbconfig</span> <span class="o">--</span><span class="n">sdb</span><span class="p">=</span><span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span> <span class="o">--</span><span class="n">create</span>
 </pre></div>
 
 
 <p>and run the test suite:</p>
-<div class="codehilite"><pre> <span class="n">bin</span><span class="sr">/sdbtest --sdb=sdb.ttl testing/m</span><span class="n">anifest</span><span class="o">-</span><span class="n">sdb</span><span class="o">.</span><span class="n">ttl</span>
+<div class="codehilite"><pre> <span class="n">bin</span><span class="o">/</span><span class="n">sdbtest</span> <span class="o">--</span><span class="n">sdb</span><span class="p">=</span><span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span> <span class="n">testing</span><span class="o">/</span><span class="n">manifest</span><span class="o">-</span><span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span>
 </pre></div>
   </div>
 

Modified: websites/staging/jena/trunk/content/documentation/sdb/javaapi.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/javaapi.html (original)
+++ websites/staging/jena/trunk/content/documentation/sdb/javaapi.html Thu Jun 20 10:18:34 2013
@@ -221,27 +221,27 @@ different databases (e.g. testing and pr
 configuration file, and not the code, which would require
 recompilation and a rebuild.</p>
 <p>To create a <code>Store</code> from a store assembler</p>
-<div class="codehilite"><pre>  <span class="n">Store</span> <span class="n">store</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">connectStore</span><span class="p">(</span><span class="s">&quot;sdb.ttl&quot;</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>  <span class="n">Store</span> <span class="n">store</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">connectStore</span><span class="p">(</span>&quot;<span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span>&quot;<span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>The assembler file has two parts, the connection details and the
 store type.</p>
-<div class="codehilite"><pre> <span class="nv">@prefix</span> <span class="n">rdfs:</span>     <span class="sr">&lt;http://www.w3.org/2000/01/rdf-schema#&gt;</span> <span class="o">.</span>
- <span class="nv">@prefix</span> <span class="n">rdf:</span>      <span class="sr">&lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;</span> <span class="o">.</span>
- <span class="nv">@prefix</span> <span class="n">ja:</span>       <span class="sr">&lt;http://jena.hpl.hp.com/2005/11/Assembler#&gt;</span> <span class="o">.</span>
- <span class="nv">@prefix</span> <span class="n">sdb:</span>      <span class="sr">&lt;http://jena.hpl.hp.com/2007/sdb#&gt;</span> <span class="o">.</span>
-
- <span class="n">_:c</span> <span class="n">rdf:type</span> <span class="n">sdb:SDBConnection</span><span class="err"> </span><span class="p">;</span>
-     <span class="n">sdb:sdbType</span>        <span class="s">&quot;derby&quot;</span><span class="err"> </span><span class="p">;</span>
-     <span class="n">sdb:sdbName</span>        <span class="s">&quot;DB/SDB2&quot;</span><span class="err"> </span><span class="p">;</span>
-     <span class="n">sdb:driver</span>         <span class="s">&quot;org.apache.derby.jdbc.EmbeddedDriver&quot;</span><span class="err"> </span><span class="p">;</span>
-     <span class="o">.</span>
-
- <span class="o">[]</span> <span class="n">rdf:type</span> <span class="n">sdb:Store</span><span class="err"> </span><span class="p">;</span>
-     <span class="n">sdb:layout</span>         <span class="s">&quot;layout2&quot;</span><span class="err"> </span><span class="p">;</span>
-     <span class="n">sdb:connection</span>     <span class="n">_:c</span><span class="err"> </span><span class="p">;</span>
-    <span class="o">.</span>
+<div class="codehilite"><pre> <span class="p">@</span><span class="n">prefix</span> <span class="n">rdfs</span><span class="p">:</span>     <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">w3</span><span class="p">.</span><span class="n">org</span><span class="o">/</span>2000<span class="o">/</span>01<span class="o">/</span><span class="n">rdf</span><span class="o">-</span><span class="n">schema</span>#<span class="o">&gt;</span> <span class="p">.</span>
+ <span class="p">@</span><span class="n">prefix</span> <span class="n">rdf</span><span class="p">:</span>      <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">w3</span><span class="p">.</span><span class="n">org</span><span class="o">/</span>1999<span class="o">/</span>02<span class="o">/</span>22<span class="o">-</span><span class="n">rdf</span><span class="o">-</span><span class="n">syntax</span><span class="o">-</span><span class="n">ns</span>#<span class="o">&gt;</span> <span class="p">.</span>
+ <span class="p">@</span><span class="n">prefix</span> <span class="n">ja</span><span class="p">:</span>       <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">com</span><span class="o">/</span>2005<span class="o">/</span>11<span class="o">/</span><span class="n">Assembler</span>#<span class="o">&gt;</span> <span class="p">.</span>
+ <span class="p">@</span><span class="n">prefix</span> <span class="n">sdb</span><span class="p">:</span>      <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">com</span><span class="o">/</span>2007<span class="o">/</span><span class="n">sdb</span>#<span class="o">&gt;</span> <span class="p">.</span>
+
+ <span class="n">_</span><span class="p">:</span><span class="n">c</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">SDBConnection</span> <span class="p">;</span>
+     <span class="n">sdb</span><span class="p">:</span><span class="n">sdbType</span>        &quot;<span class="n">derby</span>&quot; <span class="p">;</span>
+     <span class="n">sdb</span><span class="p">:</span><span class="n">sdbName</span>        &quot;<span class="n">DB</span><span class="o">/</span><span class="n">SDB2</span>&quot; <span class="p">;</span>
+     <span class="n">sdb</span><span class="p">:</span><span class="n">driver</span>         &quot;<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">derby</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">EmbeddedDriver</span>&quot; <span class="p">;</span>
+     <span class="p">.</span>
+
+ <span class="p">[]</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">sdb</span><span class="p">:</span><span class="n">Store</span> <span class="p">;</span>
+     <span class="n">sdb</span><span class="p">:</span><span class="n">layout</span>         &quot;<span class="n">layout2</span>&quot; <span class="p">;</span>
+     <span class="n">sdb</span><span class="p">:</span><span class="n">connection</span>     <span class="n">_</span><span class="p">:</span><span class="n">c</span> <span class="p">;</span>
+    <span class="p">.</span>
 </pre></div>
 
 
@@ -251,12 +251,12 @@ for the options.</p>
 <h3 id="in-java-code">In Java code</h3>
 <p>The less flexible way to create a store description is to build it
 in Java. For example:</p>
-<div class="codehilite"><pre>   <span class="n">StoreDesc</span> <span class="n">storeDesc</span> <span class="o">=</span> <span class="k">new</span> <span class="n">StoreDesc</span><span class="p">(</span><span class="n">LayoutType</span><span class="o">.</span><span class="n">LayoutTripleNodesHash</span><span class="p">,</span>
-                                       <span class="n">DatabaseType</span><span class="o">.</span><span class="n">Derby</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">JDBC</span><span class="o">.</span><span class="n">loadDriverDerby</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">String</span> <span class="n">jdbcURL</span> <span class="o">=</span> <span class="s">&quot;jdbc:derby:DB/SDB2&quot;</span><span class="p">;</span>
-   <span class="n">SDBConnection</span> <span class="n">conn</span> <span class="o">=</span> <span class="k">new</span> <span class="n">SDBConnection</span><span class="p">(</span><span class="n">jdbcURL</span><span class="p">,</span> <span class="n">null</span><span class="p">,</span> <span class="n">null</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">Store</span> <span class="n">store</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">connectStore</span><span class="p">(</span><span class="n">conn</span><span class="p">,</span> <span class="n">storeDesc</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>   <span class="n">StoreDesc</span> <span class="n">storeDesc</span> <span class="p">=</span> <span class="n">new</span> <span class="n">StoreDesc</span><span class="p">(</span><span class="n">LayoutType</span><span class="p">.</span><span class="n">LayoutTripleNodesHash</span><span class="p">,</span>
+                                       <span class="n">DatabaseType</span><span class="p">.</span><span class="n">Derby</span><span class="p">)</span> <span class="p">;</span>
+   <span class="n">JDBC</span><span class="p">.</span><span class="n">loadDriverDerby</span><span class="p">()</span> <span class="p">;</span>
+   <span class="n">String</span> <span class="n">jdbcURL</span> <span class="p">=</span> &quot;<span class="n">jdbc</span><span class="p">:</span><span class="n">derby</span><span class="p">:</span><span class="n">DB</span><span class="o">/</span><span class="n">SDB2</span>&quot;<span class="p">;</span>
+   <span class="n">SDBConnection</span> <span class="n">conn</span> <span class="p">=</span> <span class="n">new</span> <span class="n">SDBConnection</span><span class="p">(</span><span class="n">jdbcURL</span><span class="p">,</span> <span class="n">null</span><span class="p">,</span> <span class="n">null</span><span class="p">)</span> <span class="p">;</span>
+   <span class="n">Store</span> <span class="n">store</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">connectStore</span><span class="p">(</span><span class="n">conn</span><span class="p">,</span> <span class="n">storeDesc</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -282,7 +282,7 @@ result in any database or JDBC connectio
 SDB connection information is ignored when reading to get just the
 store description. The store description can be kept across store
 creations:</p>
-<div class="codehilite"><pre>  <span class="n">storeDesc</span> <span class="o">=</span> <span class="n">StoreDesc</span><span class="o">.</span><span class="nb">read</span><span class="p">(</span><span class="s">&quot;sdb.ttl&quot;</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>  <span class="n">storeDesc</span> <span class="p">=</span> <span class="n">StoreDesc</span><span class="p">.</span><span class="n">read</span><span class="p">(</span>&quot;<span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span>&quot;<span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -292,19 +292,19 @@ container:</p>
                              <span class="n">StoreDesc</span> <span class="n">storeDesc</span><span class="p">,</span>
                              <span class="n">Connection</span> <span class="n">jdbcConnection</span><span class="p">)</span>
     <span class="p">{</span>
-        <span class="n">Query</span> <span class="n">query</span> <span class="o">=</span> <span class="n">QueryFactory</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">queryString</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+        <span class="n">Query</span> <span class="n">query</span> <span class="p">=</span> <span class="n">QueryFactory</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">queryString</span><span class="p">)</span> <span class="p">;</span>
 
-        <span class="n">SDBConnection</span> <span class="n">conn</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">createConnection</span><span class="p">(</span><span class="n">jdbcConnection</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+        <span class="n">SDBConnection</span> <span class="n">conn</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">createConnection</span><span class="p">(</span><span class="n">jdbcConnection</span><span class="p">)</span> <span class="p">;</span>
 
-        <span class="n">Store</span> <span class="n">store</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">connectStore</span><span class="p">(</span><span class="n">conn</span><span class="p">,</span> <span class="n">storeDesc</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+        <span class="n">Store</span> <span class="n">store</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">connectStore</span><span class="p">(</span><span class="n">conn</span><span class="p">,</span> <span class="n">storeDesc</span><span class="p">)</span> <span class="p">;</span>
 
-        <span class="n">Dataset</span> <span class="n">ds</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">connectDataset</span><span class="p">(</span><span class="n">store</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-        <span class="n">QueryExecution</span> <span class="n">qe</span> <span class="o">=</span> <span class="n">QueryExecutionFactory</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">ds</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-        <span class="n">try</span> <span class="p">{</span>
-            <span class="n">ResultSet</span> <span class="n">rs</span> <span class="o">=</span> <span class="n">qe</span><span class="o">.</span><span class="n">execSelect</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-            <span class="n">ResultSetFormatter</span><span class="o">.</span><span class="n">out</span><span class="p">(</span><span class="n">rs</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-        <span class="p">}</span> <span class="n">finally</span> <span class="p">{</span> <span class="n">qe</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span> <span class="p">}</span>
-        <span class="n">store</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
+        <span class="n">Dataset</span> <span class="n">ds</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">connectDataset</span><span class="p">(</span><span class="n">store</span><span class="p">)</span> <span class="p">;</span>
+        <span class="n">QueryExecution</span> <span class="n">qe</span> <span class="p">=</span> <span class="n">QueryExecutionFactory</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">ds</span><span class="p">)</span> <span class="p">;</span>
+        <span class="k">try</span> <span class="p">{</span>
+            <span class="n">ResultSet</span> <span class="n">rs</span> <span class="p">=</span> <span class="n">qe</span><span class="p">.</span><span class="n">execSelect</span><span class="p">()</span> <span class="p">;</span>
+            <span class="n">ResultSetFormatter</span><span class="p">.</span><span class="n">out</span><span class="p">(</span><span class="n">rs</span><span class="p">)</span> <span class="p">;</span>
+        <span class="p">}</span> <span class="n">finally</span> <span class="p">{</span> <span class="n">qe</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span> <span class="p">}</span>
+        <span class="n">store</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span>
     <span class="p">}</span>
 </pre></div>
 
@@ -312,20 +312,20 @@ container:</p>
 <h2 id="formatting-or-emptying-the-store">Formatting or Emptying the Store</h2>
 <p>SDB stores do not ensure that the database is formatted. You can
 check whether the store is already formatted using:</p>
-<div class="codehilite"><pre><span class="n">StoreUtils</span><span class="o">.</span><span class="n">isFormatted</span><span class="p">(</span><span class="n">store</span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">StoreUtils</span><span class="p">.</span><span class="n">isFormatted</span><span class="p">(</span><span class="n">store</span><span class="p">);</span>
 </pre></div>
 
 
 <p>This is an expensive operation, and should be used sparingly.</p>
 <p>Once you obtain a store for the first time you will need to:</p>
-<div class="codehilite"><pre><span class="n">store</span><span class="o">.</span><span class="n">getTableFormatter</span><span class="p">()</span><span class="o">.</span><span class="n">create</span><span class="p">();</span>
+<div class="codehilite"><pre><span class="n">store</span><span class="p">.</span><span class="n">getTableFormatter</span><span class="p">().</span><span class="n">create</span><span class="p">();</span>
 </pre></div>
 
 
 <p>This will create the necessary tables and indexes required for a
 full SDB store.</p>
 <p>You may empty the store completely using:</p>
-<div class="codehilite"><pre><span class="n">store</span><span class="o">.</span><span class="n">getTableFormatter</span><span class="p">()</span><span class="o">.</span><span class="nb">truncate</span><span class="p">();</span>
+<div class="codehilite"><pre><span class="n">store</span><span class="p">.</span><span class="n">getTableFormatter</span><span class="p">().</span><span class="n">truncate</span><span class="p">();</span>
 </pre></div>
 
 
@@ -339,30 +339,30 @@ implementation of that interface.</p>
 <a href="../query/app_api.html">querying with ARQ</a>.
 SDB is an ARQ query engine that can handle queries made on an RDF
 dataset which is of the SDB class <code>DatasetStore</code>:</p>
-<div class="codehilite"><pre>   <span class="n">Dataset</span> <span class="n">ds</span> <span class="o">=</span> <span class="n">DatasetStore</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">store</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>   <span class="n">Dataset</span> <span class="n">ds</span> <span class="p">=</span> <span class="n">DatasetStore</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">store</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>This is then used as normal with ARQ:</p>
-<div class="codehilite"><pre>   <span class="n">Dataset</span> <span class="n">ds</span> <span class="o">=</span> <span class="n">DatasetStore</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">store</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">QueryExecution</span> <span class="n">qe</span> <span class="o">=</span> <span class="n">QueryExecutionFactory</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">ds</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">try</span> <span class="p">{</span>
-       <span class="n">ResultSet</span> <span class="n">rs</span> <span class="o">=</span> <span class="n">qe</span><span class="o">.</span><span class="n">execSelect</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-       <span class="n">ResultSetFormatter</span><span class="o">.</span><span class="n">out</span><span class="p">(</span><span class="n">rs</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-   <span class="p">}</span> <span class="n">finally</span> <span class="p">{</span> <span class="n">qe</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span> <span class="p">}</span>
+<div class="codehilite"><pre>   <span class="n">Dataset</span> <span class="n">ds</span> <span class="p">=</span> <span class="n">DatasetStore</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">store</span><span class="p">)</span> <span class="p">;</span>
+   <span class="n">QueryExecution</span> <span class="n">qe</span> <span class="p">=</span> <span class="n">QueryExecutionFactory</span><span class="p">.</span><span class="n">create</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">ds</span><span class="p">)</span> <span class="p">;</span>
+   <span class="k">try</span> <span class="p">{</span>
+       <span class="n">ResultSet</span> <span class="n">rs</span> <span class="p">=</span> <span class="n">qe</span><span class="p">.</span><span class="n">execSelect</span><span class="p">()</span> <span class="p">;</span>
+       <span class="n">ResultSetFormatter</span><span class="p">.</span><span class="n">out</span><span class="p">(</span><span class="n">rs</span><span class="p">)</span> <span class="p">;</span>
+   <span class="p">}</span> <span class="n">finally</span> <span class="p">{</span> <span class="n">qe</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span> <span class="p">}</span>
 </pre></div>
 
 
 <p>When finished, the store should be closed to release any resources
 associated with the particular implementation. Closing a store does
 <em>not</em> close it's JDBC connection.</p>
-<div class="codehilite"><pre>   <span class="n">store</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>   <span class="n">store</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>Closing the SDBConnection <em>does</em> close the JDBC connection:</p>
-<div class="codehilite"><pre>   <span class="n">store</span><span class="o">.</span><span class="n">getConnection</span><span class="p">()</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-   <span class="n">store</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>   <span class="n">store</span><span class="p">.</span><span class="n">getConnection</span><span class="p">().</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span>
+   <span class="n">store</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -372,17 +372,17 @@ then the query is not efficiently execut
 <p>A Jena model can be connected to one graph in the store and used
 with all the Jena API operations.</p>
 <p>Here, the graph for the model is the the default graph:</p>
-<div class="codehilite"><pre>    <span class="n">Store</span> <span class="n">store</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">connectStore</span><span class="p">(</span><span class="s">&quot;sdb.ttl&quot;</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
-    <span class="n">Model</span> <span class="n">model</span> <span class="o">=</span> <span class="n">SDBFactory</span><span class="o">.</span><span class="n">connectDefaultModel</span><span class="p">(</span><span class="n">store</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre>    <span class="n">Store</span> <span class="n">store</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">connectStore</span><span class="p">(</span>&quot;<span class="n">sdb</span><span class="p">.</span><span class="n">ttl</span>&quot;<span class="p">)</span> <span class="p">;</span>
+    <span class="n">Model</span> <span class="n">model</span> <span class="p">=</span> <span class="n">SDBFactory</span><span class="p">.</span><span class="n">connectDefaultModel</span><span class="p">(</span><span class="n">store</span><span class="p">)</span> <span class="p">;</span>
 
-    <span class="n">StmtIterator</span> <span class="n">sIter</span> <span class="o">=</span> <span class="n">model</span><span class="o">.</span><span class="n">listStatements</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-    <span class="k">for</span> <span class="p">(</span><span class="err"> </span><span class="p">;</span> <span class="n">sIter</span><span class="o">.</span><span class="n">hasNext</span><span class="p">()</span><span class="err"> </span><span class="p">;</span> <span class="p">)</span>
+    <span class="n">StmtIterator</span> <span class="n">sIter</span> <span class="p">=</span> <span class="n">model</span><span class="p">.</span><span class="n">listStatements</span><span class="p">()</span> <span class="p">;</span>
+    <span class="k">for</span> <span class="p">(</span> <span class="p">;</span> <span class="n">sIter</span><span class="p">.</span><span class="n">hasNext</span><span class="p">()</span> <span class="p">;</span> <span class="p">)</span>
     <span class="p">{</span>
-        <span class="n">Statement</span> <span class="n">stmt</span> <span class="o">=</span> <span class="n">sIter</span><span class="o">.</span><span class="n">nextStatement</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-        <span class="n">System</span><span class="o">.</span><span class="n">out</span><span class="o">.</span><span class="n">println</span><span class="p">(</span><span class="n">stmt</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+        <span class="n">Statement</span> <span class="n">stmt</span> <span class="p">=</span> <span class="n">sIter</span><span class="p">.</span><span class="n">nextStatement</span><span class="p">()</span> <span class="p">;</span>
+        <span class="n">System</span><span class="p">.</span><span class="n">out</span><span class="p">.</span><span class="n">println</span><span class="p">(</span><span class="n">stmt</span><span class="p">)</span> <span class="p">;</span>
     <span class="p">}</span>
-    <span class="n">sIter</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
-    <span class="n">store</span><span class="o">.</span><span class="nb">close</span><span class="p">()</span><span class="err"> </span><span class="p">;</span>
+    <span class="n">sIter</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span>
+    <span class="n">store</span><span class="p">.</span><span class="n">close</span><span class="p">()</span> <span class="p">;</span>
 </pre></div>
 
 



Mime
View raw message