Train dataset with resource names