Updated the models some, and the query builder is starting to do what I want. Excellent.