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

Get the term associated with a term in an unknown ontology #13

Open
jakebeal opened this issue Feb 23, 2021 · 1 comment
Open

Get the term associated with a term in an unknown ontology #13

jakebeal opened this issue Feb 23, 2021 · 1 comment
Milestone

Comments

@jakebeal
Copy link
Contributor

Since TYTO maintains a list of ontologies and their prefixes, it ought to be possible to turn a URI into a human-readable term without necessarily knowing which ontology it comes from.

@jakebeal
Copy link
Contributor Author

Related to #33.

Note: might already be supported and not documented.

Basic idea of a pattern - instead of tyto.SO.get_term_from_uri(term), which will exception if term isn't in SO, be able to call tyto.get_term_from_uri(term) which will return the term if it's in any currently loaded ontology.

@jakebeal jakebeal added this to the 1.0 milestone Sep 21, 2021
@jakebeal jakebeal modified the milestones: 1.0, 1.1 Jan 27, 2022
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

1 participant