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

Mass-curate OLS redirects, e.g. nmrCV #250

Open
sneumann opened this issue Dec 3, 2024 · 5 comments
Open

Mass-curate OLS redirects, e.g. nmrCV #250

sneumann opened this issue Dec 3, 2024 · 5 comments

Comments

@sneumann
Copy link

sneumann commented Dec 3, 2024

Hi,

I found an issue on https://registry.identifiers.org/registry/nmr
and suspect there could be something systematic, and if so,
this could be mass-curated for other affected identifiers.org prefixes.

For example, https://identifiers.org/NMR:1000003
redirects to
https://www.ebi.ac.uk/ols4/ontologies/nmrcv/terms?short_form=NMR:1000003
which in turn gives a "not found" redirecting to
https://www.ebi.ac.uk/ols4/api/v2/ontologies/nmrcv/classes?shortForm=NMR:1000003&includeObsoleteEntities=true

I can't tell where the underlying issue is (the identifiers.org entry or the OLS4 side ?!),
the correct URL after all redirection would be
https://www.ebi.ac.uk/ols4/ontologies/nmrcv/classes/http%253A%252F%252FnmrML.org%252FnmrCV%2523NMR%253A1000003

and maybe @henrietteharmse could chime in.

Thanks,
Yours,
Steffen

@renatocjn
Copy link
Member

Hi Steffen,
When OLS moved to OLS4, there were issues with some ontologies. I opened this ticket at the time but never got around to fixing the remaining ontologies because I was waiting for any further evolutions and other tasks came up. Thank you for reminding me. I see some ontologies still result in not found, any help from the OLS team would be appreciated.

@renatocjn
Copy link
Member

Current list of namespaces with OLS resources: bao, biomodels.kisao, biomodels.teddy, bto, cco, chebi, cheminf, cl, clo, doid, eco, edam, efo, envo, eo, fma, foodon, go, hp, ido, ma, mamo, maxo, mcro, mi, mod, mp, ms, ncit, nmr, obcs, obi, omit, opl, orphanet.ordo, pato, po, pr, probonto, pw, ro, sbo, sio, so, stato, taxonomy, uberon, uo, vario

@henrietteharmse
Copy link

henrietteharmse commented Dec 4, 2024

@sneumann The issue is with the short_form specified. Short_forms have this format: NMR_1000003. That is, it should use an _ rather than a :.

Hence, this works: https://www.ebi.ac.uk/ols4/ontologies/nmrcv/classes?short_form=NMR_1000003.

If you prefer to use curies, you could use: https://www.ebi.ac.uk/ols4/ontologies/nmrcv/classes?curie=NMR:1000003.

@renatocjn
Copy link
Member

Thank you for the information @henrietteharmse !

We, unfortunately, can't use underscores since identifiers.org only allows for the colon or the slash as separating characters.

Is the curie query parameter available for all ontologies?

@henrietteharmse
Copy link

Yes, the curie parameter is available for all ontologies!

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