1. A computer implemented method comprising: receiving a database query language statement; parsing, by a computer processor, the database query language statement to identify one or more lexical terms to be included in a retrieval of documents containing the one or more of the lexical terms; and parsing the database query language statement to identify one or more portions of the database query language statement that specifies a desired sentiment analysis.