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

Do we need FOUR separate osm2rdf-specific prefixes #88

Open
hannahbast opened this issue Mar 23, 2024 · 2 comments
Open

Do we need FOUR separate osm2rdf-specific prefixes #88

hannahbast opened this issue Mar 23, 2024 · 2 comments

Comments

@hannahbast
Copy link
Member

There are currently four different osm2rdf-specific prefixes, namely:

@prefix osm2rdf: <https://osm2rdf.cs.uni-freiburg.de/rdf#> .
@prefix osm2rdfkey: <https://osm2rdf.cs.uni-freiburg.de/rdf/key#> .
@prefix osm2rdfgeom: <https://osm2rdf.cs.uni-freiburg.de/rdf/geom#> .
@prefix osm2rdfmember: <https://osm2rdf.cs.uni-freiburg.de/rdf/member#> .

Try it on Qlever

Is this useful or good for anything? At first glance, I find it unnecessarily complex + we have four not so nice prefixes then. The suggestion would be to just have the first one.

@patrickbr and @lehmann-4178656ch What do you think?

@patrickbr
Copy link
Member

If I remember correctly, this was to avoid some duplicate predicate names, which meant a different thing in another context. @lehmann-4178656ch, maybe your memory is better?

@lehmann-4178656ch
Copy link
Member

I think we can now collapse some of them. osm2rdfgeom will be removed with #89 and osm2rdfmember is currently used for member relations. We would need to find good names for osm2rdfmember:id, osm2rdfmember:role, osm2rdfmember:pos which can be placed in the osm2rdf namespace.

osm2rdfkey is used to avoid duplicate entries as we sometimes reinterpret/recalculate/reformat osmkey entries and store them in this namespace to indicate that we did something and these are not the values provided by the OpenStreetMap. As osmkey can prefix nearly anything I would suggest to keep this namespace to avoid collision with data we calculate and add and not simply transform given information.

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