The Basic RDF Geo Vocabulary: Point/lat/long/alt is a minimalistic RDF vocabulary describing Points with latitude, longitude, and altitude properties using the WGS84 geodetic reference datum.
The URI for the Geo RDFS/OWL vocabulary is http://www.w3.org/2003/01/geo/wgs84_pos#.
Geo Sparql Examples
Goodrelations Geo Examples
GeoSparql and GeoSpatialWeb
GeoSparql demonstrates the GeoSpatialWeb code, providing "Geospatial Reasoning for the Semantic Web", using Geo and GeoNames and ArqNearby (an extension function for ARQ). GeoSparql provides example SPARQL queries that include Geo.
GeoARQ is similar to GeoSpatialWeb, but using Lucene spatial capabilities.
Functions implemented or planned include:
- ?s geoarq:nearby ( 51.3000 -2.71000 )
- ?s geoarq:nearby ( 51.3000 -2.71000 10 )
- ( ?s ?d ) geoarq:nearby ( 51.3000 -2.71000 )
- ( ?s ?d ) geoarq:nearby ( 51.3000 -2.71000 10 )
- ?s geoarq:within ( lat1, long1, lat2, long2 )
- search near a point, latitude and longitude are in WGS 84, results (a default number of results is returned) are sorted by some "unspecified" score.
- search near a point, within 10 miles (or km?), perhaps km is better, results are sorted by some unspecified score.
- search near a point, results are sorted by distance (?d) (sorting by distance is expensive with Lucene spatial).
- search near a point, < 10 miles (or km?), results are sorted by distance (?d).
- search things in a bounded box, results are sorted by some unspecified score (this is a simple range query... fast).