Relationship annotation is method that annotates the association relationships between multiple targets, entities or elements in data (such as the "residence" relationship between "Xiaoming" and "Beijing" in text, the "above" relationship between "cat" and "sofa" in images), clarifies the logical connections between data elements, used for relationship extraction and knowledge graph construction model training.