Text this: Bifibrational duality in non-abelian algebra and the theory of databases