You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2013/02/11 11:03:52 UTC

svn commit: r850196 - in /websites/staging/jena/trunk/content: ./ documentation/query/ documentation/sdb/ documentation/serving_data/

Author: buildbot
Date: Mon Feb 11 10:03:51 2013
New Revision: 850196

Log:
Staging update by buildbot for jena

Added:
    websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html
Removed:
    websites/staging/jena/trunk/content/documentation/sdb/joseki_integration.html
Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/query/explain.html
    websites/staging/jena/trunk/content/documentation/query/index.html
    websites/staging/jena/trunk/content/documentation/query/logging.html
    websites/staging/jena/trunk/content/documentation/query/sparql-remote.html
    websites/staging/jena/trunk/content/documentation/serving_data/soh.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 11 10:03:51 2013
@@ -1 +1 @@
-1444696
+1444706

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 Mon Feb 11 10:03:51 2013
@@ -174,14 +174,37 @@ systems may perform different optimizati
 standard set. <code>qparse</code> shows the action of the memory-storage optimizer
 which applies all optimizations.</p>
 <p>Other useful arguments are:</p>
-<p><strong>qparse arguments</strong>
-Argument | Effect
--------- | -----
-<code>--print=query</code> | Print the parsed query
-<code>--print=op</code> | Print the SPARQL algebra for the query. This is exactly the algebra specified by the SPARQL standard.
-<code>--print=opt</code> | Print the optimized algebra for the query.
-<code>--print=quad</code> | Print the quad form algebra for the query.
-<code>--print=optquad</code> | Print the quad-form optimized algebra for the query.</p>
+<p><strong>qparse arguments</strong></p>
+<table>
+<thead>
+<tr>
+<th>Argument</th>
+<th>Effect</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><code>--print=query</code></td>
+<td>Print the parsed query</td>
+</tr>
+<tr>
+<td><code>--print=op</code></td>
+<td>Print the SPARQL algebra for the query. This is exactly the algebra specified by the SPARQL standard.</td>
+</tr>
+<tr>
+<td><code>--print=opt</code></td>
+<td>Print the optimized algebra for the query.</td>
+</tr>
+<tr>
+<td><code>--print=quad</code></td>
+<td>Print the quad form algebra for the query.</td>
+</tr>
+<tr>
+<td><code>--print=optquad</code></td>
+<td>Print the quad-form optimized algebra for the query.</td>
+</tr>
+</tbody>
+</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>

Modified: websites/staging/jena/trunk/content/documentation/query/index.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/index.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/index.html Mon Feb 11 10:03:51 2013
@@ -240,7 +240,7 @@ support for the submission is for legacy
 </ul>
 <h2 id="see-also">See Also</h2>
 <ul>
-<li><a href="http://www.joseki.org">Joseki</a> - Server implementation of the SPARQL protocol.</li>
+<li><a href="../serving/data/index.html">Fuseki</a> - Server implementation of the SPARQL protocol.</li>
 <li><a href="../tdb">TDB - A SPARQL database for Jena</a>, a pure Java persistence layer for large graphs, high performance applications and embedded use.</li>
 <li><a href="../sdb">SDB - A SPARQL database for Jena</a>, using SQL databases.</li>
 </ul>

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 Mon Feb 11 10:03:51 2013
@@ -225,8 +225,8 @@ by a call to <code>org.openjena.atlas.lo
 </pre></div>
 
 
-<p><a href="http://joseki.org/" title="http://joseki.org/">Joseki</a> server output can
-include <a href="http://openjena.org/wiki/ARQ/Explain" title="ARQ/Explain">ARQ execution logging</a>.</p>
+<p>A <a href="../serving/data/index.html">Fuseki</a>
+server output can include <a href="explain.html" title="ARQ/Explain">ARQ execution logging</a>.</p>
 <p>Note: ARQ performs some direct control of logging in the test suite and
 depends on log4j to compile.</p>
 <h2 id="execution-logging">Execution Logging</h2>

Modified: websites/staging/jena/trunk/content/documentation/query/sparql-remote.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/sparql-remote.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/sparql-remote.html Mon Feb 11 10:03:51 2013
@@ -158,12 +158,10 @@
 <a href="http://www.w3.org/2001/sw/DataAccess/proto-wd/">remote access protocol</a>.
 The remote access protocol can be used with plain HTTP or over
 <a href="http://www.w3.org/TR/soap12-part0/">SOAP</a>.</p>
