http://franz.com/ns/allegrograph/3.0/geospatial/inBoundingBoxXY

Return triples in the bounding box specified by X-min, Y-min, X-max and Y-max.

This can return the subject of the matching triples or the subject and the coordinate (which is in the object). For example:

  ?event geo:inBoundingBoxXY (ex:locationPredicate 1.0 2.0 4.0 5.0) . 

or

  (?event ?coord) geo:inBoundingBoxXY (ex:locationPredicate 1.0 2.0 4.0 5.0) . 

The four locations specifying the box must all be bound before this magic property can be evaluated.

Notes

The following namespace abbreviations are used:

The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.