Open alongreyber opened 3 years ago
The search method is a bit un-intuitive for the access pattern that we have. This is a possible way we could re-structure to improve.
{ "source" : ["ChemicalSubstance", "Metabolite"], "target" : ["Gene"] }
Returns:
{"simple_kp" : {"url" : "http://simple-kp", "operations" : [{ "source" : "ChemicalSubstance", "target" : "Gene" }, { "source" : "Metabolite", "target" : "Gene" } ]}}
[ { "source" : "ChemicalSubstance", "target" : "Gene" }, { "source" : "Metabolite", "target" : "Gene" } ]
[ [{"name" : "simple_kp", "url" : "http://simple-kp"}], [{"name" : "simple_kp", "url" : "http://simple-kp"}] ]
The search method is a bit un-intuitive for the access pattern that we have. This is a possible way we could re-structure to improve.
Current Structure
Returns:
Proposed Structure
Returns: