in reply to tree-oriented query against table-oriented data
i guess, this will not exist, because it is actually a combination of querying data from a database and displaying the result. Looks like a problem for a MVC solution.
In Section
Seekers of Perl Wisdom