Best of Both Worlds: A Pliable and Generalizable Neuro-Symbolic Approach for Relation Classification