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

Geonames ontology URI #1

Closed
coret opened this issue Apr 25, 2022 · 8 comments
Closed

Geonames ontology URI #1

coret opened this issue Apr 25, 2022 · 8 comments

Comments

@coret
Copy link

coret commented Apr 25, 2022

The current mapping uses an https URI for the Geonames ontology.

https://github.com/netwerk-digitaal-erfgoed/geonames-harvest/blob/48fc4a1541fcadc7ec99cfdad1eaac7f6cc45f81/geonames.rml#L8

The URI Geonames itself references for its ontology is http://www.geonames.org/ontology# (so without the s) as does prefix.cc.

PS. the Geonames URIs for resources are (correctly) using https

@EnnoMeijers
Copy link
Collaborator

I guess Geonames itself is being sloppy here. I used the formal ontology definition as starting point: https://www.geonames.org/ontology/ontology_v3.2.rdf. This defines the base prefix as https. Do we run into problems using somewhere using https?

@coret
Copy link
Author

coret commented Apr 26, 2022

Oh my, sloppy indeed.
We won't run into problems because it's an "isolated" dataset and ontology. If people started adding RDF from Geonames directly (very unlikely because very rate-limited), than you would have both http/https and queries then also have to be "doubled" or miss out on triples...

Another example for w3c/sparql-dev#156

@coret coret closed this as completed Apr 26, 2022
@ivozandhuis
Copy link

There is not only a difference in httpS or not but in subdomain "www." or "sws." as well!

@EnnoMeijers
Copy link
Collaborator

Based on the Geonames documentation I have used 'www' for the ontology and 'sws' for the entities.

@ivozandhuis
Copy link

Yes, but your prefix on line 8 has "sws."?

@EnnoMeijers
Copy link
Collaborator

Check, that's an error!

@ivozandhuis
Copy link

ivozandhuis commented Apr 26, 2022

Change in line 8 of rml-file:
@prefix gn: <https://sws.geonames.org/ontology#>.
into
@prefix gn: <https://www.geonames.org/ontology#>.

@ivozandhuis ivozandhuis reopened this Apr 26, 2022
@EnnoMeijers
Copy link
Collaborator

Fixed in c805769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants