Prototypical Representation Learning for Relation Extraction