querying in raw data