Generating Stream Processing Applications for IoT-based Process Event Abstraction: A Framework and Architecture | Synapse