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

[feature request] pass list of ontology acronyms to prefilter the possible search results #37

Closed
StroemPhi opened this issue Aug 2, 2023 · 5 comments

Comments

@StroemPhi
Copy link
Member

As a user I want to be able to pass a list of ontologies in which OE should look up my term. This list should at best use the official acronmy of an ontology to id it (e.g. ro for Relation Ontology).

@CS76
Copy link
Member

CS76 commented Aug 11, 2023

https://nfdi4chem.github.io/ontology-elements/o-autocomplete.html#props

You can provide ontologies acronyms as comma separated values.

@StroemPhi
Copy link
Member Author

I guess my feature request was not well enough described.
Use case:
I don't know/remember in which ontology my term exists, but I only want to search for it in a prespecified set of ontologies (e.g. OBI, CHMO, IAO). So I'd like to pass as parameters the term to search for and a list of ontologies in which to search for it. Maybe like this: ph value: obi, chmo, iao or obi, chmo, iao: ph value.

@CS76
Copy link
Member

CS76 commented Aug 11, 2023

Yes, you could do this already. The syntax is as follows

nmrcv,chmo,efo: nmr
obi,chmo,iao: ph value

@StroemPhi
Copy link
Member Author

Great! Thanks for pointing out. Then I guess this should only be made a bit clearer in the examples of the docs. But otherwise the issue could be closed then, I guess.

@CS76
Copy link
Member

CS76 commented Aug 11, 2023

Closing this in favour of #42

@CS76 CS76 closed this as completed Aug 11, 2023
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