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

<http://franz.com/ns/allegrograph/3.0/geospatial/fn/cartesianX>
( point )

Returns the Cartesian x component of a point.

For example:

prefix geofn: <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
select ?X {
bind(geofn:toPointXY(<http://ex#bar>, 56.0, 42.0) as ?p1 )
bind(geofn:cartesianX(?p1) as ?X)
}

point must be bound to a geospatial UPI.

Notes

The following namespace abbreviations are used:

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