Node embedded database for hypergraphs