Event detection and location inference