Re:The "missing" graph datatype already exists. It was inven...
by tylerhou on Tuesday March 05, 2024 @06:13PM
(#39610302)
A (set) relation with N tuples is isomorphic to a N-dimensional boolean tensor. The mapping is to interpret each tuple as a coordinate in the tensor, and set the entry in that tensor to 1.
https://en.wikipedia.org/wiki/Incidence_matrix