Terrine of foie gras with caramelized onions and raisins