added __str__ return for Query()