# query the database with a test set