1. A computer implemented method for automatically generating a query, the computer implemented method comprising: describing data and occurrence using a sequence type; matching the data and the occurrence from the sequence type to a sequence type pattern; and generating sentences in a query language automatically using the sequence type pattern for testing an ability of a query processing engine to interpret queries.