Web-based query tool