Ulcerative colitis diet: Foods to choose and avoid

What foods may be beneficial and what foods may be triggers for people with ulcerative colitis? How are problem foods identified and avoided?