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

SWO prefixes don't resolve #1168

Open
cmungall opened this issue Aug 14, 2024 · 2 comments
Open

SWO prefixes don't resolve #1168

cmungall opened this issue Aug 14, 2024 · 2 comments

Comments

@cmungall
Copy link
Contributor

SWO is registed with OBO so you might think it has OBO prefixes, but this isn't the case:

Example CURIE on https://bioregistry.io/registry/swo
=> https://bioregistry.io/reference/swo:/0000144
=> the RDF entry => http://purl.obolibrary.org/obo/SWO_0000144
=> redirects to https://www.ebi.ac.uk/ols4/ontologies/swo/entities/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FSWO_0000144

which hangs with a spinning circle of doom

In fact it's necessary to create multiple sub-prefixes for SWO since the URIs follow unusual practice.

This is the prefixmap I am using for OAK/semantic-sql

https://github.com/INCATools/semantic-sql/pull/91/files#diff-0cfe34663a838a843313de1ef13ccd6ab9e0aac209d6313a26dfcc88c24d38fd

Happy to change if there is consensus, cc @allysonlister

@bgyori
Copy link
Contributor

bgyori commented Aug 14, 2024

@cmungall just to clarify, do you think we should touch the URI pattern in bioregistry (i.e., http://purl.obolibrary.org/obo/SWO_$1) at all, or would this be updated in the resolver for purl.obolibrary.org URIs?

@allysonlister
Copy link

Apologies, I had intended to devote a couple of weeks to the various ontologies I keep an eye on this month, but that time has evaporated.

I would be happy to sort this out if you all have a preference. This issue happened before my time, when I believe it was originally developed with Manchester and the EBI together, hence the prefix issues.

What would be best? And it would be a big change; I know that despite its low activity, I'm still getting relatively regular citations for it. What is the best way to show this kind of change with a new release? The one time I did it, it was relatively tricky (allysonlister/swo#10). Will likely be simpler as we won't have the possibility for duplicate IRIs like we did the last time.

Happy to help it conform better with OBO standards; this is just an ontology that has been around for a long while, before people were really ensuring OBO prefixes from the start...

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