QUERY THEORY | JOHN SMITH