Another way to say "An eggplant is a purple vegetable" is "The vegetable eggplant is purple."