SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 1)
    WithElement (children 1)
     Subquery (children 1)
      SelectWithUnionQuery (children 1)
       ExpressionList (children 2)
        SelectQuery (children 2)
         ExpressionList (children 3)
          Asterisk
          Literal Bool_0 (alias is_cycle)
          Function array (alias path) (children 1)
           ExpressionList (children 1)
            Function tuple (children 1)
             ExpressionList (children 2)
              Identifier g.f
              Identifier g.t
         TablesInSelectQuery (children 1)
          TablesInSelectQueryElement (children 1)
           TableExpression (children 1)
            TableIdentifier graph (alias g)
        SelectQuery (children 3)
         ExpressionList (children 3)
          QualifiedAsterisk (children 1)
           Identifier g
          Function has (children 1)
           ExpressionList (children 2)
            Identifier path
            Function tuple (children 1)
             ExpressionList (children 2)
              Identifier g.f
              Identifier g.t
          Function arrayConcat (children 1)
           ExpressionList (children 2)
            Identifier sg.path
            Function array (children 1)
             ExpressionList (children 1)
              Function tuple (children 1)
               ExpressionList (children 2)
                Identifier g.f
                Identifier g.t
         TablesInSelectQuery (children 2)
          TablesInSelectQueryElement (children 1)
           TableExpression (children 1)
            TableIdentifier graph (alias g)
          TablesInSelectQueryElement (children 2)
           TableExpression (children 1)
            TableIdentifier search_graph (alias sg)
           TableJoin
         Function and (children 1)
          ExpressionList (children 2)
           Function equals (children 1)
            ExpressionList (children 2)
             Identifier g.f
             Identifier sg.t
           Function not (children 1)
            ExpressionList (children 1)
             Identifier is_cycle
   ExpressionList (children 1)
    Asterisk
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier search_graph
   Set
