annotation: add `get_single_annotation` and `get_annotations`