biolink / kgx

KGX is a Python library for exchanging Knowledge Graphs
https://kgx.readthedocs.io
BSD 3-Clause "New" or "Revised" License
116 stars 27 forks source link

Integrate JSON _attributes into KGX #326

Open RichardBruskiewich opened 3 years ago

RichardBruskiewich commented 3 years ago

We wish to integrate JSON "blob" attributes into KGX.

The proposed syntax and content is the TRAPI JSON Attribute (https://github.com/NCATSTranslator/ReasonerAPI/blob/v1.1.2/TranslatorReasonerAPI.yaml#L538).

One key use case is the representation of EPC attributes

sierra-moxon commented 2 years ago

closing as duplicate of #174

RichardBruskiewich commented 2 years ago

@sierra-moxon this is not a complete duplicate of issue #174 since the other issue's use case is specific to text mining (although the underlying generic implementation will be syntactically the same). Maybe we should keep this one open as the generic _attribute blob implementation issue?

RichardBruskiewich commented 2 years ago

@sierra-moxon did we actually get around to updating KGX to read in the _attributes blob? I guess the blob is still 'state-of-art' for KGX, except for the fact that some attributes are being externalized - e.g. provenance(?) - and of course, we now also have qualifiers, which could also change the manner of expression of some metadata previously embedded in TRAPI attributes (but, obviously, not all...)