x-atlas-consortia / ubkg-api

A web service for the Unified Biomedical Knowlege Graph system
MIT License
0 stars 0 forks source link

New endpoint that returns graph of paths that follow a specified directed set of assertions #135

Open AlanSimmons opened 2 months ago

AlanSimmons commented 2 months ago

Statement of issue

The endpoints in the concepts//paths pathway consider only one type of relationship--e.g., the shortestpath involving isa relationships. There should be an endpoint that returns paths based on a directed set of assertions--e.g.,

Show the graph of all paths starting from the specified concept that connect to the concept X as A part_of B has_a C isa X where A, B, C, and X can be in different SABs.

The endpoint would be specified with set of tuples that represent a directed series of node-edge --e.g., isa in SABC; has_a in SABB; part_of.