Relation Extraction using Language Model Based on Knowledge Graph