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 2022/02/02 19:40:07 UTC

[jena-site] branch main updated: GeoSPARQL assembler

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5f56624  GeoSPARQL assembler
5f56624 is described below

commit 5f5662446fb646a5d244b8bf1e79851368fc6f63
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Mon Dec 27 19:32:13 2021 +0000

    GeoSPARQL assembler
---
 source/documentation/geosparql/__index.md          | 456 ++++++++++++++-------
 .../documentation/geosparql/geosparql-assembler.md |  91 ++++
 source/documentation/geosparql/geosparql-fuseki.md |  96 +++--
 3 files changed, 457 insertions(+), 186 deletions(-)

diff --git a/source/documentation/geosparql/__index.md b/source/documentation/geosparql/__index.md
index 73a7adb..87d420b 100644
--- a/source/documentation/geosparql/__index.md
+++ b/source/documentation/geosparql/__index.md
@@ -5,11 +5,26 @@ slug: index
 
 An implementation of GeoSPARQL 1.0 standard for SPARQL query or API.
 
-An [integration with Fuseki](geosparql-fuseki) is available but attention should be paid to the contents of this page to understand supported features.
+Integration with Fuseki is provided either by using the 
+[GeoSPARQL assembler](geosparql-assembler.html) or using the self-contained original
+[jena-fuseki-geosparql](geosparql-fuseki.html).  In either case, this page
+describes the GeoSPARQL supported features.
+
+## Getting Started
+GeoSPARQL Jena can be accessed as a library using Maven etc. from Maven Central.
+
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-geosparql</artifactId>
+      <version>...</version>
+    </dependency>
 
 ## Features
