webyrd / mediKanren

Proof-of-concept for reasoning over the SemMedDB knowledge base, using miniKanren + heuristics + indexing.
MIT License
323 stars 53 forks source link

Chembl prefix being used #44

Closed MarkDWilliams closed 3 years ago

MarkDWilliams commented 3 years ago

Queries sent to Unsecret agent return compounds from chembl with the "chembl" prefix rather than that "chembl.compound" prefix that is in TRAPI.

MarkDWilliams commented 3 years ago

Adding an example query that returns compounds with this prefix: { "message": { "query_graph": { "edges": [ { "id": "e00", "source_id": "n00", "target_id": "n01", "type": "treated_by" } ], "nodes": [ { "curie": "MONDO:0021668", "id": "n00", "type": "disease" }, { "id": "n01", "type": "chemical_substance" } ] } } }

and an example of the chembl prefix being returned id: "ChEMBL:CHEMBL1077", name: "Bromfenac", type: "chemical_substance"

gregr commented 3 years ago

Looks like those results are coming from MolePro.