How do I declare gameplay tag? Or how do I EQS test for variable value of object?

Also would be interested in hearing a response on this; I’m trying to use an EQS query for a turret that searches for actors with the “enemy” tag attached so that it can find the closest target enemy.