On complexity and optimization of expensive queries in complex event processing
High-performance complex event processing over XML streams