[ 
https://issues.apache.org/jira/browse/JENA-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631781#comment-13631781
 ] 

Andy Seaborne commented on JENA-10:
-----------------------------------

GSoC project description:

Not all spatial queries are complicated.  Many use case are covered by 
provision of a single facility like get all objects within a given radius or 
within a given bounding box.  GeoSPARQL which is a complete approach to 
geospatial query but it is complicated and driected more towards the 
specialist, not the average linked data developer with SPARQL knowledge.

This project is to provide a one or two basic geospatial query functions.

Example: return places within 10 kilometers of Bristol UK (which as 
latitude/longitude of 51.46,2.6).

SELECT ?placeName
{
   ?place spatial:query (51.46 2.6 10) .
   ?place rdfs:label ?placeName
}


We have a similar property function architecture in jena-text [0] so this 
project is to take that concept and apply it to geospatial information.

Lucene spatial could be used for the spatial index.  There is a simple 
vocabulary for expressing WGS80 information [1]; there is also the point 
information in WKT [2].

This project is not primarily about geospatial processing; it is concerned with 
the indexing and querying simple, existing geospatial data and integration with 
Fuseki.

[0] http://jena.staging.apache.org/documentation/query/text-query.html
[1] http://www.w3.org/2003/01/geo/
[2] http://en.wikipedia.org/wiki/Well-known_text 
                
> GeoARQ: a geo location property function for ARQ
> ------------------------------------------------
>
>                 Key: JENA-10
>                 URL: https://issues.apache.org/jira/browse/JENA-10
>             Project: Apache Jena
>          Issue Type: New Feature
>          Components: ARQ
>            Reporter: Paolo Castagna
>            Priority: Minor
>              Labels: gsoc2013
>
> Similarly to LARQ, we can use Lucene spatial capabilities to provide a 
> geo/spatial property function for ARQ.
> An initial and experimental implementation as proof of concept is available 
> here: https://github.com/castagna/GeoARQ
> The initial implementation can provide:
>  - ?s geoarq:nearby ( lat long ) // lat and long are in WGS 84, results are 
> sorted by some "unspecified" score
>  - ?s geoarq:nearby ( lat long dist ) // restrict withing dist km from 
> (lat,long)
>  - (?s ?d) geoarq:nearby ( lat long ) // results are sorted by distance (?d) 
> which is made available to the user
>  - (?s ?d) geoarq:nearby ( lat long dist ) 
>  - ?s geoarq:within ( lat1, long1, lat2, long2 )
> GeoARQ would be better as a separate module from ARQ (same as LARQ).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to