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 2014/01/10 20:28:26 UTC
svn commit: r893605 - in /websites/staging/jena/trunk/content: ./
documentation/query/service.html
Author: buildbot
Date: Fri Jan 10 19:28:25 2014
New Revision: 893605
Log:
Staging update by buildbot for jena
Modified:
websites/staging/jena/trunk/content/ (props changed)
websites/staging/jena/trunk/content/documentation/query/service.html
Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jan 10 19:28:25 2014
@@ -1 +1 @@
-1556897
+1557232
Modified: websites/staging/jena/trunk/content/documentation/query/service.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/service.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/service.html Fri Jan 10 19:28:25 2014
@@ -137,16 +137,9 @@ allows a query to be sent to a remote se
results sent back (in RDF, or an
<a href="http://www.w3.org/TR/rdf-sparql-XMLres/">XML-based results format</a>
or even a <a href="http://www.w3.org/TR/rdf-sparql-json-res/">JSON one</a>).</p>
-<p>The SERVICE extension adds the ability to make SPARQL protocol
-calls within a query, not just send the whole query to the remote
-service.</p>
-<p>This involves is a syntactic extension and is available if the
-query is parsed with language <code>Syntax.syntaxARQ</code>.</p>
+<p><code>SERVICE</code> is a feature of SPARQL 1.1 that allows an executing query to
+to make a SPARQL protocol to another SPARQL endopoint.</p>
<h2 id="syntax">Syntax</h2>
-<p>A new keyword <code>SERVICE</code> is added to the extended SPARQL query
-language in ARQ. This keyword causes the sub-pattern to be sent to
-a named SPARQL service endpoint, and not matched against a local
-graph.</p>
<div class="codehilite"><pre><span class="n">PREFIX</span> <span class="p">:</span> <span class="o"><</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">PREFIX</span> <span class="n">dc</span><span class="p">:</span> <span class="o"><</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">/></span>
@@ -161,7 +154,7 @@ graph.</p>
<h2 id="algebra">Algebra</h2>
-<p>There is a new operator in the algebra.</p>
+<p>There is an operator in the algebra.</p>
<div class="codehilite"><pre><span class="p">(</span><span class="n">prefix</span> <span class="p">((</span><span class="n">dc</span><span class="p">:</span> <span class="o"><</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">/></span><span class="p">))</span>
<span class="p">(</span><span class="n">project</span> <span class="p">(</span>?<span class="n">a</span><span class="p">)</span>
<span class="p">(</span><span class="n">join</span>
@@ -188,7 +181,7 @@ the title already bound from earlier in
<h2 id="controlling-service-requests">Controlling <code>SERVICE</code> requests.</h2>
<p>The <code>SERVICE</code> operation in a SPARQL query may be configured via the Context.
The values for configuration can be set in the global context (accessed via
-<code>ARQ.getCOntext()</code>) or in the per-query execution context.</p>
+<code>ARQ.getContext()</code>) or in the per-query execution context.</p>
<p>The prefix <code>srv:</code> is the IRI <code><http://jena.hpl.hp.com/Service#></code>.</p>
<h3 id="summary">Summary</h3>
<table>