First try to document WAIT query syntax. Basically, slightly modified chapter from freeWAIS-sf documentation