-
Notifications
You must be signed in to change notification settings - Fork 11
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
Refactor code to handle provenance edge-attributes for "primary knowledge" apis #549
Comments
The primary code changes would be in knowledge_graph.js, with some code in the query_graph_handler index.js to pass the API_LIST in. |
@tokebe are you available to test Rohan's PRs to see if the issue is addressed? |
This issue is related to the Translator priority of "having First, I'll list my review of the current main-branch behavior:
|
Deployed to prod 🚀 |
I'm not sure that primary_knowledge_source is marked on all Edges. These are missing it...
|
Closing in favor of #627 |
When @tokebe and I were reviewing the PR for issue #463 , we noticed some issues with older code.
This code was meant to address "situation C": non-TRAPI apis that are generating knowledge/inferred-associations from data and should therefore be labeled as "primary knowledge sources". They also do not provide their edge-attributes in TRAPI format (if the ydid, we could ingest their edge-attributes the same way we ingest edge-attributes from TRAPI APIs).
The desired refactoring is:
kgEdge.inforesCuries
(is this the infores of the API?) should be put into the value of a "primary knowledge source" edge-attribute along with thekgEdge.sources
. Then there's a separate "aggregator knowledge source" edge-attribute withinfores:biothings-explorer
as the value.Related: we want to discuss with @andrewsu if a BioThings API of a primary knowledge source then also counts as a primary knowledge source (maybe it doesn't because of the parsing / organizing of the data that happens?).Discussed with Andrew 2023-01-23. He said this is correct, that BioThings APIs usually are NOT primary knowledge sources because of the parsing / organizing of data that is done. So the small list above is correct (we only want those labeled as primary knowledge sources).
Many BioThings APIs may be in this situation, like
The text was updated successfully, but these errors were encountered: