An allegory is a category with properties meant to reflect the properties one expects of a category of relations. The notion was first introduced in the book Categories, Allegories by Freyd and Scedrov.
An allegory is a (1,2)-category equipped with an involution which is the identity on objects, such that
Other attempted axiomatizations of the same idea “something that acts like the category of relations in a regular category” include:
bicategory of relations (a special sort of cartesian bicategory)
Categories, Allegories?
The Elephant, chapter A3.
blog post showing that any bicategory of relations is an allegory.