SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Identifier id
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier s
   Function pointInPolygon (children 1)
    ExpressionList (children 2)
     Function tuple (children 1)
      ExpressionList (children 2)
       Identifier lng
       Identifier lat
     Subquery (children 1)
      SelectWithUnionQuery (children 1)
       ExpressionList (children 1)
        SelectQuery (children 3)
         ExpressionList (children 1)
          Identifier shape
         TablesInSelectQuery (children 1)
          TablesInSelectQueryElement (children 1)
           TableExpression (children 1)
            TableIdentifier p
         Function equals (children 1)
          ExpressionList (children 2)
           Identifier polygon_id
           Literal UInt64_8
