1. A computer-readable medium having stored thereon processor-executable instructions that when executed by a processor result in the following: receiving, at a query technique engine, continuous query definition parameters from a user via a graphical user interface; retrieving, at the query technique engine, semantic layer information associated with an event processing engine, the event processing engine being adapted to receive an event stream; based on the continuous query definition parameters from the user, automatically creating at the query technique engine a pre-fetch query to pre-fetch historical data from a database; automatically creating an event processing language statement at the query technique engine, the event processing language statement being created based on (i) the continuous query definition parameters from the user and (ii) the semantic layer information; and providing the event processing language statement to the complex event processing engine so as to establish a continuous query, the continuous query providing output data based on both the pre-fetched historical data and events in the event stream.