Basic structure of complex searches

Either one set of lines, or several sets combined,

and each set is a chain of (axis + filter) pairs.

The filters might be simple tags or texts (to be matched)

or compound boolean expressions.