jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r866584 [8/21] - in /websites/staging/jena/trunk/content: ./ documentation/assembler/ documentation/inference/ documentation/io/ documentation/javadoc/arq/ documentation/javadoc/fuseki/ documentation/javadoc/jena/ documentation/javadoc/larq...
Date Thu, 20 Jun 2013 10:18:36 GMT
Modified: websites/staging/jena/trunk/content/documentation/query/assignment.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/assignment.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/assignment.html Thu Jun 20 10:18:34 2013
@@ -163,15 +163,15 @@ is parsed with language <code>Syntax.syn
 form of assignment.</p>
 <h2 id="assignment">Assignment</h2>
 <p>The general form is:</p>
-<div class="codehilite"><pre><span class="n">LET</span> <span class="p">(</span> <span class="n">variable</span> <span class="p">:</span><span class="o">=</span> <span class="n">expression</span> <span class="p">)</span>
+<div class="codehilite"><pre><span class="n">LET</span> <span class="p">(</span> <span class="n">variable</span> <span class="p">:=</span> <span class="n">expression</span> <span class="p">)</span>
 </pre></div>
 
 
 <p>For example:</p>
-<div class="codehilite"><pre><span class="n">LET</span> <span class="p">(</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="o">=</span> <span class="mi">2</span> <span class="p">)</span>
+<div class="codehilite"><pre><span class="n">LET</span> <span class="p">(</span> ?<span class="n">x</span> <span class="p">:=</span> 2 <span class="p">)</span>
 
-<span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">name</span> <span class="p">?</span><span class="n">name</span> <span class="o">.</span>
-  <span class="n">LET</span> <span class="p">(</span> <span class="p">?</span><span class="n">age2</span> <span class="p">:</span><span class="o">=</span> <span class="p">?</span><span class="n">age</span> <span class="o">-</span> <span class="mi">21</span> <span class="p">)</span>
+<span class="p">{</span> ?<span class="n">x</span> <span class="p">:</span><span class="n">name</span> ?<span class="n">name</span> <span class="p">.</span>
+  <span class="n">LET</span> <span class="p">(</span> ?<span class="n">age2</span> <span class="p">:=</span> ?<span class="n">age</span> <span class="o">-</span> 21 <span class="p">)</span>
 </pre></div>
 
 
@@ -201,11 +201,11 @@ value-based comparisons for "=" for all 
 <h2 id="use-with-construct">Use with CONSTRUCT</h2>
 <p>One use is to perform some calculation prior to forming the result
 graph in a CONSTRUCT query.</p>
-<div class="codehilite"><pre><span class="n">CONSTRUCT</span> <span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">lengthInCM</span> <span class="p">?</span><span class="n">cm</span> <span class="p">}</span>
+<div class="codehilite"><pre><span class="n">CONSTRUCT</span> <span class="p">{</span> ?<span class="n">x</span> <span class="p">:</span><span class="n">lengthInCM</span> ?<span class="n">cm</span> <span class="p">}</span>
 <span class="n">WHERE</span>
 <span class="p">{</span>
-   <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">lengthInInches</span> <span class="p">?</span><span class="n">inch</span> <span class="o">.</span>
-   <span class="n">LET</span> <span class="p">(</span> <span class="p">?</span><span class="n">cm</span> <span class="p">:</span><span class="o">=</span> <span class="p">?</span><span class="n">inches</span><span class="o">/</span><span class="mf">2.54</span> <span class="p">)</span>
+   ?<span class="n">x</span> <span class="p">:</span><span class="n">lengthInInches</span> ?<span class="n">inch</span> <span class="p">.</span>
+   <span class="n">LET</span> <span class="p">(</span> ?<span class="n">cm</span> <span class="p">:=</span> ?<span class="n">inches</span><span class="o">/</span>2<span class="p">.</span>54 <span class="p">)</span>
 <span class="p">}</span>
 </pre></div>
 
@@ -219,9 +219,9 @@ do) to mark when the matching pattern in
 pattern.</p>
 <p>Example: ?x with no ":p 1" triple:</p>
 <div class="codehilite"><pre><span class="p">{</span>
-  <span class="p">?</span><span class="n">x</span> <span class="n">a</span> <span class="p">:</span><span class="n">FOO</span> <span class="o">.</span>
-  <span class="n">OPTIONAL</span> <span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">p</span> <span class="mi">1</span> <span class="o">.</span> <span class="n">LET</span> <span class="p">(?</span><span class="n">z</span> <span class="p">:</span><span class="o">=</span> <span class="n">true</span><span class="p">)</span> <span class="p">}</span>
-  <span class="n">FILTER</span> <span class="p">(</span> <span class="o">!</span><span class="n">BOUND</span><span class="p">(?</span><span class="n">z</span><span class="p">)</span> <span class="p">)</span>
+  ?<span class="n">x</span> <span class="n">a</span> <span class="p">:</span><span class="n">FOO</span> <span class="p">.</span>
+  <span class="n">OPTIONAL</span> <span class="p">{</span> ?<span class="n">x</span> <span class="p">:</span><span class="n">p</span> 1 <span class="p">.</span> <span class="n">LET</span> <span class="p">(</span>?<span class="n">z</span> <span class="p">:=</span> <span class="n">true</span><span class="p">)</span> <span class="p">}</span>
+  <span class="n">FILTER</span> <span class="p">(</span> !<span class="n">BOUND</span><span class="p">(</span>?<span class="n">z</span><span class="p">)</span> <span class="p">)</span>
 <span class="p">}</span>
 </pre></div>
 

Modified: websites/staging/jena/trunk/content/documentation/query/cmds.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/cmds.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/cmds.html Thu Jun 20 10:18:34 2013
@@ -254,7 +254,7 @@ requests.</p>
 <h3 id="arqrset"><code>arq.rset</code></h3>
 <p>Read and write result sets.</p>
 <p>In particular,</p>
