gbv / cocoda

A web-based tool for creating mappings between knowledge organization systems.
https://coli-conc.gbv.de/cocoda/
MIT License
39 stars 5 forks source link

Normalize Scheme URIs #46

Closed stefandesu closed 5 years ago

stefandesu commented 6 years ago

Mappings use BARTOC URIs (e.g. http://bartoc.org/en/node/533 for RVK) while DANTE uses uri.gbv.de (e.g. http://uri.gbv.de/terminology/rvk/ for RVK). This makes it difficult to compare schemes.

nichtich commented 6 years ago

To start with, additional URIs can be given in JSKOS field identifier and DANTE API provides lookup of this field via query parameter id, e.g. http://api.dante.gbv.de/data?id=https://bartoc.org/en/node/533. This may be a workaround. In practice, URIs of concept schemes need to be rewritten/normalized at several places.

stefandesu commented 6 years ago

Okay, as a workaround I will look for matches between the uri and identifier fields of both sides when comparing schemes.

stefandesu commented 6 years ago

Note that not even the BARTOC URIs are always the same. The field identifier returns the URIs with https while they use http in the mappings. I will add a "replace https with http" to the workaround...

Also, the BARTOC URIs in the mappings seem to use http://bartoc.org/en/ while DANTE uses https://bartoc.org/de/.