templated relation matcher accepts symbol name