Enhancing In-Context Learning with Semantic Representations for Relation Extraction