get_entity_relation_co_occurrence_df
- get_entity_relation_co_occurrence_df(dataset, merge_sides=True, merge_subsets=True, add_labels=True)[source]
Create a dataframe of entity/relation co-occurrence.
This information can be seen as a form of pseudo-typing, e.g. entity A is something which can be a head of born_in.
- Parameters:
- Return type:
DataFrame
- Returns:
A dataframe of entity-relation pairs with their occurrence count.