Tag cognitive frame rewriting by quantification