http://franz.com/ns/allegrograph/3.0/geospatial/fn/toPointLonLat

<http://franz.com/ns/allegrograph/3.0/geospatial/fn/toPointLonLat>
( predicate longitude latitude )

Converts longitude,latitude 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:toPointLonLat(<http://ex#predicate>, 34.0, 30.0) as ?point )
}

Note the argument order to the function is longitude, latitude to match the 2D geospatial conventions.

If either longitude or latitude is outside the range for the mapping, then the point will remain unbound.

Notes

The following namespace abbreviations are used:

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