-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support metakg queries with biolink model's semantic descendants #185
Comments
This is pending on the completion of #179 |
Support metakg queries with biolink model's semantic descendants SmartAPI#185
@newgene Is this related to the |
@NikkiBytes yes, maybe you can add a brief usage comment of this |
Implemented feature in To view a summary of the terms that were found when expanded, use |
Each edge in SmartAPI's metakg contains
subject
,object
,predicate
fields which are the terms based on the biolink model. We should add the metakg query support for searching on either of these fields by optionally expanding to include all descendant terms.We can use biolink-model-toolkit to get the descendant of a given term.
In metakg's query handler, we can add explicit
subject
,object
andpredicate
query parameters, and an optionalexpand
parameter when can take values ofsubject
,object
andpredicate
(include their combinations), so that we can expand either or multiple fields when needed. Default is still not expanding these terms.The text was updated successfully, but these errors were encountered: