added method for fetching annotation types by name
built a querybuilder
I did not write this