TripleCoverageError

exception TripleCoverageError(arr, name: str = 'ids')[source]

An exception thrown when not all entities/relations are covered by triples.

Initialize the error.

Parameters:
  • arr – shape: (num_indices,) the array of covering triple IDs

  • name (str) – the name to use for creating the error message