Should support statements of the following structure:
set disease_var= "asthma"
select chemical_substance->gene->disease from '/graph/gamma/quick' where disease=descendants($disease_var)
Currently, function values are directly resolved during the parsing of select statements and their subsequent where clauses within the parse_select method of TranQL_ast. However, the values of variables, such as $disease_var, are only resolved upon execution of the query within the expand_nodes method invoked by generate_questions. Accordingly, the resolution of functions needs to be moved until after TranQL variables have been resolved.
Should support statements of the following structure:
Currently, function values are directly resolved during the parsing of
select
statements and their subsequentwhere
clauses within theparse_select
method ofTranQL_ast
. However, the values of variables, such as$disease_var
, are only resolved upon execution of the query within theexpand_nodes
method invoked bygenerate_questions
. Accordingly, the resolution of functions needs to be moved until after TranQL variables have been resolved.