What algorithms exist for this hypergraph data structure? - Apache TinkerPop