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

Case flexibility? #22

Open
jakebeal opened this issue Aug 6, 2021 · 2 comments
Open

Case flexibility? #22

jakebeal opened this issue Aug 6, 2021 · 2 comments
Milestone

Comments

@jakebeal
Copy link
Contributor

jakebeal commented Aug 6, 2021

Is there any way to make term lookup case-flexible?

For example, it would be nice if looking up "Promoter" or "PROMOTER" in SO will get you the URI for "promoter" and "cds" will get you the URI "CDS" rather than lookup errors.

@bbartley
Copy link
Contributor

This is tricky to implement, because SO does not use any consistent rule for case. For example, if a user writes mrna, how would tyto know that it should convert that to mRNA in order to match the term's definition in the OWL.

@jakebeal
Copy link
Contributor Author

For any cached ontology, we can keep a dictionary in lower-case, which we consult if a case-sensitive looking misses the cache.

@jakebeal jakebeal added this to the Future Tasks milestone Oct 28, 2021
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

2 participants