-<div class="codehilite"><pre><span class="n">java</span> <span class="o">-</span><span class="n">cp</span> <span class="o">...</span> <span class="n">arq</span><span class="o">.</span><span class="n">rset</span> <span class="o">--</span><span class="n">in</span> <span class="n">xml</span> <span class="o">--</span><span class="n">out</span> <span class="n">text</span>
+<div class="codehilite"><pre><span class="n">java</span> <span class="o">-</span><span class="n">cp</span> <span class="p">...</span> <span class="n">arq</span><span class="p">.</span><span class="n">rset</span> <span class="o">--</span><span class="n">in</span> <span class="n">xml</span> <span class="o">--</span><span class="n">out</span> <span class="n">text</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/explain.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/explain.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/explain.html Thu Jun 20 10:18:34 2013
@@ -210,9 +210,9 @@ which applies all optimizations.</p>
 </table>
 <p>The argument <code>--explain</code> is equivalent to <code>--print=query --print=opt</code></p>
 <p>Examples:</p>
-<div class="codehilite"><pre><span class="n">arq</span><span class="o">.</span><span class="n">qparse</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">query</span> <span class="n">Q</span><span class="o">.</span><span class="n">rq</span>
+<div class="codehilite"><pre><span class="n">arq</span><span class="p">.</span><span class="n">qparse</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">query</span> <span class="n">Q</span><span class="p">.</span><span class="n">rq</span>
 
-<span class="n">arq</span><span class="o">.</span><span class="n">qparse</span> <span class="o">--</span><span class="n">explain</span> <span class="s">&#39;SELECT * { ?s ?p ?o }&#39;</span>
+<span class="n">arq</span><span class="p">.</span><span class="n">qparse</span> <span class="o">--</span><span class="n">explain</span> <span class="s">&#39;SELECT * { ?s ?p ?o }&#39;</span>
 </pre></div>
 
 
@@ -221,7 +221,7 @@ which applies all optimizations.</p>
 individual operations. This adds another level of control on top of the
 logger level controls.</p>
 <p>From command line:</p>
-<div class="codehilite"><pre><span class="n">arq</span><span class="o">.</span><span class="n">sparql</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">data</span> <span class="o">...</span> <span class="o">--</span><span class="n">query</span> <span class="o">...</span>
+<div class="codehilite"><pre><span class="n">arq</span><span class="p">.</span><span class="n">sparql</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">data</span> <span class="p">...</span> <span class="o">--</span><span class="n">query</span> <span class="p">...</span>
 </pre></div>
 
 
@@ -233,25 +233,25 @@ correct.</p>
 <p>The logger used is called <code>com.hp.hpl.jena.arq.exec</code>. Message are sent
 at level "info". So for log4j, the following can be set in the
 log4j.properties file:</p>
-<div class="codehilite"><pre><span class="n">log4j</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">hp</span><span class="o">.</span><span class="n">hpl</span><span class="o">.</span><span class="n">jena</span><span class="o">.</span><span class="n">arq</span><span class="o">.</span><span class="nb">exec</span><span class="o">=</span><span class="n">INFO</span>
+<div class="codehilite"><pre><span class="n">log4j</span><span class="p">.</span><span class="n">logger</span><span class="p">.</span><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">arq</span><span class="p">.</span><span class="n">exec</span><span class="p">=</span><span class="n">INFO</span>
 </pre></div>
 
 
 <p>The context setting is for key (Java constant) <code>ARQ.symLogExec</code>. To set
 globally:</p>
