Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to QUERY Geonames as remote #14

Open
kuzeko opened this issue Apr 12, 2019 · 2 comments
Open

How to QUERY Geonames as remote #14

kuzeko opened this issue Apr 12, 2019 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@kuzeko
Copy link

kuzeko commented Apr 12, 2019

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

@kuzeko kuzeko added the help wanted Extra attention is needed label Apr 12, 2019
@mmr2187
Copy link
Contributor

mmr2187 commented Apr 16, 2019

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

@mmr2187
Copy link
Contributor

mmr2187 commented Apr 20, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants