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

Glycerol to GO term missing? #70

Open
cbizon opened this issue Apr 22, 2021 · 1 comment
Open

Glycerol to GO term missing? #70

cbizon opened this issue Apr 22, 2021 · 1 comment

Comments

@cbizon
Copy link

cbizon commented Apr 22, 2021

This query produces no results:

{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "id": "CHEBI:17754"
                },
                "n1": {
                    "category": "biolink:BiologicalProcessOrActivity"
                }
            },
            "edges": {
                "e0": {
                    "subject": "n0",
                    "object": "n1",
                    "predicate": "biolink:related_to"
                }
            }
        }
    },
    "knowledge_graph": {
        "nodes": {},
        "edges": {}
    },
    "results": []
}

But I think that ubergraph has some edges between that chemical (glycerol) and e.g. glycerol metabolism in GO, so I think that those should be returned.

@balhoff
Copy link
Collaborator

balhoff commented Jan 21, 2022

This is a problem with directionality in Ontology-KP. Using the process as the subject, the expected results are returned. So I think I need to better support inverses (it's resulting from the fact that all the edges in Ubergraph are class-level, so it doesn't assert inverses at that level).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants