W3C home > Mailing lists > Public > public-semweb-lifesci@w3.org > December 2009

Re: Health Care and Life Sciences SemanticWb on iPhone and iPod touch

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Mon, 14 Dec 2009 13:05:06 -0500
Message-ID: <4B267E52.3020901@openlinksw.com>
To: Donald Doherty <donald.doherty@actionpotential.com>
CC: HCLS <public-semweb-lifesci@w3.org>
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

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
       ?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)) }

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)) }





Kingsley Idehen	      Weblog: http://www.openlinksw.com/blog/~kidehen
President & CEO 
OpenLink Software     Web: http://www.openlinksw.com
Received on Monday, 14 December 2009 18:05:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:20:46 UTC