cannot query discrete properties with inequalities