besskge.dataset

Utilities for building and storing knowledge graph datasets as collections of (h,r,t) triples.

Classes

KGDataset(n_entity, n_relation_type, ...[, ...])

Represents a complete knowledge graph dataset of (head, relation, tail) triples.