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 2019/06/10 13:50:02 UTC

svn commit: r1046067 - in /websites/staging/jena/trunk/content: ./ documentation/geosparql/geosparql-fuseki.html

Author: buildbot
Date: Mon Jun 10 13:50:02 2019
New Revision: 1046067

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/geosparql/geosparql-fuseki.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jun 10 13:50:02 2019
@@ -1 +1 @@
-1860610
+1860944

Modified: websites/staging/jena/trunk/content/documentation/geosparql/geosparql-fuseki.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/geosparql/geosparql-fuseki.html (original)
+++ websites/staging/jena/trunk/content/documentation/geosparql/geosparql-fuseki.html Mon Jun 10 13:50:02 2019
@@ -182,10 +182,14 @@ the <a href="index">GeoSPARQL Jena proje
 </pre></div>
 
 
+<p>or download the binary from the 
+<a href="http://central.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/">Maven central repository org/apache/jena/jena-fuseki-geosparql</a></p>
 <h3 id="command-line">Command Line<a class="headerlink" href="#command-line" title="Permanent link">&para;</a></h3>
-<p>Run from the command line (see <code>releases</code> tab) and send queries over HTTP.</p>
-<p>Get Started Example:
-<code>.\geosparql-fuseki.bat -rf "geosparql_test.rdf&gt;xml" -i</code></p>
+<p>Run from the command line and send queries over HTTP.</p>
+<p><code>java -jar jena-fuseki-geosparql-VER.jar ARGS</code></p>
+<p>written <code>geosparql-fuseki</code> below.</p>
+<h4 id="examples">Examples<a class="headerlink" href="#examples" title="Permanent link">&para;</a></h4>
+<p><code>java -jar jena-fuseki-geosparql-VER.jar -rf "geosparql_test.rdf" -i</code></p>
 <p>The example file <code>geosparql_test.rdf</code> in the GitHub repository contains several geometries in geodectic WGS84 (EPSG:4326).
 The example file <code>geosparql_test_27700.rdf</code> is identical but in the projected OSGB36 (EPSG:27770) used in the United Kingdom.
 Both will return the same results as GeoSPARQL treats all SRS as being projected.
@@ -193,29 +197,34 @@ RDFS inferencing is applied using the Ge
 <p>Examples:</p>
 <ul>
 <li>
-<p>Load RDF file (XML format) into memory and run server: <code>.\geosparql-fuseki.bat -rf "test.rdf&gt;xml"</code></p>
+<p>Load RDF file (XML format) into memory and run server: <code>geosparql-fuseki -rf "test.rdf"</code></p>
 </li>
 <li>
-<p>Load RDF file (TTL format: default) into memory, apply GeoSPARQL schema with RDFS inferencing and run server: <code>.\geosparql-fuseki.bat -rf "test.rdf" -i</code></p>
+<p>Load RDF file (TTL format: default) into memory, apply GeoSPARQL schema with RDFS inferencing and run server: <code>geosparql-fuseki -rf "test.rdf" -i</code></p>
 </li>
 <li>
-<p>Load RDF file into memory, write spatial index to file and run server: <code>.\geosparql-fuseki.bat -rf "test.rdf" -si "spatial.index"</code></p>
+<p>Load RDF file into memory, write spatial index to file and run server: <code>geosparql-fuseki -rf "test.rdf" -si "spatial.index"</code></p>
 </li>
 <li>
-<p>Load RDF file into persistent TDB and run server: <code>.\geosparql-fuseki.bat -rf "test.rdf&gt;xml" -t ".\TestTDB"</code></p>
+<p>Load RDF file into persistent TDB and run server: <code>geosparql-fuseki -rf "test.rdf" -t "TestTDB"</code></p>
 </li>
 <li>
-<p>Load from persistent TDB and run server: <code>.\geosparql-fuseki.bat -t ".\TestTDB"</code></p>
+<p>Load from persistent TDB and run server: <code>geosparql-fuseki -t "TestTDB"</code></p>
 </li>
 <li>
-<p>Load from persistent TDB, change port and run server: <code>.\geosparql-fuseki.bat -t ".\TestTDB" -p 3030</code></p>
+<p>Load from persistent TDB, change port and run server: <code>geosparql-fuseki -t "TestTDB" -p 3030</code></p>
 </li>
 </ul>
 <p>See <a href="https://github.com/galbiston/rdf-tables">rdf-tables</a> in <em>Output Formats/Serialisations</em> for supported RDF format keywords.</p>
-<p><strong>N.B.</strong> Windows Powershell will strip quotation pairs from arguments and so triple quotation pairs may be required, e.g. """test.rdf&gt;xml""". Otherwise, logging output will be sent to a file called "xml". Also, "The input line is too long" error can mean the path to the .bat exceeds the character limit and needs shortening.</p>
+<p><strong>N.B.</strong> Windows Powershell will strip quotation pairs from arguments and so triple quotation pairs may be required, e.g. """test.rdf""". Otherwise, logging output will be sent to a file called "xml". Also, "The input line is too long" error can mean the path to the  exceeds the character limit and needs shortening.</p>
 <h3 id="embedded-server">Embedded Server<a class="headerlink" href="#embedded-server" title="Permanent link">&para;</a></h3>
 <p>Run within a Java application to provide GeoSPARQL support over HTTP to other applications:</p>
-<p><code>GeosparqlServer server = new GeosparqlServer(portNumber, datasetName, isLoopbackOnly, dataset, isUpdate);</code></p>
+<div class="codehilite"><pre><span class="n">FusekiLogging</span><span class="p">.</span><span class="n">setLogging</span><span class="p">();</span>
+<span class="n">GeosparqlServer</span> <span class="n">server</span> <span class="p">=</span>
+    <span class="n">new</span> <span class="n">GeosparqlServer</span><span class="p">(</span><span class="n">portNumber</span><span class="p">,</span> <span class="n">datasetName</span><span class="p">,</span> <span class="n">isLoopbackOnly</span><span class="p">,</span> <span class="n">dataset</span><span class="p">,</span> <span class="n">isUpdate</span><span class="p">);</span>
+</pre></div>
+
+
 <h2 id="sparql-query-example">SPARQL Query Example<a class="headerlink" href="#sparql-query-example" title="Permanent link">&para;</a></h2>
 <p>Once the default server is running it can be queried using Jena as follows:</p>
 <div class="codehilite"><pre><span class="n">String</span> <span class="n">service</span> <span class="p">=</span> &quot;<span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">localhost</span><span class="p">:</span>3030<span class="o">/</span><span class="n">ds</span>&quot;<span class="p">;</span>