demonstrate and partially document basic query syntax with tests