Tag semantic reasoning in cybersecurity