In the first step, a large space of biophysical-chemical realistic pathways are generated computationally, and represented as networks. The goal is to investigate the network motifs responsible for the function z. The network space is expected to be composed of numerous network of distinct functions. In the second step, networks are selected by determining those capable of exhibiting the function z. The section can be made by analysing the network dynamics using dynamical system theory, or network analysis methods (such as CRNT). Once the networks capable of exhibiting function z are enumerated, the mapping between network motifs and the function z is carried out by mining motifs in the enumerated networks (third step). The motif responsible for the function z in all networks can be selected from the motifs with the highest normalised z-score across all enumerated networks.