How to QUERY Geonames as remote
Opened this issue · 2 comments
kuzeko commented
The following query should return names of location from geonames
PREFIX gn: <http://www.geonames.org/ontology#>
PREFIX bont: <http://ontology.bonsai.uno/core#>
SELECT DISTINCT ?g ?name
WHERE {
?a bont:location ?loc .
BIND( IRI(?loc) as ?g) .
BIND ( CONCAT(?loc, "/about.rdf") as ?ser) .
?g gn:shortName ?name .
}
at the moment this seems not to be possible
mmr2187 commented
I'll check this out tomorrow, Friday or during the weekend.
mmr2187 commented
Ah, the geonames should be in the db for it to be queryable?