speeded up query for meta-dataset