Skip to content

Inconsistent data type for biolink:supporting_text #2578

@isbluis

Description

@isbluis

The biolink:supporting_text attribute seems to have a value of type object/dict in rtx-kg2, but list/array in ARAX

Business impact: this may cause an issue for tools that parse these results downstream, with a likely outcome of not displaying to the user the supporting text from the publication presented as evidence for a given edge / relationship.
Anecdotal evidence suggests that this is already happening in production.

  • Example of data represented as a list of dicts:
    https://arax.ncats.io/?r=354684 :: See result 1 → Analysis support graph → edge (with primary_knowledge_source = infores:arax )
Image

.

  • Example of data represented as a dict:
    https://arax.ncats.io/?r=355183 :: See result 1 → any edge (with primary_knowledge_source = infores:semmeddb, and aggregator_knowledge_source = infores:rtx-kg2)
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions