result

The result filter takes a single argument which must be 1-0 or 0-1 or 1/2-1/2 . The result filter matches a position if the result of the current game equals the given result. For example, to find games where White wins even though black has at least 4 queens at some point, use
    result 1-0
    q>= 4

result can be transformed using flipcolor :

    cql (input i.pgn)
    flipcolor
    {result 1-0
     q>= 4}

will match games where the losing side, White or Black, had at least 4 queens at one point.