NCATSTranslator / ReasonerAPI

NCATS Biomedical Translator Reasoners Standard API
36 stars 28 forks source link

How to remodel TRAPI to allow for the merging of messages while retaining EPC #313

Closed uhbrar closed 1 year ago

uhbrar commented 2 years ago

Kenny and I have been working for the last little while on coming up with a few plans on how to reduce duplicates in messages. These "duplicate" answers are mostly the same, with the same subject, object, and predicate, but have different EPC information encoded within their attributes, which results in them being unable to be merged without losing information with current TRAPI model. For an example, see this:

Screen Shot 2022-02-21 at 8 16 36 AM

Ideally, this would only result in three answers as shown, but under the current model results in 4. One option for how to rework the model to allow for this is explained here:

kmorton_translator_thoughts_on_merging.md

Additional refinement will likely be required, however this document does provide the first steps with one option on how approach this issue.

edeutsch commented 2 years ago

I put the md file in a PR so I can view it more easily: https://github.com/NCATSTranslator/ReasonerAPI/blob/edeutsch-issue-313/docs/ideas_from_issue_313.md