By way the SPARQL generation were thought, we would create a map between the WQL variables and the SPARQL variables for them to be referred correctly in more than 1 place. By now, the code is not doing that.
In a concrete example, if we loaded SparqlGenerator.hs and ran createSelectQuery . transformation . predx . fst . last $ readP_to_S WQL.wql "x:_run*[ARG1 y, ARG2 y]", we'd get
By way the SPARQL generation were thought, we would create a map between the WQL variables and the SPARQL variables for them to be referred correctly in more than 1 place. By now, the code is not doing that.
In a concrete example, if we loaded
SparqlGenerator.hs
and rancreateSelectQuery . transformation . predx . fst . last $ readP_to_S WQL.wql "x:_run*[ARG1 y, ARG2 y]"
, we'd getwhere we see the "y" variable in WQL becoming both "?x3" and "?x4"