Implements non-equality queries on the commandline