15. A computer-implemented method comprising: receiving a query from a stream application to be applied against a stream of data including multiple tuples representing events; expressing the query in a specification which defines a window including a subset of the tuples, the specification defining content of the window as a range of the tuples having a range attribute over which the content is specified, defining when to update the window using a synchronization attribute specifying a movement of the window over time with respect to the content, and defining an evaluation of the content of the window using an evaluation attribute specifying when to perform the evaluation; translating the query into any one of a plurality of stream processing languages of a data stream management system (DSMS), including translating the query into a stream processing language of the plurality of stream processing languages including mapping the range attribute, the synchronization attribute, and the evaluation attribute to the stream processing language of the data stream management system (DSMS), to thereby obtain a translated query; and providing the translated query to the data stream management system for processing therewith.
15. A computer-implemented method comprising: receiving a query from a stream application to be applied against a stream of data including multiple tuples representing events; expressing the query in a specification which defines a window including a subset of the tuples, the specification defining content of the window as a range of the tuples having a range attribute over which the content is specified, defining when to update the window using a synchronization attribute specifying a movement of the window over time with respect to the content, and defining an evaluation of the content of the window using an evaluation attribute specifying when to perform the evaluation; translating the query into any one of a plurality of stream processing languages of a data stream management system (DSMS), including translating the query into a stream processing language of the plurality of stream processing languages including mapping the range attribute, the synchronization attribute, and the evaluation attribute to the stream processing language of the data stream management system (DSMS), to thereby obtain a translated query; and providing the translated query to the data stream management system for processing therewith. 16. The method of claim 15 comprising: receiving query results from the DSMS specified according to the stream processing language; and translating the received query results according to the specification to thereby provide the results to the stream application.