Closed cbizon closed 3 years ago
replacing the predicate with biolink:decreases_activity_of
(and inverting n0,n1) does return the results, so this seems like a problem in the transpiler? @patrickkwang ?
I think this relates #4, wrt using latest transplier , this works with latest transplier code deployed at automat-dev.edc.renci.org
curl -X POST "https://automat-dev.edc.renci.org/pharos/query" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"message\":{\"query_graph\":{\"nodes\":{\"n0\":{\"category\":\"biolink:Gene\",\"is_set\":false,\"id\":\"NCBIGene:6611\"},\"n1\":{\"category\":\"biolink:ChemicalSubstance\",\"is_set\":false}},\"edges\":{\"e01\":{\"subject\":\"n0\",\"object\":\"n1\",\"predicate\":\"biolink:related_to\"}}}}}"
This seems to be working now, thanks
query:
returns no results in Automat/Pharos.
But this cypher query:
returns 2
biolink:decreases_activity_of
edges