- From: Donald Doherty <donald.doherty@actionpotential.com>
- Date: Tue, 15 Dec 2009 20:03:00 -0500
- To: Kingsley Idehen <kidehen@openlinksw.com>
- Cc: HCLS <public-semweb-lifesci@w3.org>
On Dec 14, 2009, at 1:05 PM, Kingsley Idehen wrote: > Donald Doherty wrote: >> Scott Marshall suggested that people on the HCLS list would have >> fun with my SemanticWb iPhone and iPod touch app (www.actionpotential.com >> ). >> >> It's one of many technologies I play around with to test the >> potential (and current limits) of the Semantic Web and Semantic Web >> technologies (for instance, see my site using MIT Simile technology >> at www.historicshadyside.org). >> >> Currently SemanticWb is using Bio2RDF endpoints. I'm working to >> make it possible for the user to select from a number of SPARQL >> endpoints but it's unfortunately non-trivial. >> >> Enjoy! And I'll be happy to talk about lessons learned. >> >> Donald Doherty, Ph.D. >> donald.doherty@actionpotential.com >> >> >> > Donald, > > Note, we now have GeoSpatial extensions for SPARQL i.e., SPARQL-GEO. > > Use our instance at: http://lod.openlinksw.com/sparql or http://lod.openlinksw.com/isparql > (*note this instance is a little volatile due to some ongoing > maintenance*). > > Simple example: > > ###Stuff around Notre Dame de Paris > PREFIX lgv: <http://linkedgeodata.org/vocabulary#> > SELECT ?s ?cn ?lat ?long > WHERE { > ?s lgv:name ?cn . > ?s geo:geometry ?geo . > ?s geo:lat ?lat. > ?s geo:long ?long. > filter (bif:st_intersects (?geo, bif:st_point (2.3498, 48.853), > 0.3)) } > LIMIT 20 > > More intricate example: > ## describe churches within 5 km of Paris that have Cafes in close > proximity(0.2 km) > PREFIX lgv: <http://linkedgeodata.org/vocabulary#> > describe ?cafe ?church > WHERE { ?church a lgv:place_of_worship . > ?church geo:geometry ?churchgeo . > ?church lgv:name ?churchname . > ?cafe a lgv:cafe . > ?cafe lgv:name ?cafename . > ?cafe geo:geometry ?cafegeo . > ?cafe geo:lat ?lat. > ?cafe geo:long ?long. > > FILTER (bif:st_intersects (?churchgeo, bif:st_point (2.3498, > 48.853), 5) && > bif:st_intersects (?cafegeo, ?churchgeo, 0.2)) } > LIMIT 100 > > > Links: > > 1. http://www.openlinksw.com/dataspace/oerling/weblog/Orri%20Erling%27s%20Blog/1587 > > > -- > > > Regards, > > Kingsley Idehen Weblog: http://www.openlinksw.com/blog/~kidehen > President & CEO OpenLink Software Web: http://www.openlinksw.com > > Thank you for the info Kingsley! Clearly there could be uses for this on an iPhone. Are the GeoSpatial extensions now a standard component of Virtuoso? Don
Received on Wednesday, 16 December 2009 01:03:42 UTC