http://franz.com/ns/allegrograph/3.0/geospatial/fn/latitude
X <http://franz.com/ns/allegrograph/3.0/geospatial/fn/latitude>
( point )
Returns the latitude component of a point.
For example:
prefix geofn: <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
select ?lat {
bind(geofn:toPointLonLat(<http://ex#bar>, 56.0, 42.0) as ?p1 )
bind(geofn:latitude(?p1) as ?lat)
}
point must be bound to a geospatial UPI.
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.