query large network and save subnetwork