-This implementation follows the 11-052r4 OGC GeoSPARQL standard (<https://www.ogc.org/standards/geosparql>).
-The implementation is pure Java and does not require any set-up or configuration of any third party relational databases and geospatial extensions.
+
+This implementation follows the 11-052r4 OGC GeoSPARQL standard
+(<https://www.ogc.org/standards/geosparql>).  The implementation is pure Java
+and does not require any set-up or configuration of any third party relational
+databases and geospatial extensions.
 
 It implements the six Conformance Classes described in the GeoSPARQL document:
 
@@ -20,49 +35,56 @@ It implements the six Conformance Classes described in the GeoSPARQL document:
 * RDFS Entailment Extension
 * Query Rewrite Extension
 
-The WKT (as described in 11-052r4) and GML 2.0 Simple Features Profile (10-100r3) serialisations are supported.
-Additional serialisations can be implemented by extending the
-`org.apache.jena.geosparql.implementation.datatype.GeometryDatatype`
-and registering with Jena's `org.apache.jena.datatypes.TypeMapper`.
+The WKT (as described in 11-052r4) and GML 2.0 Simple Features Profile
+(10-100r3) serialisations are supported.  Additional serialisations can be
+implemented by extending the
+`org.apache.jena.geosparql.implementation.datatype.GeometryDatatype` and
+registering with Jena's `org.apache.jena.datatypes.TypeMapper`.
 
 All three spatial relation families are supported: _Simple Feature_, _Egenhofer_ and _RCC8_.
 
-Indexing and caching of spatial objects and relations is performed _on-demand_ during query execution.
-Therefore, set-up delays should be minimal. Spatial indexing is available based on the _STRtree_ from the JTS library. The _STRtree_ is readonly once built and contributions of a _QuadTree_ implementation are welcome.
+Indexing and caching of spatial objects and relations is performed _on-demand_
+during query execution.  Therefore, set-up delays should be minimal. Spatial
+indexing is available based on the _STRtree_ from the JTS library. The _STRtree_
+is readonly once built and contributions of a _QuadTree_ implementation are
+welcome.
 
-Benchmarking of the implementation against Strabon and Parliament has found it to be comparable or quicker.
-The benchmarking used was the Geographical query and dataset (<http://geographica.di.uoa.gr/>).
+Benchmarking of the implementation against Strabon and Parliament has found it
+to be comparable or quicker.  The benchmarking used was the Geographical query
+and dataset (<http://geographica.di.uoa.gr/>).
 
 ## Additional Features
+
 The following additional features are also provided:
 
 * Geometry properties are automatically calculated and do not need to be asserted in the dataset.
-* Conversion between EPSG spatial/coordinate reference systems is applied automatically. Therefore, mixed datasets or querying can be applied. This is reliance upon local installation of Apache SIS EPSG dataset, see __Key Dependencies__.
-* Units of measure are automatically converted to the appropriate units for the coordinate reference system.
-* Geometry, transformation and spatial relation results are stored in persistent and configurable time-limited caches to improve response times and reduce recalculations.
-* Dataset conversion between serialisations and spatial/coordinate reference systems. Tabular data can also be loaded, see RDF Tables project (<https://github.com/galbiston/rdf-tables>).
+* Conversion between EPSG spatial/coordinate reference systems is applied
+  automatically. Therefore, mixed datasets or querying can be applied. This is
+  reliance upon local installation of Apache SIS EPSG dataset, see __Key
+  Dependencies__.
+* Units of measure are automatically converted to the appropriate units for the
+  coordinate reference system.
+* Geometry, transformation and spatial relation results are stored in persistent
+  and configurable time-limited caches to improve response times and reduce
+  recalculations.
+* Dataset conversion between serialisations and spatial/coordinate reference
+  systems. Tabular data can also be loaded, see RDF Tables project
+  (<https://github.com/galbiston/rdf-tables>).
 * Functions to test Geometry properties directly on Geometry Literals have been included for convenience.
 
-## Getting Started
-GeoSPARQL Jena can be accessed as a library using Maven etc. from Maven Central.
-
-    <dependency>
-      <groupId>org.apache.jena</groupId>
-      <artifactId>jena-geosparql</artifactId>
-      <version>...</version>
-    </dependency>
-
-A HTTP server (SPARQL endpoint) using is available - for details, see the [Geosparql Fuseki documentation](geosparql-fuseki).
-
 ### SPARQL Query Configuration
-Using the library for SPARQL querying requires one line of code.
-All indexing and caching is performed during query execution and so there should be minimal delay during initialisation.
-This will register the Property Functions with ARQ query engine and configures the _indexes_ used for time-limited caching.
+
+Using the library for SPARQL querying requires one line of code.  All indexing
+and caching is performed during query execution and so there should be minimal
+delay during initialisation.  This will register the Property Functions with ARQ
+query engine and configures the _indexes_ used for time-limited caching.
 
 There are three _indexes_ which can be configured independently or switched off.
-These _indexes_ retain data that may be required again when a query is being executed but may not be required between different queries.
-Therefore, the memory usage will grow during query execution and then recede as data is not re-used.
-All the _indexes_ support concurrency and can be set to a maximum size or allowed to increase capacity as required.
+These _indexes_ retain data that may be required again when a query is being
+executed but may not be required between different queries.  Therefore, the
+memory usage will grow during query execution and then recede as data is not
+re-used.  All the _indexes_ support concurrency and can be set to a maximum size
+or allowed to increase capacity as required.
 
 * _Geometry Literal_: Geometry objects following de-serialisation from `Geometry Literal`.
 * _Geometry Transform_: Geometry objects resulting from coordinate transformations between spatial reference systems.
@@ -83,9 +105,10 @@ The _indexes_ can be configured by size, retention duration and frequency of cle
 
 * Reset indexes and other stored data: `GeoSPARQLConfig.reset()`
 
-A variety of configuration methods are provided in 
-`org.apache.jena.geosparql.configuration.GeoSPARQLConfig`.
-Caching of frequently used but small quantity data is also applied in several _registries_, e.g. coordinate reference systems and mathematical transformations.
+A variety of configuration methods are provided in
+`org.apache.jena.geosparql.configuration.GeoSPARQLConfig`.  Caching of
+frequently used but small quantity data is also applied in several _registries_,
+e.g. coordinate reference systems and mathematical transformations.
 
 Example GeoSPARQL query:
 
@@ -112,21 +135,25 @@ To query a Model with GeoSPARQL or standard SPARQL:
         ResultSetFormatter.outputAsTSV(rs);
     }
 
-If your dataset needs to be separate from your application and accessed over HTTP then you probably need
-the [GeoSPARQL Fuseki project](geosparql-fuseki).
-The GeoSPARQL functionality needs to be setup in the application or Fuseki server where the dataset is located.
-
-It is **recommended** that `hasDefaultGeometry` properties are included in the dataset to access all functionality.
-It is **necessary** that `SpatialObject` classes are asserted or inferred (i.e. a reasoner with the GeoSPARQL schema is applied) in the dataset.
-Methods to prepare a dataset can be found in `org.apache.jena.geosparql.configuration.GeoSPARQLOperations`.
-
-### API
-The library can be used as an API in Java.
-The main class to handle geometries and their spatial relations is the `GeometryWrapper`.
-This can be obtained by parsing the string representation of a geometry using the appropriate datatype (e.g. WKT or GML).
-Alternatively, a Literal can be extracted automatically using the `GeometryWrapper.extract()` method and registered datatypes.
-The `GeometryWrapperFactory` can be used to directly construct a `GeometryWrapper`.
-There is overlap between spatial relation families so repeated methods are not specified.
+If your dataset needs to be separate from your application and accessed over
+HTTP then you probably need the [GeoSPARQL Assembler](geosparql-assembler) to
+integrate with Fuseki.  The GeoSPARQL functionality needs to be setup in the
+application or Fuseki server where the dataset is located.
+
+It is **recommended** that `hasDefaultGeometry` properties are included in the
+dataset to access all functionality.  It is **necessary** that `SpatialObject`
+classes are asserted or inferred (i.e. a reasoner with the GeoSPARQL schema is
+applied) in the dataset.  Methods to prepare a dataset can be found in
+`org.apache.jena.geosparql.configuration.GeoSPARQLOperations`.
+
+### API The library can be used as an API in Java.  The main class to handle
+geometries and their spatial relations is the `GeometryWrapper`.  This can be
+obtained by parsing the string representation of a geometry using the
+appropriate datatype (e.g. WKT or GML).  Alternatively, a Literal can be
+extracted automatically using the `GeometryWrapper.extract()` method and
+registered datatypes.  The `GeometryWrapperFactory` can be used to directly
+construct a `GeometryWrapper`.  There is overlap between spatial relation
+families so repeated methods are not specified.
 
 * Parse a `Geometry Literal`: `GeometryWrapper geometryWrapper = WKTDatatype.INSTANCE.parse("POINT(1 1)");`
 
@@ -149,20 +176,30 @@ The GeoSPARQL standard specifies that WKT Geometry Literals without an SRS URI a
 ## Key Dependencies
 
 ### GeoSPARQL
-The OGC GeoSPARQL standard supports representing and querying geospatial data on the Semantic Web.
-GeoSPARQL defines a vocabulary for representing geospatial data in RDF, and it defines an extension to the SPARQL query language for processing geospatial data.
-In addition, GeoSPARQL is designed to accommodate systems based on qualitative spatial reasoning and systems based on quantitative spatial computations.
 
-The GeoSPARQL standard is based upon the OGC Simple Features standard (<http://www.opengeospatial.org/standards/sfa>) used in relational databases.
+The OGC GeoSPARQL standard supports representing and querying geospatial data on
+the Semantic Web.  GeoSPARQL defines a vocabulary for representing geospatial
+data in RDF, and it defines an extension to the SPARQL query language for
+processing geospatial data.  In addition, GeoSPARQL is designed to accommodate
+systems based on qualitative spatial reasoning and systems based on quantitative
+spatial computations.
+
+The GeoSPARQL standard is based upon the OGC Simple Features standard
+(<http://www.opengeospatial.org/standards/sfa>) used in relational databases.
 Modifications and enhancements have been made for usage with RDF and SPARQL.
-The Simple Features standard, and by extension GeoSPARQL, simplify calculations to Euclidean planer geometry.
-Therefore, datasets using a geographic spatial/coordinate reference system, which are based on latitude and longitude on an ellipsoid, e.g. WGS84, will have minor error introduced.
-This error has been deemed acceptable due to the simplification in calculation it offers.
+The Simple Features standard, and by extension GeoSPARQL, simplify calculations
+to Euclidean planer geometry.  Therefore, datasets using a geographic
+spatial/coordinate reference system, which are based on latitude and longitude
+on an ellipsoid, e.g. WGS84, will have minor error introduced.  This error has
+been deemed acceptable due to the simplification in calculation it offers.
 
 ### Apache SIS/SIS_DATA Environment Variable
-Apache Spatial Information System (SIS) is a free software, Java language library for developing geospatial applications.
-SIS provides data structures for geographic features and associated meta-data along with methods to manipulate those data structures.
-The library is an implementation of GeoAPI 3.0 interfaces and can be used for desktop or server applications.
+
+Apache Spatial Information System (SIS) is a free software, Java language
+library for developing geospatial applications.  SIS provides data structures
+for geographic features and associated meta-data along with methods to
+manipulate those data structures.  The library is an implementation of GeoAPI
+3.0 interfaces and can be used for desktop or server applications.
 
 A subset of the EPSG spatial/coordinate reference systems are included by default.
 The full EPSG dataset is not distributed due to the EPSG terms of use being incompatible with the Apache Licence.
@@ -180,33 +217,49 @@ The JTS Topology Suite is a Java library for creating and manipulating vector ge
 The following are implementation points that may be useful during usage.
 
 ### GeoSPARQL Schema
-An RDF/XML schema has been published for the GeoSPARQL v1.0 standard (v1.0.1 - <http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf>).
-This can be applied to Jena Models (see [the inference documentation](/documentation/inference/)) to provide RDFS and OWL inferencing on a GeoSPARQL conforming dataset.
-However, the published schema does not conform with the standard.
 
-The property `hasDefaultGeometry` is missing from the schema and instead the `defaultGeometry` property is stated.
+An RDF/XML schema has been published for the GeoSPARQL v1.0 standard (v1.0.1 -
+<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf>).  This can
+be applied to Jena Models (see [the inference
+documentation](/documentation/inference/)) to provide RDFS and OWL inferencing
+on a GeoSPARQL conforming dataset.  However, the published schema does not
+conform with the standard.
+
+The property `hasDefaultGeometry` is missing from the schema and instead the
+`defaultGeometry` property is stated.
 
-This prevents RDFS inferencing being performed correctly and has been reported to the OGC Standards Tracker.
-A corrected version of the schema is available in the `Resources` folder.
+This prevents RDFS inferencing being performed correctly and has been reported
+to the OGC Standards Tracker.  A corrected version of the schema is available in
+the `Resources` folder.
 
 ### Spatial Relations
-The GeoSPARQL and Simple Features standard both define the DE-9IM intersection patterns for the three spatial relation families.
-However, these patterns are not always consistent with the patterns stated by the JTS library for certain relations.
 
-For example, GeoSPARQL/Simple Features use `TFFFTFFFT` _equals_ relations in _Simple Feature_, _Egenhofer_ and _RCC8_.
-However, this does not yield the usually expected result when comparing a pair of point geometries.
-The Simple Features standard states that the boundary of a point is empty.
-Therefore, the boundary intersection of two points would also be empty so give a negative comparison result.
+The GeoSPARQL and Simple Features standard both define the DE-9IM intersection
+patterns for the three spatial relation families.  However, these patterns are
+not always consistent with the patterns stated by the JTS library for certain
+relations.
+
+For example, GeoSPARQL/Simple Features use `TFFFTFFFT` _equals_ relations in
+_Simple Feature_, _Egenhofer_ and _RCC8_.  However, this does not yield the
+usually expected result when comparing a pair of point geometries.  The Simple
+Features standard states that the boundary of a point is empty.  Therefore, the
+boundary intersection of two points would also be empty so give a negative
+comparison result.
 
-JTS, and other libraries, use the alternative intersection pattern of `T*F**FFF*`.
-This is a combination of the _within_ and _contains_ relations and yields the expected results for all geometry types.
+JTS, and other libraries, use the alternative intersection pattern of
+`T*F**FFF*`.  This is a combination of the _within_ and _contains_ relations and
+yields the expected results for all geometry types.
 
-The spatial relations utilised by JTS have been implemented as the extension `spatial:equals` filter and property functions.
-A user can also supply their own DE-9IM intersection patterns by using the `geof:relate` filter function.
+The spatial relations utilised by JTS have been implemented as the extension
+`spatial:equals` filter and property functions.  A user can also supply their
+own DE-9IM intersection patterns by using the `geof:relate` filter function.
 
 ### Spatial Relations and Geometry Shapes/Types
-The spatial relations for the three spatial families do not apply to all combinations of the geometry shapes (`Point`, `LineString`, `Polygon`) and their collections  (`MultiPoint`, `MultiLineString`, `MultiPolygon`).
-Therefore, some queries may not produce all the results that may initially be expected.
+
+The spatial relations for the three spatial families do not apply to all
+combinations of the geometry shapes (`Point`, `LineString`, `Polygon`) and their
+collections (`MultiPoint`, `MultiLineString`, `MultiPolygon`).  Therefore, some
+queries may not produce all the results that may initially be expected.
 
 Some examples are:
 * In some relations there may only be results when a collection of shapes is being used, e.g. two multi-points can overlap but two points cannot.
@@ -216,10 +269,13 @@ Some examples are:
 Refer to pages 8-10 of 11-052r4 GeoSPARQL standard for more details.
 
 ### Equals Relations
-The three equals relations (_sfEquals_, _ehEquals_ and _rccEquals_) use spatial equality and not lexical equality.
-Therefore, some comparisons using these relations may not be as expected.
+
+The three equals relations (_sfEquals_, _ehEquals_ and _rccEquals_) use spatial
+equality and not lexical equality.  Therefore, some comparisons using these
+relations may not be as expected.
 
 The JTS description of _sfEquals_ is:
+
 * True if two geometries have at least one point in common and no point of either geometry lies in the exterior of the other geometry.
 
 Therefore, two empty geometries will return false as they are not spatially equal.
@@ -228,10 +284,12 @@ Shapes which differ in the number of points but have the same geometry are equal
 e.g. `LINESTRING (0 0, 0 10)` and `LINESTRING (0 0, 0 5, 0 10)` are spatially equal.
 
 ### Query Rewrite Extension
-The Query Rewrite Extension provides for simpler querying syntax.
-`Feature` and `Geometry` can be used in spatial relations without needing the relations to be asserted in the dataset.
-This also means the `Geometry Literal` does not need to be specified in the query.
-In the case of `Features` this requires the `hasDefaultGeometry` property to be used in the dataset.
+
+The Query Rewrite Extension provides for simpler querying syntax.  `Feature` and
+`Geometry` can be used in spatial relations without needing the relations to be
+asserted in the dataset.  This also means the `Geometry Literal` does not need
+to be specified in the query.  In the case of `Features` this requires the
+`hasDefaultGeometry` property to be used in the dataset.
 
 This means the query:
 
@@ -248,30 +306,45 @@ becomes:
 
         ?subj geo:sfContains ?obj .
 
-Methods are available to apply the `hasDefaultGeometry` property to every `Geometry` with a single `hasGeometry`
-property, see `org.apache.jena.geosparql.configuration.GeoSPARQLOperations`.
+Methods are available to apply the `hasDefaultGeometry` property to every
+`Geometry` with a single `hasGeometry` property, see
+`org.apache.jena.geosparql.configuration.GeoSPARQLOperations`.
 
-Depending upon the spatial relation, queries may include the specified `Feature` and `Geometry` in the results.
-e.g. FeatureA is bound in a query on a dataset only containing FeatureA and GeometryA. The results FeatureA and GeometryA are returned rather than no results.
-Therefore, filtering using `FILTER(!sameTerm(?subj, ?obj))` etc. may be needed in some cases.
-The query rewrite functionality can be switched off in the library configuration, see `org.apache.jena.geosparql.configuration.GeoSPARQLConfig`.
+Depending upon the spatial relation, queries may include the specified `Feature`
+and `Geometry` in the results.  e.g. FeatureA is bound in a query on a dataset
+only containing FeatureA and GeometryA. The results FeatureA and GeometryA are
+returned rather than no results.  Therefore, filtering using
+`FILTER(!sameTerm(?subj, ?obj))` etc. may be needed in some cases.  The query
+rewrite functionality can be switched off in the library configuration, see
+`org.apache.jena.geosparql.configuration.GeoSPARQLConfig`.
 
-Each dataset is assigned a Query Rewrite Index to store the results of previous tests.
-There is the potential that relations are tested multiple times in a query (i.e. *Feature-Feature*, *Feature-Geometry*, *Geometry-Geometry*, *Geometry-Feature*).
-Therefore, it is useful to retain the results for at least a short period of time.
+Each dataset is assigned a Query Rewrite Index to store the results of previous
+tests.  There is the potential that relations are tested multiple times in a
+query (i.e. *Feature-Feature*, *Feature-Geometry*, *Geometry-Geometry*,
+*Geometry-Feature*).  Therefore, it is useful to retain the results for at least
+a short period of time.
 
-Iterating through all combinations of spatial relations for a dataset containing _n_ Geometry Literals will produce 27*n*^2 true/false results (asserting the true result statements in a dataset would be a subset).
-Control is given on a dataset basis to allow choice in when and how storage of rewrite results is applied, e.g. store all found results on a small dataset but on demand for a large dataset.
+Iterating through all combinations of spatial relations for a dataset containing
+_n_ Geometry Literals will produce 27*n*^2 true/false results (asserting the
+true result statements in a dataset would be a subset).  Control is given on a
+dataset basis to allow choice in when and how storage of rewrite results is
+applied, e.g. store all found results on a small dataset but on demand for a
+large dataset.
 
-This index can be configured on a global and individual dataset basis for the maximum size and duration until unused items are removed.
-Query rewriting can be switched on independently of the indexes, i.e. query rewriting can be performed but an index is configured to not store the result.
+This index can be configured on a global and individual dataset basis for the
+maximum size and duration until unused items are removed.  Query rewriting can
+be switched on independently of the indexes, i.e. query rewriting can be
+performed but an index is configured to not store the result.
 
 ### Dataset Conversion
-Methods to convert datasets between serialisations and spatial/coordinate reference systems are available in:
+
+Methods to convert datasets between serialisations and spatial/coordinate
+reference systems are available in:
 `org.apache.jena.geosparql..configuration.GeoSPARQLOperations`
 
-The following list shows some of the operations that can be performed.
-Once these operations have been performed they can be serialised to file or stored in a Jena TDB to remove the need to reprocess.
+The following list shows some of the operations that can be performed.  Once
+these operations have been performed they can be serialised to file or stored in
+a Jena TDB to remove the need to reprocess.
 
 * Load a Jena Model from file: `Model dataModel = RDFDataMgr.loadModel("data.ttl");`
 
@@ -289,27 +362,40 @@ Once these operations have been performed they can be serialised to file or stor
 
 * Create Spatial Index for a Model within a Dataset for spatial querying: `Dataset dataset = SpatialIndex.wrapModel(model);`
 
-Other operations are available and can be applied to a Dataset containing multiple Models and in some cases files and folders.
-These operations do __not__ configure and setup the GeoSPARQL functions or indexes that are required for querying.
+Other operations are available and can be applied to a Dataset containing
+multiple Models and in some cases files and folders.  These operations do
+__not__ configure and setup the GeoSPARQL functions or indexes that are required
+for querying.
 
 ### Spatial Index
-A Spatial Index can be created to improve searching of a dataset.
-The Spatial Index is expected to be unique to the dataset and should not be shared between datasets.
-Once built the Spatial Index cannot have additional items added to it.
 
-A Spatial Index is required for the `jena-spatial` property functions and is optional for the GeoSPARQL spatial relations.
-Only a single SRS can be used for a Spatial Index and it is recommended that datasets are converted to a single SRS, see `GeoSPARQLOperations`.
+A Spatial Index can be created to improve searching of a dataset.  The Spatial
+Index is expected to be unique to the dataset and should not be shared between
+datasets.  Once built the Spatial Index cannot have additional items added to
+it.
+
+A Spatial Index is required for the `jena-spatial` property functions and is
+optional for the GeoSPARQL spatial relations.  Only a single SRS can be used for
+a Spatial Index and it is recommended that datasets are converted to a single
+SRS, see `GeoSPARQLOperations`.
 
-Setting up a Spatial Index can be done through `org.apache.jena.geosparql.configuration.GeoSPARQLConfig`.
-Additional methods for building, loading and saving Spatial Indexes are provided in `org.apache.jena.geosparql.spatial.SpatialIndex`.
+Setting up a Spatial Index can be done through
+`org.apache.jena.geosparql.configuration.GeoSPARQLConfig`.  Additional methods
+for building, loading and saving Spatial Indexes are provided in
+`org.apache.jena.geosparql.spatial.SpatialIndex`.
 
 ### Units URI
-Spatial/coordinate reference systems use a variety of measuring systems for defining distances.
-These can be specified using a URI identifier, as either URL or URN, with conversion undertaken automatically as required.
-It should be noted that there is error inherent in spatial reference systems and some variation in values may occur between different systems.
 
-The following table gives some examples of units that are supported (additional units can be added to the `UnitsRegistry` using the `javax.measure.Unit` API.
-These URI are all in the namespace `http://www.opengis.net/def/uom/OGC/1.0/` and here use the prefix `units`.
+Spatial/coordinate reference systems use a variety of measuring systems for
+defining distances.  These can be specified using a URI identifier, as either
+URL or URN, with conversion undertaken automatically as required.  It should be
+noted that there is error inherent in spatial reference systems and some
+variation in values may occur between different systems.
+
+The following table gives some examples of units that are supported (additional
+units can be added to the `UnitsRegistry` using the `javax.measure.Unit` API.
+These URI are all in the namespace `http://www.opengis.net/def/uom/OGC/1.0/` and
+here use the prefix `units`.
 
 URI | Description
 ---- | ----
@@ -319,16 +405,30 @@ units:mile or units:statuteMile | Miles
 units:degree | Degrees
 units:radian | Radians
 
-Full listing of default Units can be found in `org.apache.jena.geosparql.implementation.vocabulary.Unit_URI`.
+Full listing of default Units can be found in
+`org.apache.jena.geosparql.implementation.vocabulary.Unit_URI`.
 
 ## Geography Markup Language Support (GML)
-The supported GML profile is GML 2.0 Simple Features Profile (10-100r3), which is a profile of GML 3.2.1 (07-036r1).
-The profile restricts the geometry shapes permitted in GML 3.2.1 to a subset, see 10-100r3 page 22.
-The profile supports Points, LineString and Polygon shapes used in WKT. There are also additional shape serialisations available in the profile that do not exist in WKT or JTS to provide simplified representations which would otherwise use LineStrings or Polygons.
-Curves can be described by LineStringSegment, Arc, Circle and CircleByCenterPoint. Surfaces can be formed similarly to Polygons or using Curves.
-These additional shapes can be read as part of a dataset or query but will not be produced if the SRS of the shape is transformed, instead a LineString or Polygon representation will be produced.
 
-Details of the GML structure for these shapes can be found in the [geometryPrimitives.xsd](http://www.datypic.com/sc/niem21/s-geometryPrimitives.xsd.html), [geometryBasic0d1d.xsd](http://www.datypic.com/sc/niem21/s-geometryBasic0d1d.xsd.html), [geometryBasic2d.xsd](http://www.datypic.com/sc/niem21/s-geometryBasic2d.xsd.html) and [geometryAggregates.xsd](http://www.datypic.com/sc/niem21/s-geometryAggregates.xsd.html) schemas.
+The supported GML profile is GML 2.0 Simple Features Profile (10-100r3), which
+is a profile of GML 3.2.1 (07-036r1).  The profile restricts the geometry shapes
+permitted in GML 3.2.1 to a subset, see 10-100r3 page 22.  The profile supports
+Points, LineString and Polygon shapes used in WKT. There are also additional
+shape serialisations available in the profile that do not exist in WKT or JTS to
+provide simplified representations which would otherwise use LineStrings or
+Polygons.  Curves can be described by LineStringSegment, Arc, Circle and
+CircleByCenterPoint. Surfaces can be formed similarly to Polygons or using
+Curves.  These additional shapes can be read as part of a dataset or query but
+will not be produced if the SRS of the shape is transformed, instead a
+LineString or Polygon representation will be produced.
+
+Details of the GML structure for these shapes can be found in the
+[geometryPrimitives.xsd](http://www.datypic.com/sc/niem21/s-geometryPrimitives.xsd.html),
+[geometryBasic0d1d.xsd](http://www.datypic.com/sc/niem21/s-geometryBasic0d1d.xsd.html),
+[geometryBasic2d.xsd](http://www.datypic.com/sc/niem21/s-geometryBasic2d.xsd.html)
+and
+[geometryAggregates.xsd](http://www.datypic.com/sc/niem21/s-geometryAggregates.xsd.html)
+schemas.
 
 The labelling of collections is as follows:
 
@@ -340,15 +440,26 @@ MultiSurface | Polygon, Surface
 MultiGeometry | Point, LineString, Curve, Polygon, Surface
 
 ## Apache Jena Spatial Functions/WGS84 Geo Predicates
-The `jena-spatial` module contains several SPARQL functions for querying datasets using the WGS84 Geo predicates for latitude (`http://www.w3.org/2003/01/geo/wgs84_pos#lat`) and longitude (`http://www.w3.org/2003/01/geo/wgs84_pos#long`).
-These `jena-spatial` functions are supported for both Geo predicates and Geometry Literals, i.e. a GeoSPARQL dataset.
-Additional SPARQL filter functions have been provided to convert Geo predicate properties into WKT strings and calculate Great Circle and Euclidean distances.
-The `jena-spatial`functions require setting up a Spatial Index for the target Dataset, e.g. `GeoSPARQLConfig.setupSpatialIndex(dataset);`, see Spatial Index section.
+
+The `jena-spatial` module contains several SPARQL functions for querying
+datasets using the WGS84 Geo predicates for latitude
+(`http://www.w3.org/2003/01/geo/wgs84_pos#lat`) and longitude
+(`http://www.w3.org/2003/01/geo/wgs84_pos#long`).  These `jena-spatial`
+functions are supported for both Geo predicates and Geometry Literals, i.e. a
+GeoSPARQL dataset.  Additional SPARQL filter functions have been provided to
+convert Geo predicate properties into WKT strings and calculate Great Circle and
+Euclidean distances.  The `jena-spatial`functions require setting up a Spatial
+Index for the target Dataset,
+e.g. `GeoSPARQLConfig.setupSpatialIndex(dataset);`, see Spatial Index section.
 
 ### Supported Features
-The Geo predicate form of spatial representation is restricted to only 'Point' shapes in the WGS84 spatial/coordinate reference system.
-The Geo predicates are properties of the `Feature` and do not use the properties and structure of the GeoSPARQL standard, including Geometry Literals.
-Methods are available to convert datasets from Geo predicates to GeoSPARQL structure, see: `org.apache.jena.geosparql.configuration.GeoSPARQLOperations`
+
+The Geo predicate form of spatial representation is restricted to only 'Point'
+shapes in the WGS84 spatial/coordinate reference system.  The Geo predicates are
+properties of the `Feature` and do not use the properties and structure of the
+GeoSPARQL standard, including Geometry Literals.  Methods are available to
+convert datasets from Geo predicates to GeoSPARQL structure, see:
+`org.apache.jena.geosparql.configuration.GeoSPARQLOperations`
 
 The spatial relations and query re-writing of GeoSPARQL outlined previously has been implemented for Geo predicates.
 However, only certain spatial relations are valid for `Point` to `Point` relationships.
@@ -363,7 +474,8 @@ Geo predicates can be converted to Geometry Literals in query and then used with
       BIND("POLYGON((...))"^^<http://www.opengis.net/ont/geosparql#wktLiteral> AS ?box) .
       FILTER(geof:sfContains(?box, ?point))
 
-Alternatively, utilising more shapes, relations and spatial reference systems can be achieved by converting the dataset to the GeoSPARQL structure.
+Alternatively, utilising more shapes, relations and spatial reference systems
+can be achieved by converting the dataset to the GeoSPARQL structure.
 
       ?subj geo:hasGeometry ?geom .
       ?geom geo:hasSerialization ?geomLit .
@@ -371,12 +483,19 @@ Alternatively, utilising more shapes, relations and spatial reference systems ca
       BIND("POLYGON((...))"^^<http://www.opengis.net/ont/geosparql#wktLiteral> AS ?box) .
       FILTER(geof:sfContains(?box, ?geomLit))
 
-Datasets can contain both Geo predicates and Geometry Literals without interference.
-However, a dataset containing both types will only examine those `Features` which have Geometry Literals for spatial relations, i.e. the check for Geo predicates is a fallback when Geometry Literals aren't found.
-Therefore, it is **not** recommended to insert new Geo predicate properties after a dataset has been converted to GeoSPARQL structure (unless corresponding Geometry and Geometry Literals are included).
+Datasets can contain both Geo predicates and Geometry Literals without
+interference.  However, a dataset containing both types will only examine those
+`Features` which have Geometry Literals for spatial relations, i.e. the check
+for Geo predicates is a fallback when Geometry Literals aren't found.
+Therefore, it is **not** recommended to insert new Geo predicate properties
+after a dataset has been converted to GeoSPARQL structure (unless corresponding
+Geometry and Geometry Literals are included).
 
 ### Filter Functions
-These filter functions are available in the `http://jena.apache.org/function/spatial#` namespace and here use the prefix `spatialF`.
+
+These filter functions are available in the
+`http://jena.apache.org/function/spatial#` namespace and here use the prefix
+`spatialF`.
 
 Function Name | Description
 ------------- | -------------
@@ -396,16 +515,25 @@ Function Name | Description
 *?geomLit2* **spatialF:transformDatatype**(*?geomLit1*, *?datatypeURI*) | Transform Geometry Literal by Datatype.
 *?geomLit2* **spatialF:transformSRS**(*?geomLit1*, *?srsURI*) | Transform Geometry Literal by SRS.
 
-### Property Functions
-These property functions are available in the `http://jena.apache.org/spatial#` namespace and here use the prefix `spatial`.
-This is the same namespace as the `jena-spatial` functions utilise and these form direct replacements.
-The subject `Feature` may be bound, to test the pattern is true, or unbound, to find all cases the pattern is true.
-These property functions require a `Spatial Index` to be setup for the dataset.
+### Property Functions 
 
-The optional *?limit* parameter restricts the number of results returned. The default value is -1 which returns all results. No guarantee is given for ordering of results.
-The optional *?unitsURI* parameter specifies the units of a distance. The default value is kilometres through the string or resource `http://www.opengis.net/def/uom/OGC/1.0/kilometre`.
+These property functions are available in the `http://jena.apache.org/spatial#`
+namespace and here use the prefix `spatial`.  This is the same namespace as the
+`jena-spatial` functions utilise and these form direct replacements.  The
+subject `Feature` may be bound, to test the pattern is true, or unbound, to find
+all cases the pattern is true.  These property functions require a `Spatial
+Index` to be setup for the dataset.
 
-The `spatial:equals` property function behaves the same way as the main GeoSPARQL property functions. Either, both or neither of the subject and object can be bound. A `Spatial Index` is **not** required for the dataset with the `spatial:equals` property function.
+The optional *?limit* parameter restricts the number of results returned. The
+default value is -1 which returns all results. No guarantee is given for
+ordering of results.  The optional *?unitsURI* parameter specifies the units of
+a distance. The default value is kilometres through the string or resource
+`http://www.opengis.net/def/uom/OGC/1.0/kilometre`.
+
+The `spatial:equals` property function behaves the same way as the main
+GeoSPARQL property functions. Either, both or neither of the subject and object
+can be bound. A `Spatial Index` is **not** required for the dataset with the
+`spatial:equals` property function.
 
 Function Name | Description
 ------------- | -------------
@@ -419,10 +547,13 @@ Function Name | Description
 *?feature* **spatial:withinCircle**(*?lat* *?lon* *?radius* [ *?unitsURI* [ *?limit*]]) | Find *features* that are within *radius* of the *distance* units, up to the *limit*.
 *?feature* **spatial:withinCircleGeom**(*?geomLit* *?radius* [ *?unitsURI* [ *?limit*]]) | Find *features* that are within *radius* of the *distance* units, up to the *limit*.
 
-The Cardinal Functions find all `Features` that are present in the specified direction.
-In Geographic spatial reference systems (SRS), e.g. WGS84 and CRS84, the East/West directions wrap around.
-Therefore, a search is made from the shape's edge for up to half the range of the SRS (i.e. 180 degrees in WGS84) and will continue across the East/West boundary if necessary.
-In other SRS, e.g. Projected onto a flat plane, the East/West check is made from the shape's edge to the farthest limit of the SRS range, i.e. there is no wrap around.
+The Cardinal Functions find all `Features` that are present in the specified
+direction.  In Geographic spatial reference systems (SRS), e.g. WGS84 and CRS84,
+the East/West directions wrap around.  Therefore, a search is made from the
+shape's edge for up to half the range of the SRS (i.e. 180 degrees in WGS84) and
+will continue across the East/West boundary if necessary.  In other SRS,
+e.g. Projected onto a flat plane, the East/West check is made from the shape's
+edge to the farthest limit of the SRS range, i.e. there is no wrap around.
 
 Cardinal Function Name | Description
 ------------- | -------------
@@ -436,11 +567,15 @@ Cardinal Function Name | Description
 *?feature* **spatial:westGeom**(*?geomLit* [ *?limit*]) | Find *features* that are West of the Geometry Literal, up to the *limit*.
 
 ## Geometry Property Filter Functions
-The GeoSPARQL standard provides a set of properties related to geometries, see Section 8.4.
-These are applied on the Geometry resource and are automatically determined if not asserted in the data.
-However, it may be necessary to retrieve the properties of a Geometry Literal directly without an associated Geometry resource.
-Filter functions to do this have been included as part of the `http://www.opengis.net/def/function/geosparql/` namespace as a minor variation to the GeoSPARQL standard.
-The relevant functions using the `geof` prefix are:
+
+The GeoSPARQL standard provides a set of properties related to geometries, see
+Section 8.4.  These are applied on the Geometry resource and are automatically
+determined if not asserted in the data.  However, it may be necessary to
+retrieve the properties of a Geometry Literal directly without an associated
+Geometry resource.  Filter functions to do this have been included as part of
+the `http://www.opengis.net/def/function/geosparql/` namespace as a minor
+variation to the GeoSPARQL standard.  The relevant functions using the `geof`
+prefix are:
 
 Geometry Property Filter Function Name | Description
 ------------- | -------------
@@ -451,14 +586,18 @@ Geometry Property Filter Function Name | Description
 *?boolean* **geof:isSimple**(*?geometryLiteral*) | True, if geometry is simple.
 *?boolean* **geof:isValid**(*?geometryLiteral*) | True, if geometry is topologically valid.
 
-A dataset that follows the GeoSPARQL Feature-Geometry-GeometryLiteral can have simpler SPARQL queries without needing to use these functions by taking advantage of the Query Rewriting functionality.
-The `geof:isValid` filter function and `geo:isValid` property for a Geometry resource are not part of the GeoSPARQL standard but have been included as a minor variation.
+A dataset that follows the GeoSPARQL Feature-Geometry-GeometryLiteral can have
+simpler SPARQL queries without needing to use these functions by taking
+advantage of the Query Rewriting functionality.  The `geof:isValid` filter
+function and `geo:isValid` property for a Geometry resource are not part of the
+GeoSPARQL standard but have been included as a minor variation.
 
 ## Future Work
 
 * Implementing GeoJSON as a `GeometryLiteral` serialisation (<https://tools.ietf.org/html/rfc7946>).
 
 ## Contributors
+
 The following individuals have made contributions to this project:
 
 * Greg Albiston
@@ -466,14 +605,19 @@ The following individuals have made contributions to this project:
 * Taha Osman
 
 ## Why Use This Implementation?
-There are several implementations of the GeoSPARQL standard.
-The conformance and completeness of these implementations is difficult to ascertain and varies between features.
 
-However, the following may be of interest when considering whether to use this implementation based on reviewing several alternatives.
+There are several implementations of the GeoSPARQL standard.  The conformance
+and completeness of these implementations is difficult to ascertain and varies
+between features.
+
+However, the following may be of interest when considering whether to use this
+implementation based on reviewing several alternatives.
 
 This Implementation|Other Implementations
 ---------- | ----------
-Implements all six components of the GeoSPARQL standard.|Generally partially implement the Geometry Topology and Geometry Extensions. Do not implement the Query Rewrite Extension.
+Implements all six components of the GeoSPARQL standard.|Generally partially implement the Geometry Topology and Geometry Extensions. Do not implement the Query Rewrite
+Extension.
+
 Pure Java and does not require a supporting relational database. Configuration requires a single line of code (although Apache SIS may need some setting up, see above).|Require setting up a database, configuring a geospatial extension and setting environment variables.
 Uses Jena, which conforms to the W3C standards for RDF and SPARQL. New versions of the standards will quickly feed through.|Not fully RDF and SPARQL compliant, e.g. RDFS/OWL inferencing or SPARQL syntax. Adding your own schema may not produce inferences.
 Automatically determines geometry properties and handles mixed cases of units or coordinate reference systems. The GeoSPARQL standard suggests this approach but does not require it.|Tend to produce errors or no results in these situations.
diff --git a/source/documentation/geosparql/geosparql-assembler.md b/source/documentation/geosparql/geosparql-assembler.md
new file mode 100644
index 0000000..5e06f17
--- /dev/null
+++ b/source/documentation/geosparql/geosparql-assembler.md
@@ -0,0 +1,91 @@
+---
+title: GeoSPARQL Assembler
+---
+
+Details of the GeoSPARQL support are proivded on the [GeoSPARQL page](index).
+
+The assembler for GeoSPARQL support is part of the `jena-geosparql` artifact and
+miost be on the Fuseki server classpath.
+
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-geosparql</artifactId>
+      <version>...</version>
+    </dependency>
+
+or download the binary from the 
+[Maven central repository org/apache/jena/jena-geosparql](https://repo1.maven.org/maven2/org/apache/jena/jena-geosparql/)
+
+The GeoSPARQL assembler can be used in a Fuseki configuration file.
+
+This example is of a read-only 
+
+```
+PREFIX fuseki:    <http://jena.apache.org/fuseki#>
+PREFIX rdf:       <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX rdfs:      <http://www.w3.org/2000/01/rdf-schema#>
+PREFIX tdb2:      <http://jena.apache.org/2016/tdb#>
+
+PREFIX ja:        <http://jena.hpl.hp.com/2005/11/Assembler#>
+PREFIX geosparql: <http://jena.apache.org/geosparql#>
+
+<#service> rdf:type fuseki:Service;
+    fuseki:name "geo";
+    fuseki:endpoint [ fuseki:operation fuseki:query; ] ;
+    fuseki:dataset <#geo_ds> .
+
+<#geo_ds> rdf:type geosparql:geosparqlDataset ;
+    geosparql:spatialIndexFile     "DB/spatial.index";
+    geosparql:dataset <#baseDataset> ;
+    .
+
+<#baseDataset> rdf:type tdb2:DatasetTDB2 ;
+    tdb2:location "DB/" ;
+    .
+```
+
+It is possible to run with a data file loaded into memory and 
+an spatial in-memory index:
+```
+PREFIX fuseki:    <http://jena.apache.org/fuseki#>
+PREFIX rdf:       <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX rdfs:      <http://www.w3.org/2000/01/rdf-schema#>
+
+PREFIX ja:        <http://jena.hpl.hp.com/2005/11/Assembler#>
+PREFIX geosparql: <http://jena.apache.org/geosparql#>
+
+<#service> rdf:type fuseki:Service;
+    fuseki:name "ds";
+    fuseki:endpoint [ fuseki:operation fuseki:query; ] ;
+    fuseki:dataset <#geo_ds> .
+
+# In-memory data and index.
+
+<#geo_ds> rdf:type geosparql:geosparqlDataset ;
+    geosparql:dataset <#baseDataset> .
+
+<#baseDataset> rdf:type ja:MemoryDataset ;
+    ja:data <file:geosparql_data.ttl> ;
+    .
+```
+
+The full assembler properties with the default settings is:
+```
+<#geo_ds> rdf:type geosparql:geosparqlDataset ;
+    # Build in-memory is absent.
+    geosparql:spatialIndexFile     "spatial.index";
+
+    ## Default settings. See documentation for meanings.
+    geosparql:inference            true ;
+    geosparql:queryRewrite         true ;
+    geosparql:indexEnabled         true ;
+    geosparql:applyDefaultGeometry false ;
+    
+    # 3 item lists: [Geometry Literal, Geometry Transform, Query Rewrite]
+    geosparql:indexSizes           "-1,-1,-1" ;       # Default - unlimited.
+    geosparql:indexExpires         "5000,5000,5000" ; # Default - time in milliseconds.
+
+    ## Required setting - data over which GeoSPARQL is applied.
+    geosparql:dataset <#baseDataset> ;
+    .
+```
diff --git a/source/documentation/geosparql/geosparql-fuseki.md b/source/documentation/geosparql/geosparql-fuseki.md
index 456718f..3f78748 100644
--- a/source/documentation/geosparql/geosparql-fuseki.md
+++ b/source/documentation/geosparql/geosparql-fuseki.md
@@ -3,50 +3,86 @@ title: GeoSPARQL Fuseki
 ---
 
 This application provides a HTTP server compliant with the GeoSPARQL standard.
-It uses the embedded server Fuseki and provides additional parameters for dataset loading.
 
-The project uses the GeoSPARQL implementation from the [GeoSPARQL Jena module](index), which includes a range of functions in addition to those from the GeoSPARQL standard.
+GeoSPARQL can also be integrated with Fuseki using the 
+[GeoSPARQL assembler](#fuseki-assembler) with a general Fuseki server.
 
-Currently, **there is no GUI interface** as provided in the Fuseki distribution.
+## `jena-fuseki-geosparql` {#jena-fuseki-geosparql}
 
-The intended usage is to specify a TDB folder (either TDB1 or TDB2, created if required) for persistent storage of the dataset. File loading, inferencing and data conversion operations can also be specified to load and manipulate data into the dataset. When the server is restarted these conversion operations are not required again (as they have been stored in the dataset) unless there are relevant changes. The TDB dataset can also be prepared and manipulated programatically using the Jena API.
-
-Updates can be made to the dataset while the Fuseki server is running. However, these changes will not be applied to inferencing and spatial indexes until the server restarts (any default or specified spatial index file must not exists to trigger building). This is due to the current implementation of RDFS inferencing in Jena (and is required in any Fuseki server with inferencing) and the selected spatial index.
+GeoSPARQL Fuseki can be accessed as an embedded server using Maven etc. from Maven Central or run from the command line.
+SPARQL queries directly on Jena Datasets and Models can be done using
+the [GeoSPARQL Jena module](index.html).
 
-A subset of the EPSG spatial/coordinate reference systems are included by default from the Apache SIS project (http://sis.apache.org).
-The full EPSG dataset is not distributed due to the EPSG terms of use being incompatible with the Apache Licence.
-Several options are available to include the EPSG dataset by setting the `SIS_DATA` environment variable (http://sis.apache.org/epsg.html).
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-fuseki-geosparql</artifactId>
+      <version>...</version>
+    </dependency>
 
-It is expected that at least one Geometry Literal or Geo Predicate is present in a dataset (otherwise a standard Fuseki server can be used).
-A spatial index is created and new data cannot be added to the index once built.
-The spatial index can optionally be stored for future usage and needs to removed from a TDB folder if the index is to rebuilt.
+or download the binary from the 
+[Maven central repository org/apache/jena/jena-fuseki-geosparql](https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/)
+
+This uses the embedded server Fuseki and provides additional parameters for dataset loading.
+
+The project uses the GeoSPARQL implementation from the [GeoSPARQL Jena module](index.html), which includes a range of functions in addition to those from the GeoSPARQL standard.
+
+Currently, there is no GUI interface as provided with this server.
+
+The intended usage is to specify a TDB folder (either TDB1 or TDB2, created if
+required) for persistent storage of the dataset. File loading, inferencing and
+data conversion operations can also be specified to load and manipulate data
+into the dataset. When the server is restarted these conversion operations are
+not required again (as they have been stored in the dataset) unless there are
+relevant changes. The TDB dataset can also be prepared and manipulated
+programatically using the Jena API.
+
+Updates can be made to the dataset while the Fuseki server is running. However,
+these changes will not be applied to inferencing and spatial indexes until the
+server restarts (any default or specified spatial index file must not exists to
+trigger building). This is due to the current implementation of RDFS inferencing
+in Jena (and is required in any Fuseki server with inferencing) and the selected
+spatial index.
+
+A subset of the EPSG spatial/coordinate reference systems are included by
+default from the Apache SIS project (http://sis.apache.org).  The full EPSG
+dataset is not distributed due to the EPSG terms of use being incompatible with
+the Apache Licence.  Several options are available to include the EPSG dataset
+by setting the `SIS_DATA` environment variable
+(http://sis.apache.org/epsg.html).
+
+It is expected that at least one Geometry Literal or Geo Predicate is present in
+a dataset (otherwise a standard Fuseki server can be used).  A spatial index is
+created and new data cannot be added to the index once built.  The spatial index
+can optionally be stored for future usage and needs to removed from a TDB folder
+if the index is to rebuilt.
 
 ## Clarifications on GeoSPARQL
 
 ### Geographic Markup Language (GML)
-GeoSPARQL refers to the Geographic Markup Language (GML) as one format for `GeometryLiterals`. This does not mean that GML is part of the GeoSPARQL standard. Instead a subset of geometry encodings from the GML standards are permitted (specifically the `GML 2.0 Simple Features Profile (10-100r3)` is supported by GeoSPARQL Jena). The expected encoding of data is in RDF triples and can be loaded from any RDF file format supported by Apache Jena. Conversion of GML to RDF is out of scope of t [...]
-
-### Geo Predicates Lat/Lon
-Historically, geopsatial data has frequently been encoded as Latitude/Longitude coordinates in the WGS84 coordinate reference system. The GeoSPARQL standard specifically chooses not to adopt this approach and instead uses the more versatile `GeomtryLiteral`, which permits multiple encoding formats that support multiple coordinate reference systems and geometry shapes. Therefore, Lat/Lon Geo Predicates are not part of the GeoSPARQL standard. However, GeoSPARQL Jena provides two methods to [...]
 
-- 1) Conversion of Geo Predicates to the GeoSPARQL data structure (encoding the Lat/Lon as a Point geometry).
-- 2) Spatial extension which provides property and filter functions accepting Lat/Lon arguments.
+GeoSPARQL refers to the Geographic Markup Language (GML) as one format for
+`GeometryLiterals`. This does not mean that GML is part of the GeoSPARQL
+standard. Instead a subset of geometry encodings from the GML standards are
+permitted (specifically the `GML 2.0 Simple Features Profile (10-100r3)` is
+supported by GeoSPARQL Jena). The expected encoding of data is in RDF triples
+and can be loaded from any RDF file format supported by Apache Jena. Conversion
+of GML to RDF is out of scope of the GeoSPARQL standard and Apache Jena.
 
-The Spatial extension functions (documented in the [GeoSPARQL Jena module](index)) support triples in either GeoSPARQL data structure or Geo Predicates. Therefore, converting a dataset to GeoSPARQL will not lose functionality. By converting to the GeoSPARQL data structure, datasets can include a broader range of geospatial data.
+### Geo Predicates Lat/Lon
 
-## Getting Started
-GeoSPARQL Fuseki can be accessed as an embedded server using Maven etc. from Maven Central or run from the command line.
-SPARQL queries directly on Jena Datasets and Models can be done using
-the [GeoSPARQL Jena module](index).
+Historically, geospatial data has frequently been encoded as Latitude/Longitude
+coordinates in the WGS84 coordinate reference system. The GeoSPARQL standard
+specifically chooses not to adopt this approach and instead uses the more
+versatile `GeometryLiteral`, which permits multiple encoding formats that support
+multiple coordinate reference systems and geometry shapes. Therefore, Lat/Lon
+Geo Predicates are not part of the GeoSPARQL standard. However, GeoSPARQL Jena
+provides two methods to support users with geo predicates in their geospatial
+data.
 
-    <dependency>
-      <groupId>org.apache.jena</groupId>
-      <artifactId>fuseki-geosparql</artifactId>
-      <version>...</version>
-    </dependency>
+1. Conversion of Geo Predicates to the GeoSPARQL data structure (encoding the Lat/Lon as a Point geometry).
+2. Spatial extension which provides property and filter functions accepting Lat/Lon arguments.
 
-or download the binary from the 
-[Maven central repository org/apache/jena/jena-fuseki-geosparql](http://central.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/)
+The Spatial extension functions (documented in the [GeoSPARQL Jena module](index)) support triples in either GeoSPARQL data structure or Geo Predicates. Therefore, converting a dataset to GeoSPARQL will not lose functionality. By converting to the GeoSPARQL data structure, datasets can include a broader range of geospatial data.
 
 ### Command Line
 Run from the command line and send queries over HTTP.