Detecting composite events in active database systems using Petri nets | Synapse