问题
Is there any way to create a hypergraph in neo4j? Or any other db tool for this issue?
回答1:
There is an example for a hypergraph datastructure in the "Graph Databases" book (the email chapter example).
And another one in the neo4j manual.
回答2:
The usual way is to add an extra node that represents the subgraph, and connect that to all of the subgraph, and then relate to it from elsewhere.
来源:https://stackoverflow.com/questions/20877582/is-there-any-way-to-create-a-hypergraph-in-neo4j