You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can a single knode map to two qnodes in the same answer? In robokop, the answer was yes, and this turned out to be useful sometimes, when you didn't want to force two nodes to be the same, but you could allow it. For instance, say you have two chemicals you want to relate to a common unknown disease via unknown genes:
(chem1)--(genea)--(disease)--(geneb)--(chem2).
If genea and geneb end up being the same, then that's actually a better, more parsimonious answer.
But sometimes, it's annoying. Say for instance that you want to find a drug for diseaseX by looking for a drug that treats a phenotypically similar drug:
(diseaseX)--(set of phenotypes)--(disease)--(drug)
If you don't control the k/q mapping, disease=diseaseX is a valid answer, but the results are not helpful.
So I think that this may need to be an option. I could imagine worse cases where you want the option set one way for one set of nodes and a different way for others. i.e. the ability to add arbitrary a<>b cypher clauses.
The text was updated successfully, but these errors were encountered:
Can a single knode map to two qnodes in the same answer? In robokop, the answer was yes, and this turned out to be useful sometimes, when you didn't want to force two nodes to be the same, but you could allow it. For instance, say you have two chemicals you want to relate to a common unknown disease via unknown genes:
(chem1)--(genea)--(disease)--(geneb)--(chem2).
If genea and geneb end up being the same, then that's actually a better, more parsimonious answer.
But sometimes, it's annoying. Say for instance that you want to find a drug for diseaseX by looking for a drug that treats a phenotypically similar drug:
(diseaseX)--(set of phenotypes)--(disease)--(drug)
If you don't control the k/q mapping, disease=diseaseX is a valid answer, but the results are not helpful.
So I think that this may need to be an option. I could imagine worse cases where you want the option set one way for one set of nodes and a different way for others. i.e. the ability to add arbitrary a<>b cypher clauses.
The text was updated successfully, but these errors were encountered: