Hi,

jena-spatial-1.0.0 is now released at:
http://code.google.com/p/jena-spatial/. It's an extension to Apache Jena
ARQ, which combines SPARQL and simple spatial query. It gives applications
the ability to perform simple spatial searches within SPARQL queries. Lucene
spatial <http://lucene.apache.org/core/4_3_1/spatial/index.html> is used
for the spatial data indexing and searching. Spatial indexes are additional
information for accessing the RDF graph. For more information, please check
the user document: user
document<http://code.google.com/p/jena-spatial/wiki/JenaSpatialUserDocument>
*
*
*Illustration*

This query makes a spatial query for the places within 10 kilometers of
Bristol UK (which as latitude/longitude of 51.46, 2.6).

PREFIX spatial: <http://jena.apache.org/spatial#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?placeName
{
   ?place spatial:query (51.46 2.6 10 'km') .
   ?place rdfs:label ?placeName
}

It's a GSoC 2013 project for Apache Jena. Many thanks to the mentoring
of Andy Seaborne, and the valuable feedback from Marco Neumann. The
project is still ongoing. We appreciate your comments and suggestions!

Cheers,Ying Jiang

Reply via email to