<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build(self):
 """Do the query."""

        result = []
        for entry in self.sequence:
            ignore = False
            for filter_function in self.filter_functions:
                if not filter_function(entry):
                    ignore = True
                    break
            if not ignore:
                value = entry
                for transform_function in self.transform_functions:
                    value = transform_function(value)
                result.append(value)
        return result