BONSAMURAIS/triple-store

How to QUERY Geonames as remote

Opened this issue · 2 comments

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

I'll check this out tomorrow, Friday or during the weekend.

Ah, the geonames should be in the db for it to be queryable?