SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 2)
    Identifier so
    Identifier r
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 3)
           Function array (alias cg) (children 1)
            ExpressionList (children 2)
             Literal Tuple_(\'y\', UInt64_0)
             Literal Tuple_(\'n\', UInt64_1)
           Function if (alias so) (children 1)
            ExpressionList (children 3)
             Function notEquals (children 1)
              ExpressionList (children 2)
               Function arrayMap (children 1)
                ExpressionList (children 2)
                 Function lambda (children 1)
                  ExpressionList (children 2)
                   Function tuple (children 1)
                    ExpressionList (children 1)
                     Identifier x
                   Function tupleElement (children 1)
                    ExpressionList (children 2)
                     Identifier x
                     Literal UInt64_1
                 Identifier cg
               Literal Array_[\'y\', \'n\']
             Literal \'y\'
             Literal \'n\'
           Function arrayFilter (alias r) (children 1)
            ExpressionList (children 2)
             Function lambda (children 1)
              ExpressionList (children 2)
               Function tuple (children 1)
                ExpressionList (children 1)
                 Identifier x
               Function equals (children 1)
                ExpressionList (children 2)
                 Function tupleElement (children 1)
                  ExpressionList (children 2)
                   Identifier x
                   Literal UInt64_1
                 Identifier so
             Identifier cg
