add constraint from edge_annotation to rank40 id