Foundations of a Query and Simulation System for the Modeling of Biochemical and Biological Processes