It would be useful to extend the query capabilities to search for targets other than channels, for example, some sort of syntax simialr to
select cue where 125 > 0
to select all the cues in the show with channel 125 above 0
or perhaps
select preset where group 10 color = color palette 5
Perhaps that second example is a little over involved, but being able to query for objects other than channels is, I think, useful.