How to Make It
Place first 3 ingredients in a food processor, and pulse 5 times or until finely chopped.
Combine vinegar and the next 6 ingredients (through pimiento) in a large Dutch oven, stirring to dissolve sugar. Stir in onion mixture and corn; bring to a boil. Reduce heat; simmer 20 minutes, stirring occasionally.