Multi-line input is not currently supported by bean-query. The
interactive interpreter is based on the cmd Python standard library
module, which is a line based command interpreter.
Using a semicolon as query terminator instead of a newline should be
possible (the Python REPL supports multi-line input statements, thus the
functionality is there, somewhere) but it would require moving from a
very simple REPL to something that uses a much more fancy parser.
I had investigating this on my TODO list for a long time, but I haven't
had the time to look into it yet.
Cheers,
Dan