Support for comparison query operators

Closes #15