Science and culinary whatnot bedamned! If you'd put it on breakfast cereal, it's a fruit. Otherwise, vegetable. You'd have to be nucking futs to put tomatoes on cornflakes.