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:
- fti - <http://franz.com/ns/allegrograph/2.2/textindex/>
- geo - <http://franz.com/ns/allegrograph/3.0/geospatial/>
- geofn - <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
- nd - <http://franz.com/ns/allegrograph/5.0/geo/nd#>
- ndfn - <http://franz.com/ns/allegrograph/5.0/geo/nd/fn#>
- sna - <http://franz.com/ns/allegrograph/4.11/sna/>
The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.