Implement simple query syntax