From this excellent article:
http://www.sfweekly.com/2012-04-04/news/taxes-food-beverages...(I didn't link to the article directly in the submission because the flowchart was the most interesting part to me, but it's buried two clicks deep from the article itself)