Improved Data.query (supports static inline constants, add operator and ternary operator in query strings)