<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _process_yes_work(self, yes_work, no_catalogue, maybe_works, output_dir):
 """Returns statistics of how `yes_work` compares with the other works in `no_catalogue` and the "maybe" works. :param yes_work: name of work being processed :type yes_work: `str` :param no_catalogue: catalogue of containing `yes_work` and the "no" works :type no_catalogue: `Catalogue` :param maybe_works: names of "maybe" works :type maybe_works: `list` of `str` :param output_dir: directory where generated files are saved :type output_dir: `str` :rtype: `dict` """

        self._logger.info('Processing "maybe" work {} as "yes".'.format(
            yes_work))
        stats = {COMMON: {}, SHARED: {}, UNIQUE: {}}
        yes_work_dir = os.path.join(output_dir, yes_work)
        os.makedirs(yes_work_dir, exist_ok=True)
        results_path = os.path.join(yes_work_dir, 'intersect_with_no.csv')
        self._run_query(results_path, self._store.intersection, [no_catalogue])
        for maybe_work in maybe_works:
            stats = self._process_maybe_work(
                yes_work, maybe_work, yes_work_dir, results_path, stats)
        return stats