RobokopU24 / Feedback

Feedback on the ROBOKOP project
https://robokop.renci.org
0 stars 0 forks source link

where are the predicates? #149

Closed cbizon closed 1 year ago

cbizon commented 1 year ago

I wanted to run a "treats" query but treats did not show up as a predicate. Also, I could not get "associated with". There could be a couple of reasons for this...

One possibility is that there is a BMT lite instance in there that needs to be updated (or some other way of pulling in a version of biolink model that needs to be updated)

Another is that there is some kind of domain range constraint that maybe is to strong being applied.

Woozl commented 1 year ago

@cbizon could you provide which query you were attempting? I can see treats depending on which nodes the edge is connected to:

image

For reference, here is the relevant code filtering the predicates:

https://github.com/RobokopU24/qgraph/blob/8caababfbbce66eb29adb87ff43606c8aafe5ee5/src/pages/queryBuilder/textEditor/textEditorRow/PredicateSelector.jsx#L25-L53

Woozl commented 1 year ago

Actually, now I see that if you make the query more general, it doesn't always show up. For instance, changing "Levodopa" to "Drug"

Woozl commented 1 year ago

closed by https://github.com/RobokopU24/qgraph/pull/254