add dataset query method