-<p>See <a href="http://www.joseki.org/">Joseki</a> for an implementation of an
-RDF publishing server, using the SPARQL protocol (HTTP and SOAP).
-Joseki uses ARQ to provide SPARQL query access to Jena models,
-including Jena persistent models.</p>
-<p>ARQ includes a query engine capable of using the HTTP version. A
-version using SOAP is include in Joseki.</p>
+<p>See <a href="../serving_data/index.html">Fuseki</a> for an implementation of the
+SPARQL protocol over HTTP. Fuseki uses ARQ to provide SPARQL 
+query access to Jena models, including Jena persistent models.</p>
+<p>ARQ includes a query engine capable of using the HTTP version.</p>
 <h2 id="from-your-application">From your application</h2>
 <p>The <code>QueryExecutionFactory</code> has methods for creating a
 <code>QueryExecution</code> object for remote use.

Added: websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html (added)
+++ websites/staging/jena/trunk/content/documentation/sdb/fuseki_integration.html Mon Feb 11 10:03:51 2013
@@ -0,0 +1,204 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+  <link href="/css/jena.css" rel="stylesheet" type="text/css">
+
+  <title>Apache Jena - SDB Fuseki Integration</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
+  <script src="/js/jena-navigation.js" type="text/javascript"></script>
+</head>
+
+<body>
+  <div id="header">
+    <div id="logoblock">
+    <img alt="Apache Jena" src="/images/jena-logo/jena-logo-small.png"/>
+    </div>
+
+    <div id="titleblock">
+      <h1 class="title">Apache Jena</h1>
+      <div id="topmenu" class="tabbar round-10">
+        <ul>
+        <li class="round-top-8"><a class="round-top-8" href="/index.html" id="home_menu">Home</a></li>
+        <li class="round-top-8"><a class="round-top-8" href="/help_and_support/index.html">Support</a></li>
+        <li class="round-top-8"><a class="round-top-8" href="/getting_started/index.html">Getting started</a></li>
+        <li class="round-top-8"><a class="round-top-8" href="/tutorials/index.html">Tutorials</a></li>
+        <li class="round-top-8"><a class="round-top-8" href="/documentation/index.html">Documentation</a></li>
+        </ul>
+      </div>
+    </div>
+  </div>
+
+  <div id="navigation" class="clear">
+  <h1 id="quick-links">Quick links</h1>
+<ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/download/index.html">Downloads</a></li>
+<li><a href="/help_and_support/index.html">Help and support</a></li>
+<li><a href="/help_and_support/bugs_and_suggestions.html">Report a bug</a></li>
+<li><a href="/about_jena/roadmap.html">Roadmap</a></li>
+<li><a href="/getting_involved/index.html">Getting involved</a></li>
+<li><a href="/documentation/">Documentation</a></li>
+</ul>
+<h1 id="about-jena">About Jena</h1>
+<ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/about_jena/about.html">About Jena</a></li>
+<li><a href="/about_jena/architecture.html">Architecture</a></li>
+<li><a href="/about_jena/roadmap.html">Roadmap</a></li>
+<li><a href="/about_jena/team.html">Project team</a></li>
+<li><a href="/about_jena/contributions.html">Related projects</a></li>
+</ul>
+<h1 id="download">Download</h1>
+<ul>
+<li><a href="/download/index.html">Downloading Jena</a></li>
+<li><a href="/download/maven.html">Using Maven</a></li>
+<li><a href="/download/osgi.html">Using OSGi</a></li>
+</ul>
+<h1 id="help-and-support">Help and support</h1>
+<ul>
+<li><a href="/help_and_support/index.html">Getting help</a></li>
+<li><a href="/help_and_support/bugs_and_suggestions.html">Bugs and suggestions</a></li>
+</ul>
+<h1 id="getting-started">Getting Started</h1>
+<ul>
+<li><a href="/getting_started/index.html">A first Jena project</a></li>
+<li><a href="/getting_started/rdf_api.html">RDF API overview</a></li>
+<li><a href="/getting_started/sparql.html">Querying RDF with SPARQL</a></li>
+<li><a href="/getting_started/fuseki.html">Serving RDF over HTTP</a></li>
+<li><a href="/getting_started/tell_me_how.html">Tell me how to ...</a></li>
+</ul>
+<h1 id="tutorials">Tutorials</h1>
+<ul>
+<li><a href="/tutorials/index.html">Tutorials index</a></li>
+<li><a href="/tutorials/rdf_api.html">RDF tutorial</a></li>
+<li><a href="/tutorials/sparql.html">SPARQL queries</a></li>
+<li><a href="/tutorials/using_jena_with_eclipse.html">Using Jena with Eclipse</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/documentation/index.html">Overview</a></li>
+<li><a href="/documentation/javadoc/">Javadoc</a></li>
+<li><a href="/documentation/rdf/index.html">RDF</a></li>
+<li><a href="/documentation/io/index.html">I/O</a></li>
+<li><a href="/documentation/query/index.html">SPARQL (ARQ)</a><ul>
+<li><a href="/documentation/query/app_api.html">Application API</a></li>
+<li><a href="/documentation/query/cmds.html">Command line utilities</a></li>
+</ul>
+</li>
+<li><a href="/documentation/tdb/index.html">TDB</a><ul>
+<li><a href="/documentation/tdb/tdb_transactions.html">API for Transactions</a></li>
+<li><a href="/documentation/tdb/assembler.html">Dataset Assembler</a></li>
+</ul>
+</li>
+<li><a href="/documentation/serving_data/index.html">Fuseki: Serving Data</a></li>
+<li><a href="/documentation/ontology/index.html">Ontology</a></li>
+<li><a href="/documentation/inference/index.html">Inference</a></li>
+<li><a href="/documentation/assembler/index.html">Assembler</a><ul>
+<li><a href="/documentation/assembler/assembler-howto.html">Assembler how-to</a></li>
+<li><a href="/documentation/assembler/inside-assemblers.html">Inside assemblers</a></li>
+</ul>
+</li>
+<li><a href="/documentation/sdb/index.html">SDB</a></li>
+<li><a href="/documentation/larq/index.html">LARQ: Free Text Search</a></li>
+<li><a href="/documentation/notes/index.html">Notes</a><ul>
+<li><a href="/documentation/notes/concurrency-howto.html">Concurrency how-to</a></li>
+<li><a href="/documentation/notes/event-handler-howto.html">Event handler how-to</a></li>
+<li><a href="/documentation/notes/file-manager.html">File manager how-to</a></li>
+<li><a href="/documentation/notes/model-factory.html">Model factory how-to</a></li>
+<li><a href="/documentation/notes/rdf-frames.html">RDF frames</a></li>
+<li><a href="/documentation/notes/reification.html">Reification how-to</a></li>
+<li><a href="/documentation/notes/typed-literals.html">Typed literals how-to</a></li>
+<li><a href="/documentation/notes/iri.html">Support for IRI's</a></li>
+<li><a href="/documentation/notes/sse.html">SSE</a></li>
+</ul>
+</li>
+<li><a href="/documentation/tools/index.html">Tools</a><ul>
+<li><a href="/documentation/tools/schemagen.html">schemagen</a></li>
+<li><a href="/documentation/tools/eyeball-getting-started.html">eyeball</a></li>
+</ul>
+</li>
+</ul>
+<h1 id="getting-involved">Getting Involved</h1>
+<ul>
+<li><a href="/getting_involved/index.html">Contributing to Jena</a></li>
+</ul>
+<h1 id="asf-links">ASF links</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+  </div>
+
+  <div id="content">
+    <h1 class="title">SDB Fuseki Integration</h1>
+    <p><a href="../serving_data/index.html" title="Apache Jena Fuseki">Fuseki</a> is a server
+that implements the SPARQL protocol for HTTP. It can be used to
+give a SPARQL interface to an SDB installation.</p>
+<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>
+
+<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>
+</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>
+
+ <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="p">]</span>
+    <span class="o">.</span>
+</pre></div>
+
+
+<p>The database installation does not need to accept public requests,
+it needs only to be accessible to the Fuseki server itself.</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011&ndash;2013 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache Jena, Jena, the Apache Jena project logo,
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Modified: websites/staging/jena/trunk/content/documentation/serving_data/soh.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/serving_data/soh.html (original)
+++ websites/staging/jena/trunk/content/documentation/serving_data/soh.html Mon Feb 11 10:03:51 2013
@@ -165,7 +165,7 @@ with any compliant SPARQL 1.1 system off
 <li><code>s-query</code> – SPARQL 1.1 Query, both GET and POST of queries.</li>
 <li><code>s-update</code> – SPARQL 1.1 Update</li>
 <li><code>s-update-form</code> – SPARQL 1.1 Update using the HTML form and a
