Real-Time Intelligence for Industry 4.0