-
Notifications
You must be signed in to change notification settings - Fork 4
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
Practical challenges with ARA and KP identification in the Translator Resources SmartAPI Registry #18
Comments
|
Internet URL's are, in effect, globally unique (hence their use as URI's). SRI Testing still needs to look up the corresponding TRAPI registrations/entries in the Translator SmartAPI Registry corresponding to the KPs, to access other metadata, such as the info.title, info.version, x-trapi.version, x-translator.biolink-version and x-trapi.test_data_location |
BTW, I've heard that the x-maturity / servers annotation is still under some discussion. I guess this also complicates URL lookup... and also means that the SmartAPI Registration ID is not globally unique across server instances of knowledge resources? At least, one imagines it feasible to resolve URL's to a given TRAPI entry (to get the metadata, as noted above) |
I'm not sure what you're referring to. 1 SmartAPI registration may have multiple server urls / instances, corresponding to different maturity levels. |
...SmartAPI Registration ID is not globally unique across server instances of knowledge resources... where 'server instances' are exactly the ones you mentioned as corresponding to different maturity levels. We're saying the same thing. |
The SRI Testing facet of the above issue seems substantially (but not completely... see below) resolved by PR#19 and #20. In this sense, for now, it also seems to be close to being the case that KPs and ARAs are (almost) uniquely indexed by the 2-tuple of their That said, within an entry, it is now apparently that various I'm not closing this issue yet, in case there are other unresolved concerns, such as the KP use case for plurality of BTE wrapped KPs (sitting behind one BTE Registry entry). |
@RichardBruskiewich given issue #21, let's close this one unless you have other specific concerns to address (in which case, probably better to create a new issue too)? |
@newgene, I guess we may be ok closing this one. The above concern "..I'm not closing this issue yet, in case there are other unresolved concerns, such as the KP use case for plurality of BTE wrapped KPs (sitting behind one BTE Registry entry)..." might already be resolved in that BTE would use a list of URL's in its applicable info.x-trapi.test_data_location, pointing to KP test data files which each contain the infores corresponding to the back end third party knowledge source. I believe that we are able to propagate this upwards in the SRI Testing harness. I'm not entirely sure yet whether we'll get completely correct behaviour during testing simply because I think that the test data is merged into one set of test edges, and all of the edges sent to BTE. I'm not sure what BTE does to filter out queries for back end knowledge sources to ensure that the test data is not sent to knowledge sources that wouldn't be able to use it (maybe it's a moot point... depends on how BTE resolves queries,... I guess that the subject and object categories (plus predicates) are used to limit queries in this manner...). |
Full SRI Testing relies on unambiguous mapping of KP resources called onto the ARA resources which use them, using the Translator SmartAPI Registry. Unfortunately, although KP (and ARA) SmartAPI Registry entries may be distinguished from one another in multiple ways, there does not yet seem to be a single option without limitations, for the fully automated programmatic identification of KP entries by ARA's. The following metadata are available to resolve this objective:
It is unclear how easy SRI Testing would be for BTE/Service Provider wrapped knowledge resources. Perhaps it is a case of formulating a set of more shallow testing objectives for BTE/Service Provider wrapped knowledge resources (or excluding them from testing?)
Conceptually - the BTE/Service Provider issue aside - the practical challenges of ARA test data mappings onto KP resources has two orthogonal considerations:
Both challenges (again, excepting BTE/Service Provider) may be mitigated by appropriate software tools to manage the task. In this spirit, the ARAX SmartAPI metadata display is a good example how Translator SmartAPI Registry metadata could be displayed to human users, allowing human curators to pick and choose specific KP instances (endpoints) for automatic curation into an ARA test data specification (using whichever of the KP identification options above we choose to implement):
The text was updated successfully, but these errors were encountered: