add relation grammar check.