-<div class="codehilite"><pre><span class="n">ARQ</span><span class="o">.</span><span class="n">setExecutionLogging</span><span class="p">(</span><span class="n">Explain</span><span class="o">.</span><span class="n">InfoLevel</span><span class="o">.</span><span class="n">ALL</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">ARQ</span><span class="p">.</span><span class="n">setExecutionLogging</span><span class="p">(</span><span class="n">Explain</span><span class="p">.</span><span class="n">InfoLevel</span><span class="p">.</span><span class="n">ALL</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>and it may also be set on an individual query execution using it's local
 context.</p>
-<div class="codehilite"><pre> <span class="n">QueryExecutiuon</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="p">()</span><span class="o">.</span><span class="n">set</span><span class="p">(</span><span class="n">ARQ</span><span class="o">.</span><span class="n">symLogExec</span><span class="p">,</span> <span class="n">Explain</span><span class="o">.</span><span class="n">InfoLevel</span><span class="o">.</span><span class="n">ALL</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre> <span class="n">QueryExecutiuon</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">ARQ</span><span class="p">.</span><span class="n">symLogExec</span><span class="p">,</span> <span class="n">Explain</span><span class="p">.</span><span class="n">InfoLevel</span><span class="p">.</span><span class="n">ALL</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>On the command line:</p>
-<div class="codehilite"><pre> <span class="n">arq</span><span class="o">.</span><span class="n">query</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">data</span> <span class="n">data</span> <span class="n">file</span> <span class="o">--</span><span class="n">query</span><span class="o">=</span><span class="n">queryfile</span>
+<div class="codehilite"><pre> <span class="n">arq</span><span class="p">.</span><span class="n">query</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">data</span> <span class="n">data</span> <span class="n">file</span> <span class="o">--</span><span class="n">query</span><span class="p">=</span><span class="n">queryfile</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/extension.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/extension.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/extension.html Thu Jun 20 10:18:34 2013
@@ -200,7 +200,7 @@ access the queried dataset.</p>
 <h3 id="dynamically-loaded-functions">Dynamically Loaded Functions</h3>
 <p>The ARQ function library uses this mechanism.  The namespace of the
 ARQ function library is &lt;<code>http://jena.hpl.hp.com/ARQ/function#&gt;</code>.</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">afn:</span> <span class="sr">&lt;http://jena.hpl.hp.com/ARQ/function#&gt;</span><span class="n">PREFIX</span> <span class="n">dc:</span> <span class="sr">&lt;http://purl.org/dc/elements/1.1/&gt;</span><span class="n">SELECT</span> <span class="p">?</span><span class="n">v</span><span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="n">dc:date</span> <span class="p">?</span><span class="n">date</span> <span class="o">.</span> <span class="n">FILTER</span> <span class="p">(?</span><span class="n">date</span> <span class="o">&lt;</span> <span class="n">afn:now</span><span class="p">()</span> <span class="p">)}</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">afn</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><span class="n">ARQ</span><span class="o">/</span><span class="k">function</span>#<span class="o">&gt;</span><span class="n">PREFIX</span> <span class="n">dc</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">purl</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">dc</span><span class="o">/</span><span class="n">elements</span><span class="o">/</span>1<span class="p">.</span>1<span class="o">/&gt;</span><span class="n">SELECT</s
 pan> ?<span class="n">v</span><span class="p">{</span> ?<span class="n">x</span> <span class="n">dc</span><span class="p">:</span><span class="n">date</span> ?<span class="n">date</span> <span class="p">.</span> <span class="n">FILTER</span> <span class="p">(</span>?<span class="n">date</span> <span class="o">&lt;</span> <span class="n">afn</span><span class="p">:</span><span class="n">now</span><span class="p">()</span> <span class="p">)}</span>
 </pre></div>
 
 
@@ -223,17 +223,17 @@ able to generate all possibilities for t
 be query variable). They may take a list for subject or object.</p>
 <p>One common case is for access to collections (RDF lists) or
 containers (rdf:Bag, rdf:Seq, rdf:Alt).</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">list:</span> <span class="sr">&lt;http://jena.hpl.hp.com/ARQ/list#&gt;</span><span class="n">SELECT</span> <span class="p">?</span><span class="n">member</span><span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">p</span> <span class="p">?</span><span class="n">list</span> <span class="o">.</span>     <span class="c1"># Some way to find the list ?list list:member ?member .}</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">list</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><span class="n">ARQ</span><span class="o">/</span><span class="n">list</span>#<span class="o">&gt;</span><span class="n">SELECT</span> ?<span class="n">member</span><span class="p">{</span> ?<span class="n">x</span> <span class="p">:</span><span class="n">p</span> ?<span class="n">list</span> <span class="p">.</span>     # <span class="n">Some</span> <span class="n">way</span> <span class="n">to</span> <span class="nb">find</span> <span class="n">the</span> <span class="n">list</span> ?<span class="n">list</span> <span class="n">list</span><span class="p">:</span><span
  class="n">member</span> ?<span class="n">member</span> <span class="p">.}</span>
 </pre></div>
 
 
 <p>which can also be written:</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">list:</span> <span class="sr">&lt;http://jena.hpl.hp.com/ARQ/list#&gt;</span><span class="n">SELECT</span> <span class="p">?</span><span class="n">member</span><span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">p</span> <span class="p">[</span> <span class="n">list:member</span> <span class="p">?</span><span class="n">member</span> <span class="p">]</span> <span class="p">}</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">list</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><span class="n">ARQ</span><span class="o">/</span><span class="n">list</span>#<span class="o">&gt;</span><span class="n">SELECT</span> ?<span class="n">member</span><span class="p">{</span> ?<span class="n">x</span> <span class="p">:</span><span class="n">p</span> <span class="p">[</span> <span class="n">list</span><span class="p">:</span><span class="n">member</span> ?<span class="n">member</span> <span class="p">]</span> <span class="p">}</span>
 </pre></div>
 
 
 <p>Likewise, RDF containers:</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">rdfs:</span> <span class="sr">&lt;http://www.w3.org/2000/01/rdf-schema#&gt;</span><span class="n">SELECT</span> <span class="p">?</span><span class="n">member</span><span class="p">{</span> <span class="p">?</span><span class="n">x</span> <span class="p">:</span><span class="n">p</span> <span class="p">?</span><span class="n">bag</span> <span class="o">.</span>     <span class="c1"># Some way to find the bag ?bag rdfs:member ?member .}</span>
+<div class="codehilite"><pre><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="n">SELECT</span> ?<span class="n">member</span><span class="p">{</span> ?<span class="n">x</span> <span class="p">:</span><span class="n">p</span> ?<span class="n">bag</span> <span class="p">.</span>     # <span class="n">Some</span> <span class="n">way</span> <span class="n">to</span> <span class="nb">find</span> <span class="n">the</span> <span class="n">bag</span> ?<span class="n">bag</span> <span class="n">rdfs</span><span class="p">:</span><sp
 an class="n">member</span> ?<span class="n">member</span> <span class="p">.}</span>
 </pre></div>
 
 
@@ -243,19 +243,19 @@ slot.</p>
 For example, <code>splitIRI</code> will take an IRI and assign the namespace
 ad localname parts to variables (if the variables are already
 bound, not constants are used, <code>splitIRI</code> will check the values).</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">xsd:</span> <span class="sr">&lt;http://www.w3.org/2001/XMLSchema#&gt;</span>
