Added preliminary support for boolean "link" queries.
Operators supported: ~, ||, &&