graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Issue]: Why do so many nodes have empty community

Open tomasonjo opened this issue 1 year ago • 2 comments

Describe the issue

I was inspecting the example dataset from operation dulge... For some reason most of nodes have no communities. I find it even weirder that nodes that have community on the first level don't necessarily have a community on the second level

Steps to reproduce

nodes_df = pd.read_parquet('create_final_nodes.parquet') nodes_df.community.value_counts() community 1 14 2 9 4 9 0 6 5 5 3 3

There is 217 nodes in total

GraphRAG Config Used

No response

Logs and screenshots

No response

Additional Information

No response

tomasonjo avatar Jul 12 '24 13:07 tomasonjo

It's possible that these are singleton entities that have no relationships. Are those nodes connected to any other nodes in the data?

j2whiting avatar Jul 12 '24 17:07 j2whiting

I guess you are right, but then the question is why so little relationships

tomasonjo avatar Jul 12 '24 17:07 tomasonjo