-<span class="n">PREFIX</span> <span class="n">apf:</span> <span class="sr">&lt;java:com.hp.hpl.jena.query.pfunction.library.&gt;</span><span class="n">SELECT</span> <span class="p">?</span><span class="n">namespace</span> <span class="p">?</span><span class="n">localname</span><span class="p">{</span> <span class="n">xsd:string</span> <span class="n">apf:splitIRI</span> <span class="p">(?</span><span class="n">namespace</span> <span class="p">?</span><span class="n">localname</span><span class="p">)</span> <span class="p">}</span>
+<div class="codehilite"><pre><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="n">PREFIX</span> <span class="n">apf</span><span class="p">:</span> <span class="o">&lt;</span><span class="n">java</span><span class="p">:</span><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">query</span><span class="p">.</span><span class="n">pfunction</span><span class="p">.</span><span class="n">library</span><span class="p">.</span><span class="o">&gt;</span><span class="n">SELECT</span> ?<span class="n">namespace</span> ?<span class="n">localname</span><span class="p">{</span> <span class="n">xsd</span><span class="p">:</span><span class="n">string</span> <span class="n">apf</span><span class="p">:</span><span class="n">splitIRI</span> <span class="p">(</span>?<span class="n">namespace</span> ?<span class="n">localname</span><span class="p">)</span> <span class="p">}</span>
 </pre></div>
 
 
 <p>Property functions might conflict with inference rules and it can
 be turned off by the Java code:</p>
