'Create an S3ResourceQuery
@param op: the operator
@param first: the first operand (=S3FieldSelector)
@param second: the second operand (=value)'

def _query(self, op, first, second):

    if (not isinstance(first, S3FieldSelector)):
        return {}
    selector = first
    alias = self._alias(selector)
    value = S3URLQuery.parse_value(second.strip())
    if (op == S3ResourceQuery.LIKE):
        selector.lower()
        if isinstance(value, basestring):
            value = value.replace('*', '%').lower()
        elif isinstance(value, list):
            value = [x.replace('*', '%').lower() for x in value if (x is not None)]
    return {alias: S3ResourceQuery(op, selector, value)}
