LQL syntax

The syntax descriptions use the BNF notation.