An interval-based query language for high-level surveillance event detection