-<div class="codehilite"><pre> <span class="n">ARQ</span><span class="o">.</span><span class="n">setFalse</span><span class="p">(</span><span class="n">ARQ</span><span class="o">.</span><span class="n">enablePropertyFunctions</span><span class="p">)</span> <span class="p">;</span>
+<div class="codehilite"><pre> <span class="n">ARQ</span><span class="p">.</span><span class="n">setFalse</span><span class="p">(</span><span class="n">ARQ</span><span class="p">.</span><span class="n">enablePropertyFunctions</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>or on a per instance basis:</p>
-<div class="codehilite"><pre> <span class="n">QueryExecution</span> <span class="n">qExec</span> <span class="o">=</span> <span class="o">.</span> <span class="o">.</span> <span class="o">.</span> <span class="p">;</span> <span class="n">qExec</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">ARQ</span><span class="o">.</span><span class="n">enablePropertyFunctions</span><span class="p">)</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="p">.</span> <span class="p">.</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">setFalse</span><span class="p">(</span><span class="n">ARQ</span><span class="p">.</span><span class="n">enablePropertyFunctions</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
@@ -286,9 +286,9 @@ queried graph or dataset. This are const
 not unnamed variables. Do not confuse these with the standard
 qname-like notation for blank nodes in queries. This is not
 portable - use with care.</p>
-<div class="codehilite"><pre><span class="sr">&lt;_:1234-5678-90&gt;</span> <span class="c1"># A blank node in the data</span>
+<div class="codehilite"><pre><span class="o">&lt;</span><span class="n">_</span><span class="p">:</span>1234<span class="o">-</span>5678<span class="o">-</span>90<span class="o">&gt;</span> # <span class="n">A</span> <span class="n">blank</span> <span class="n">node</span> <span class="n">in</span> <span class="n">the</span> <span class="n">data</span>
 
-<span class="n">_:b0</span> <span class="c1"># A blank node in the query - a variable</span>
+<span class="n">_</span><span class="p">:</span><span class="n">b0</span> # <span class="n">A</span> <span class="n">blank</span> <span class="n">node</span> <span class="n">in</span> <span class="n">the</span> <span class="n">query</span> <span class="o">-</span> <span class="n">a</span> <span class="n">variable</span>
 </pre></div>
   </div>
 

Modified: websites/staging/jena/trunk/content/documentation/query/faq.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/faq.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/faq.html Thu Jun 20 10:18:34 2013
@@ -194,11 +194,11 @@ to test for substrings and other forms t
 provides.</p>
 <p>Example: find resource with an RDFS label contains the substring
 "orange", matching without respecting case of the string.</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span>  <span class="n">rdfs:</span> <span class="sr">&lt;http://www.w3.org/2000/01/rdf-schema#&gt;</span>
-<span class="n">SELECT</span> <span class="p">?</span><span class="n">x</span>
+<div class="codehilite"><pre><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="n">SELECT</span> ?<span class="n">x</span>
 <span class="n">WHERE</span> <span class="p">{</span>
-  <span class="p">?</span><span class="n">x</span> <span class="n">rdfs:label</span> <span class="p">?</span><span class="n">v</span> <span class="o">.</span>
-  <span class="n">FILTER</span> <span class="n">regex</span><span class="p">(?</span><span class="n">v</span><span class="p">,</span> <span class="s">&quot;orange&quot;</span><span class="p">,</span> <span class="s">&quot;i&quot;</span><span class="p">)</span>
+  ?<span class="n">x</span> <span class="n">rdfs</span><span class="p">:</span><span class="n">label</span> ?<span class="n">v</span> <span class="p">.</span>
+  <span class="n">FILTER</span> <span class="n">regex</span><span class="p">(</span>?<span class="n">v</span><span class="p">,</span> &quot;<span class="n">orange</span>&quot;<span class="p">,</span> &quot;<span class="nb">i</span>&quot;<span class="p">)</span>
 <span class="p">}</span>
 </pre></div>
 
@@ -212,16 +212,16 @@ java.util.regex.</p>
     from a text editor, ensure it is working in UTF-8 and not the
     operating system native character set. UTF-8 is not the default
     character set under MS Windows.</p>
-<div class="codehilite"><pre><span class="n">ARQ</span> <span class="n">supports</span> <span class="o">\\</span><span class="n">u</span> <span class="n">escape</span> <span class="n">sequences</span> <span class="n">in</span> <span class="n">queries</span> <span class="k">for</span> <span class="n">the</span> <span class="n">input</span> <span class="n">of</span> <span class="mi">16</span><span class="n">bit</span>
-<span class="n">codepoints</span><span class="o">.</span>
+<div class="codehilite"><pre><span class="n">ARQ</span> <span class="n">supports</span> <span class="o">\\</span><span class="n">u</span> <span class="n">escape</span> <span class="n">sequences</span> <span class="n">in</span> <span class="n">queries</span> <span class="k">for</span> <span class="n">the</span> <span class="n">input</span> <span class="n">of</span> 16<span class="n">bit</span>
+<span class="n">codepoints</span><span class="p">.</span>
 
-<span class="n">ARQ</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">support</span> <span class="mi">32</span> <span class="n">bit</span> <span class="n">codepoints</span> <span class="p">(</span><span class="n">it</span> <span class="n">would</span> <span class="nb">require</span> <span class="n">a</span> <span class="n">move</span> <span class="n">to</span>
-<span class="n">Java</span> <span class="mf">1.5</span><span class="p">,</span> <span class="n">including</span> <span class="n">all</span> <span class="n">support</span> <span class="n">libraries</span> <span class="ow">and</span> <span class="n">checking</span> <span class="n">the</span> <span class="n">codebase</span>
-<span class="k">for</span> <span class="n">char</span><span class="o">/</span><span class="n">codepoint</span> <span class="n">inconsistencies</span> <span class="ow">and</span> <span class="n">drop</span> <span class="n">support</span> <span class="k">for</span> <span class="n">Java</span> <span class="mf">1.4</span><span class="p">)</span><span class="o">.</span>
-
-<span class="n">The</span> <span class="n">same</span> <span class="n">is</span> <span class="n">true</span> <span class="k">for</span> <span class="n">data</span><span class="o">.</span> <span class="n">XML</span> <span class="n">files</span> <span class="n">can</span> <span class="n">be</span> <span class="n">written</span> <span class="n">in</span> <span class="n">any</span>
-<span class="n">XML</span><span class="o">-</span><span class="n">supported</span> <span class="n">character</span> <span class="n">set</span> <span class="k">if</span> <span class="n">the</span> <span class="n">right</span> <span class="sb">`?xml`</span> <span class="n">processing</span>
-<span class="n">instruction</span> <span class="n">is</span> <span class="n">used</span><span class="o">.</span> <span class="n">The</span> <span class="n">default</span> <span class="n">is</span> <span class="n">UTF</span><span class="o">-</span><span class="mi">8</span> <span class="ow">or</span> <span class="n">UTF</span><span class="o">-</span><span class="mi">16</span><span class="o">.</span>
+<span class="n">ARQ</span> <span class="n">does</span> <span class="n">not</span> <span class="n">support</span> 32 <span class="n">bit</span> <span class="n">codepoints</span> <span class="p">(</span><span class="n">it</span> <span class="n">would</span> <span class="n">require</span> <span class="n">a</span> <span class="n">move</span> <span class="n">to</span>
+<span class="n">Java</span> 1<span class="p">.</span>5<span class="p">,</span> <span class="n">including</span> <span class="n">all</span> <span class="n">support</span> <span class="n">libraries</span> <span class="n">and</span> <span class="n">checking</span> <span class="n">the</span> <span class="n">codebase</span>
+<span class="k">for</span> <span class="n">char</span><span class="o">/</span><span class="n">codepoint</span> <span class="n">inconsistencies</span> <span class="n">and</span> <span class="n">drop</span> <span class="n">support</span> <span class="k">for</span> <span class="n">Java</span> 1<span class="p">.</span>4<span class="p">).</span>
+
+<span class="n">The</span> <span class="n">same</span> <span class="n">is</span> <span class="n">true</span> <span class="k">for</span> <span class="n">data</span><span class="p">.</span> <span class="n">XML</span> <span class="n">files</span> <span class="n">can</span> <span class="n">be</span> <span class="n">written</span> <span class="n">in</span> <span class="n">any</span>
+<span class="n">XML</span><span class="o">-</span><span class="n">supported</span> <span class="n">character</span> <span class="n">set</span> <span class="k">if</span> <span class="n">the</span> <span class="n">right</span> `?<span class="n">xml</span>` <span class="n">processing</span>
+<span class="n">instruction</span> <span class="n">is</span> <span class="n">used</span><span class="p">.</span> <span class="n">The</span> <span class="n">default</span> <span class="n">is</span> <span class="n">UTF</span><span class="o">-</span>8 <span class="n">or</span> <span class="n">UTF</span><span class="o">-</span>16<span class="p">.</span>
 </pre></div>
 
 
@@ -231,8 +231,8 @@ java.util.regex.</p>
 <p>Examples of correctly formatted XSD DateTime literals are:
 these two are actually the same point in time and will test equal
 in a filter:</p>
-<div class="codehilite"><pre>  <span class="s">&quot;2005-04-04T04:04:04Z&quot;</span><span class="o">^^</span><span class="n">xsd:dateTime</span>
-  <span class="s">&quot;2004-12-31T18:01:00-05:00&quot;</span><span class="o">^^</span><span class="sr">&lt;http://www.w3.org/2001/XMLSchema#dateTime&gt;</span>
+<div class="codehilite"><pre>  &quot;2005<span class="o">-</span>04<span class="o">-</span>04<span class="n">T04</span><span class="p">:</span>04<span class="p">:</span>04<span class="n">Z</span>&quot;^^<span class="n">xsd</span><span class="p">:</span><span class="n">dateTime</span>
+  &quot;2004<span class="o">-</span>12<span class="o">-</span>31<span class="n">T18</span><span class="p">:</span>01<span class="p">:</span>00<span class="o">-</span>05<span class="p">:</span>00&quot;^^<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="n">dateTime</span><span class="o">&gt;</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/function_forms.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/function_forms.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/function_forms.html Thu Jun 20 10:18:34 2013
@@ -171,18 +171,18 @@ evaluate each branch and combining the r
 result, then evaluates and return the value of the second if the
 boolean result is true, and the third argument if it is false.</p>
 <p>Examples:</p>
-<div class="codehilite"><pre><span class="n">IF</span> <span class="p">(</span> <span class="p">?</span><span class="n">x</span><span class="o">&lt;</span><span class="mi">0</span> <span class="p">,</span> <span class="s">&quot;negative&quot;</span> <span class="p">,</span> <span class="s">&quot;positive&quot;</span> <span class="p">)</span>
+<div class="codehilite"><pre><span class="n">IF</span> <span class="p">(</span> ?<span class="n">x</span><span class="o">&lt;</span>0 <span class="p">,</span> &quot;<span class="n">negative</span>&quot; <span class="p">,</span> &quot;<span class="n">positive</span>&quot; <span class="p">)</span>
 
-<span class="c1"># A possible way to do default values.</span>
-<span class="n">LET</span><span class="p">(</span> <span class="p">?</span><span class="n">z</span> <span class="p">:</span><span class="o">=</span> <span class="n">IF</span><span class="p">(</span><span class="n">bound</span><span class="p">(?</span><span class="n">z</span><span class="p">)</span> <span class="p">,</span> <span class="p">?</span><span class="n">z</span> <span class="p">,</span> <span class="s">&quot;DftValue&quot;</span> <span class="p">)</span> <span class="p">)</span>
+# <span class="n">A</span> <span class="n">possible</span> <span class="n">way</span> <span class="n">to</span> <span class="n">do</span> <span class="n">default</span> <span class="n">values</span><span class="p">.</span>
+<span class="n">LET</span><span class="p">(</span> ?<span class="n">z</span> <span class="p">:=</span> <span class="n">IF</span><span class="p">(</span><span class="n">bound</span><span class="p">(</span>?<span class="n">z</span><span class="p">)</span> <span class="p">,</span> ?<span class="n">z</span> <span class="p">,</span> &quot;<span class="n">DftValue</span>&quot; <span class="p">)</span> <span class="p">)</span>
 </pre></div>
 
 
 <h2 id="coalesce">COALESCE</h2>
 <p>The <code>COALESCE</code>form returns the first argument of it's argument list
 that is bound.</p>
-<div class="codehilite"><pre><span class="c1"># Suppose ?y is bound to &quot;y&quot; and ?z to &quot;z&quot; but ?x is not.</span>
-<span class="n">COALESCE</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="p">?</span><span class="n">z</span><span class="p">)</span> <span class="c1"># return &quot;y&quot;</span>
+<div class="codehilite"><pre><span class="c"># Suppose ?y is bound to &quot;y&quot; and ?z to &quot;z&quot; but ?x is not.</span>
+<span class="n">COALESCE</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="n">z</span><span class="p">)</span> <span class="c"># return &quot;y&quot;</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/group-by.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/group-by.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/group-by.html Thu Jun 20 10:18:34 2013
@@ -164,10 +164,10 @@ variables from the query pattern are pro
 available in the <code>SELECT</code> clause.</p>
 <div class="codehilite"><pre><span class="n">PREFIX</span>
 
