On graph query optimization in large networks | Synapse