More generic annotation query