add prelim queries for whole data sets (may be space-prohibitive)