sherlock and queries