You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/01/10 20:28:09 UTC
svn commit: r1557232 -
/jena/site/trunk/content/documentation/query/service.mdtext
Author: andy
Date: Fri Jan 10 19:28:08 2014
New Revision: 1557232
URL: http://svn.apache.org/r1557232
Log:
SERVICE is not an extension any more.
Modified:
jena/site/trunk/content/documentation/query/service.mdtext
Modified: jena/site/trunk/content/documentation/query/service.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/service.mdtext?rev=1557232&r1=1557231&r2=1557232&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/service.mdtext (original)
+++ jena/site/trunk/content/documentation/query/service.mdtext Fri Jan 10 19:28:08 2014
@@ -9,20 +9,11 @@ results sent back (in RDF, or an
[XML-based results format](http://www.w3.org/TR/rdf-sparql-XMLres/)
or even a [JSON one](http://www.w3.org/TR/rdf-sparql-json-res/)).
-The SERVICE extension adds the ability to make SPARQL protocol
-calls within a query, not just send the whole query to the remote
-service.
-
-This involves is a syntactic extension and is available if the
-query is parsed with language `Syntax.syntaxARQ`.
+`SERVICE` is a feature of SPARQL 1.1 that allows an executing query to
+to make a SPARQL protocol to another SPARQL endopoint.
## Syntax
-A new keyword `SERVICE` 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.
-
PREFIX : <http://example/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
@@ -36,7 +27,7 @@ graph.
## Algebra
-There is a new operator in the algebra.
+There is an operator in the algebra.
(prefix ((dc: <http://purl.org/dc/elements/1.1/>))
(project (?a)
@@ -65,7 +56,7 @@ the title already bound from earlier in
The `SERVICE` operation in a SPARQL query may be configured via the Context.
The values for configuration can be set in the global context (accessed via
-`ARQ.getCOntext()`) or in the per-query execution context.
+`ARQ.getContext()`) or in the per-query execution context.
The prefix `srv:` is the IRI `<http://jena.hpl.hp.com/Service#>`.