GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Import GeoNames dump into Protege ?  XML
Forum Index -> FAQ - frequently asked questions
Author Message
alexfin90



Joined: 10/06/2015 23:34:07
Messages: 1
Offline

HOw can import data into ontology http://www.geonames.org/ontology/ontology_v3.1.rd open it with software Protegè? For run this query ?

PREFIX spatial:<http://jena.apache.org/spatial#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geo:<http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX gn:<http://www.geonames.org/ontology#>

Select *
WHERE{
?object spatial:nearby(40.74 -73.989 1 'mi').
?object rdfs:label ?label
}LIMIT 10

see my question on stackoverflow http://stackoverflow.com/questions/30765893/sparql-query-on-geonames-ontology-using-nearby
 
Forum Index -> FAQ - frequently asked questions
Go to:   
Powered by JForum 2.1.5 © JForum Team