-    parameter of <code>request=</code> (compatible with Joseki).</li>
+    parameter of <code>request=</code>.</li>
 </ul>
 <p>Each command supports the <code>-v</code> flag to print out details of the
 HTTP interaction.</p>
@@ -232,26 +232,6 @@ command:</p>
 <li>Query: <code>http://localhost:3030/dataset/query</code></li>
 <li>Update: <code>http://localhost:3030/dataset/update</code></li>
 </ul>
-<h3 id="joseki">Joseki</h3>
-<p><a href="http://www.joseki.org/">Joseki</a> allows a
-choice of server endpoint names in the configuration file.</p>
-<p>Used with the default configuration file joseki-config.ttl:</p>
-<ul>
-<li>
-<p>Query:</p>
-<ul>
-<li><code>http://localhost:2020/books</code> -- example books database</li>
-<li><code>http://localhost:2020/sparql</code> -- general purpose SPARQL query
-    engine</li>
-<li><code>http://localhost:2020/sparql/read</code> -- companion to updatable
-    dataset (if enabled)</li>
-</ul>
-</li>
-<li>
-<p>Update: <code>http://localhost:2020/update/service</code> (if enabled)</p>
-</li>
-<li>HTTP: Not supported</li>
-</ul>
   </div>
 
   <div id="footer">