Minecraft wiki entry for Target_selectors, associated text: [predicate=<resource location>] — Include only targets that match the specified predicate.
[predicate=!<resource location>] — Exclude any targets that match the specified predicate.