-<span class="n">SELECT</span> <span class="p">?</span><span class="n">p</span> <span class="p">?</span><span class="sx">q</span>
-<span class="sx">{ . . .</span>
+<span class="n">SELECT</span> ?<span class="n">p</span> ?<span class="n">q</span>
+<span class="p">{</span> <span class="p">.</span> <span class="p">.</span> <span class="p">.</span>
 <span class="p">}</span>
-<span class="n">GROUP</span> <span class="n">BY</span> <span class="p">?</span><span class="n">p</span> <span class="p">?</span><span class="n">q</span>
+<span class="n">GROUP</span> <span class="n">BY</span> ?<span class="n">p</span> ?<span class="n">q</span>
 </pre></div>
 
 
@@ -181,10 +181,10 @@ is named, then the value is included in 
 projection. An unnamed expression is used for grouping but the
 value is not placed in the result set formed by the <code>GROUP BY</code>
 clause.</p>
-<div class="codehilite"><pre><span class="n">SELECT</span> <span class="p">?</span><span class="n">productId</span> <span class="p">?</span><span class="n">cost</span>
-<span class="p">{</span> <span class="o">.</span> <span class="o">.</span> <span class="o">.</span>
+<div class="codehilite"><pre><span class="n">SELECT</span> ?<span class="n">productId</span> ?<span class="n">cost</span>
+<span class="p">{</span> <span class="p">.</span> <span class="p">.</span> <span class="p">.</span>
 <span class="p">}</span>
-<span class="n">GROUP</span> <span class="n">BY</span> <span class="p">?</span><span class="n">productId</span> <span class="p">(?</span><span class="n">num</span> <span class="o">*</span> <span class="p">?</span><span class="n">price</span> <span class="n">AS</span> <span class="p">?</span><span class="n">cost</span><span class="p">)</span>
+<span class="n">GROUP</span> <span class="n">BY</span> ?<span class="n">productId</span> <span class="p">(</span>?<span class="n">num</span> <span class="o">*</span> ?<span class="n">price</span> <span class="n">AS</span> ?<span class="n">cost</span><span class="p">)</span>
 </pre></div>
 
 
@@ -192,11 +192,11 @@ clause.</p>
 <p>A query may specify a HAVING clause to apply a filter to the result
 set after grouping. The filter may involve variables from the
 <code>GROUP BY</code> clause or aggregations.</p>
-<div class="codehilite"><pre><span class="n">SELECT</span> <span class="p">?</span><span class="n">p</span> <span class="p">?</span><span class="sx">q</span>
-<span class="sx">{ . . .</span>
+<div class="codehilite"><pre><span class="n">SELECT</span> ?<span class="n">p</span> ?<span class="n">q</span>
+<span class="p">{</span> <span class="p">.</span> <span class="p">.</span> <span class="p">.</span>
 <span class="p">}</span>
-<span class="n">GROUP</span> <span class="n">BY</span> <span class="p">?</span><span class="n">p</span> <span class="p">?</span><span class="sx">q</span>
-<span class="sx">HAVING (count(distinct *) &gt; 1)</span>
+<span class="n">GROUP</span> <span class="n">BY</span> ?<span class="n">p</span> ?<span class="n">q</span>
+<span class="n">HAVING</span> <span class="p">(</span><span class="n">count</span><span class="p">(</span><span class="n">distinct</span> <span class="o">*</span><span class="p">)</span> <span class="o">&gt;</span> 1<span class="p">)</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/java-uri.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/java-uri.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/java-uri.html Thu Jun 20 10:18:34 2013
@@ -173,10 +173,10 @@ class files or jar files for dynamically
 <code>PREFIX</code>es but because dots can't appear in the local part of a
 prefixed name, all the package name and the final dot must be in
 the <code>PREFIX</code> declaration.</p>
-<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">fn:</span> <span class="sr">&lt;java:org.example.functions.&gt;</span>    <span class="c1"># Including the final dot</span>
-<span class="o">...</span>
-  <span class="n">FILTER</span> <span class="n">fn:alter</span><span class="p">(?</span><span class="n">x</span><span class="p">)</span>
-<span class="o">...</span>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="n">fn</span><span class="p">:</span> <span class="o">&lt;</span><span class="n">java</span><span class="p">:</span><span class="n">org</span><span class="p">.</span><span class="n">example</span><span class="p">.</span><span class="n">functions</span><span class="p">.</span><span class="o">&gt;</span>    # <span class="n">Including</span> <span class="n">the</span> <span class="n">final</span> <span class="nb">dot</span>
+<span class="p">...</span>
+  <span class="n">FILTER</span> <span class="n">fn</span><span class="p">:</span><span class="n">alter</span><span class="p">(</span>?<span class="n">x</span><span class="p">)</span>
+<span class="p">...</span>
 </pre></div>
 
 

Modified: websites/staging/jena/trunk/content/documentation/query/logging.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/logging.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/logging.html Thu Jun 20 10:18:34 2013
@@ -211,20 +211,20 @@ for full details of log4j.</p>
 <p>The reading of <code>log4j.properties</code> from the current directory is achieved
 by a call to <code>org.apache.jena.atlas.logging.Log.setlog4j()</code>.</p>
 <p>Example log4j.properties file:</p>
-<div class="codehilite"><pre><span class="n">log4j</span><span class="o">.</span><span class="n">rootLogger</span><span class="o">=</span><span class="n">INFO</span><span class="p">,</span> <span class="n">stdlog</span>
+<div class="codehilite"><pre><span class="n">log4j</span><span class="p">.</span><span class="n">rootLogger</span><span class="p">=</span><span class="n">INFO</span><span class="p">,</span> <span class="n">stdlog</span>
 
-<span class="n">log4j</span><span class="o">.</span><span class="n">appender</span><span class="o">.</span><span class="n">stdlog</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">log4j</span><span class="o">.</span><span class="n">ConsoleAppender</span>
-<span class="c1">## log4j.appender.stdlog.target=System.err</span>
-<span class="n">log4j</span><span class="o">.</span><span class="n">appender</span><span class="o">.</span><span class="n">stdlog</span><span class="o">.</span><span class="n">layout</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">log4j</span><span class="o">.</span><span class="n">PatternLayout</span>
-<span class="n">log4j</span><span class="o">.</span><span class="n">appender</span><span class="o">.</span><span class="n">stdlog</span><span class="o">.</span><span class="n">layout</span><span class="o">.</span><span class="n">ConversionPattern</span><span class="o">=</span><span class="nv">%d</span><span class="p">{</span><span class="n">HH:mm:ss</span><span class="p">}</span><span class="err"> </span><span class="nv">%</span><span class="err">-</span><span class="nv">5p</span><span class="err"> </span><span class="nv">%</span><span class="err">-</span><span class="nv">25c</span><span class="p">{</span><span class="mi">1</span><span class="p">}</span><span class="err"> </span><span class="o">::</span><span class="err"> </span><span class="nv">%m%n</span>
-
-<span class="c1"># Execution logging</span>
-<span class="n">log4j</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">hp</span><span class="o">.</span><span class="n">hpl</span><span class="o">.</span><span class="n">jena</span><span class="o">.</span><span class="n">arq</span><span class="o">.</span><span class="n">info</span><span class="o">=</span><span class="n">INFO</span>
-<span class="n">log4j</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">hp</span><span class="o">.</span><span class="n">hpl</span><span class="o">.</span><span class="n">jena</span><span class="o">.</span><span class="n">arq</span><span class="o">.</span><span class="nb">exec</span><span class="o">=</span><span class="n">INFO</span>
-
-<span class="c1"># Other</span>
-<span class="n">log4j</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">hp</span><span class="o">.</span><span class="n">hpl</span><span class="o">.</span><span class="n">jena</span><span class="o">=</span><span class="n">WARN</span>
-<span class="n">log4j</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">jena</span><span class="o">=</span><span class="n">WARN</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">appender</span><span class="p">.</span><span class="n">stdlog</span><span class="p">=</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">log4j</span><span class="p">.</span><span class="n">ConsoleAppender</span>
+## <span class="n">log4j</span><span class="p">.</span><span class="n">appender</span><span class="p">.</span><span class="n">stdlog</span><span class="p">.</span><span class="n">target</span><span class="p">=</span><span class="n">System</span><span class="p">.</span><span class="n">err</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">appender</span><span class="p">.</span><span class="n">stdlog</span><span class="p">.</span><span class="n">layout</span><span class="p">=</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">log4j</span><span class="p">.</span><span class="n">PatternLayout</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">appender</span><span class="p">.</span><span class="n">stdlog</span><span class="p">.</span><span class="n">layout</span><span class="p">.</span><span class="n">ConversionPattern</span><span class="p">=</span><span class="c">%d{HH:mm:ss} %-5p %-25c{1} :: %m%n</span>
+
+# <span class="n">Execution</span> <span class="n">logging</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">logger</span><span class="p">.</span><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">arq</span><span class="p">.</span><span class="n">info</span><span class="p">=</span><span class="n">INFO</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">logger</span><span class="p">.</span><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">arq</span><span class="p">.</span><span class="n">exec</span><span class="p">=</span><span class="n">INFO</span>
+
+# <span class="n">Other</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">logger</span><span class="p">.</span><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">WARN</span>
+<span class="n">log4j</span><span class="p">.</span><span class="n">logger</span><span class="p">.</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">jena</span><span class="p">=</span><span class="n">WARN</span>
 </pre></div>
 
 
@@ -241,25 +241,25 @@ the execution context.</p>
 <p>The logger used is called <code>com.hp.hpl.jena.arq.exec</code>. Message are sent
 at level "info". So for log4j, the following can be set in the
 log4j.properties file:</p>
-<div class="codehilite"><pre><span class="n">log4j</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">com</span><span class="o">.</span><span class="n">hp</span><span class="o">.</span><span class="n">hpl</span><span class="o">.</span><span class="n">jena</span><span class="o">.</span><span class="n">arq</span><span class="o">.</span><span class="nb">exec</span><span class="o">=</span><span class="n">INFO</span>
+<div class="codehilite"><pre><span class="n">log4j</span><span class="p">.</span><span class="n">logger</span><span class="p">.</span><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">arq</span><span class="p">.</span><span class="n">exec</span><span class="p">=</span><span class="n">INFO</span>
 </pre></div>
 
 
 <p>The context setting is for key (Java constant) <code>ARQ.symLogExec</code>. To set
 globally:</p>
-<div class="codehilite"><pre><span class="n">ARQ</span><span class="o">.</span><span class="n">setExecutionLogging</span><span class="p">(</span><span class="n">Explain</span><span class="o">.</span><span class="n">InfoLevel</span><span class="o">.</span><span class="n">ALL</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">ARQ</span><span class="p">.</span><span class="n">setExecutionLogging</span><span class="p">(</span><span class="n">Explain</span><span class="p">.</span><span class="n">InfoLevel</span><span class="p">.</span><span class="n">ALL</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>and it may also be set on an individual query execution using its local
 context.</p>
-<div class="codehilite"><pre> <span class="n">QueryExecutiuon</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="p">()</span><span class="o">.</span><span class="n">set</span><span class="p">(</span><span class="n">ARQ</span><span class="o">.</span><span class="n">symLogExec</span><span class="p">,</span> <span class="n">Explain</span><span class="o">.</span><span class="n">InfoLevel</span><span class="o">.</span><span class="n">ALL</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre> <span class="n">QueryExecutiuon</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">ARQ</span><span class="p">.</span><span class="n">symLogExec</span><span class="p">,</span> <span class="n">Explain</span><span class="p">.</span><span class="n">InfoLevel</span><span class="p">.</span><span class="n">ALL</span><span class="p">)</span> <span class="p">;</span>
 </pre></div>
 
 
 <p>On the command line:</p>
-<div class="codehilite"><pre> <span class="n">arq</span><span class="o">.</span><span class="n">query</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">data</span> <span class="n">data</span> <span class="n">file</span> <span class="o">--</span><span class="n">query</span><span class="o">=</span><span class="n">queryfile</span>
+<div class="codehilite"><pre> <span class="n">arq</span><span class="p">.</span><span class="n">query</span> <span class="o">--</span><span class="n">explain</span> <span class="o">--</span><span class="n">data</span> <span class="n">data</span> <span class="n">file</span> <span class="o">--</span><span class="n">query</span><span class="p">=</span><span class="n">queryfile</span>
 </pre></div>
 
 
@@ -293,9 +293,9 @@ context.</p>
 </table>
 <p>These can be specified as string, to the command line tools, or using
 the constants in <code>Explain.InfoLevel</code>.</p>
-<div class="codehilite"><pre> <span class="n">qExec</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">ARQ</span><span class="o">.</span><span class="n">symLogExec</span><span class="p">,</span> <span class="n">Explain</span><span class="o">.</span><span class="n">InfoLevel</span><span class="o">.</span><span class="n">FINE</span><span class="p">)</span><span class="err"> </span><span class="p">;</span>
+<div class="codehilite"><pre> <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">ARQ</span><span class="p">.</span><span class="n">symLogExec</span><span class="p">,</span> <span class="n">Explain</span><span class="p">.</span><span class="n">InfoLevel</span><span class="p">.</span><span class="n">FINE</span><span class="p">)</span> <span class="p">;</span>
 
- <span class="n">arq</span><span class="o">.</span><span class="n">query</span> <span class="o">--</span><span class="n">set</span> <span class="n">arq:logExec</span><span class="o">=</span><span class="n">FINE</span> <span class="o">--</span><span class="n">data</span> <span class="n">data</span> <span class="n">file</span> <span class="o">--</span><span class="n">query</span><span class="o">=</span><span class="n">queryfile</span>
+ <span class="n">arq</span><span class="p">.</span><span class="n">query</span> <span class="o">--</span><span class="n">set</span> <span class="n">arq</span><span class="p">:</span><span class="n">logExec</span><span class="p">=</span><span class="n">FINE</span> <span class="o">--</span><span class="n">data</span> <span class="n">data</span> <span class="n">file</span> <span class="o">--</span><span class="n">query</span><span class="p">=</span><span class="n">queryfile</span>
 </pre></div>
 
 



Mime
View raw message