Closed andrewsu closed 1 year ago
note that there currently isn't an error/bug....so this isn't an urgent issue.
We want a dev to track down what is happening with the biolink prefix on node categories/predicates - when it is added and removed - and figure out a more consistent approach. Note that this involves multiple modules of BTE.
What Andrew is highlighting above is the inconsistency in how we are ingesting metaKG/TRAPI-meta-knowledge-graph info. This happens because...
Related code is hard to read and understand, with the prefix being added and removed in different places.
ideas:
From @tokebe: It appears that BTE removes the biolink prefix for all input/output types both for TRAPI and non-TRAPI
I still think it would be cleaner to standardize our practices here, but since the solution doesn't appear to have introduced a significant amount of cruft in our code, this issue is low enough priority to close...
In https://github.com/biothings/BioThings_Explorer_TRAPI/issues/370, we analyzed the list of 46 APIs currently listed in the config.js file. Among those APIs, there are at least 924 operations in which the subject and object classes do not use the
biolink:
prefix:Those 924 operations come from 24 unique APIs (actually 23 when removing the header line):
... and the ranked list of "offenders" is here:
For example, both the "BioThings SEMMEDDB API" and the "Clinical Risk KP API" seem to include many operations that do not use the biolink predicates (columns in order are: an index, the API name, the subject class, the predicate, the object class, and the server URL):
This issue is to track discussion on the rationale of this setup and, if appropriate, the fixes.