X <http://franz.com/ns/allegrograph/3.0/geospatial/fn/toPointXY>
( predicate x y )
Converts X,Y into a point using predicate
to find the geospatial mapping.
For example:
prefix geofn: <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
select ?point {
bind(geofn:toPointXY(<http://ex#predicate>, 30.0, 34.0) as ?point )
}
If either X or Y is outside the range for the mapping, then the point will remain unbound.
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.