ncbo / BioPortal-to-KGX

Assemble a BioPortal Knowledge Graph
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Aim 2.2.c. Develop and apply methods for mapping BioPortal ontology elements to Biolink model. #39

Closed caufieldjh closed 2 years ago

caufieldjh commented 2 years ago

Tasks for this Aim are as follows.

During the transformation step, assign Biolink categories to nodes and edges based on:

Also correct errors violating kgx format and Biolink:

Developments in kgx, OAK and Boomer may assist.

caufieldjh commented 2 years ago

RXNORM, NCBITAXON, and potentially other UMLS ontologies have STY categories stored in edges (RDF-style) rather than as node categories, where we'd prefer to store the Biolink category membership. Retrieve the node ID and STY from a hasSTY edge, then map it to the corresponding node in the nodes list.

caufieldjh commented 2 years ago

See also #44

caufieldjh commented 2 years ago

Issue #45 is a subtask here - if we know node prefixes, we can use them to:

Then, the CURIE may be assembled as {ontologyID}:{classID}

caufieldjh commented 2 years ago

This can always be improved on, but is now effectively complete.