SQPR: Stream query planning with reuse
Plan-based complex event detection across distributed sources