Greetings, I have created a QueryBuilder that builds a query without constructing the text version first. The classes (AskBuilder, ConstructBuilder, and SelectBuilder) allows you to construct the query by adding Construct, Dataset, Prolog Select SolutionModifer and Where clauses.
In addition there is some templating in that variables anywhere in the query structure can be replaced by calling setVar( var, node ) before calling the build() method. The code is currently hosted at https://github.com/Claudenw/querybuilder I have not completed the setVar() tests yet, but I think that the code is stable enough for people to play with. Claude -- I like: Like Like - The likeliest place on the web <http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
