Detecting early-warning signals for social emergencies by temporal network sociomarkers