Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Replace predicate mapping with a local JSON file #635

Draft
wants to merge 59 commits into
base: master
Choose a base branch
from

Conversation

gaurav
Copy link
Member

@gaurav gaurav commented Mar 17, 2023

CAM-KP previously relied on the triplestore to translate Biolink predicates into relations and vice versa. However, this can't be easily modified to support Biolink 3 qualified predicates. This PR radically modifies that scheme to use a local JSON file (which is generated by an included Scala program) that provides mappings between Biolink predicates with qualifiers and relations, which is then used by CAM-KP-API to translate between the two.

Closes #549.

@gaurav gaurav mentioned this pull request Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to Biolink 3 and add support for qualifiers
1 participant