def create_occurrence_of_problem(occurrence, problem_hash):
    """
        Persists given `occurrence` and creats relation with a problem of given
        `problem_hash`. Returns `occurrence`.
        """
