Interface ILabelResolver
- All Known Implementing Classes:
OntologyBasedLabelResolver, SimpleLabelResolver
public interface ILabelResolver
An object that can resolve labels into proper entity identifiers.
-
Method Summary
-
Method Details
-
resolve
-
add
-
getNewId
Mints a new identifier for the given label.This method is used when a KGCL “create” instruction does not include an identifier for the node to be created (e.g.,
create class 'my new class'). It shall return a new identifier for the node to be created.Any subsequent call to
resolve(String)with the same label shall return the same identifier.- Parameters:
label- The label for which an identifier is requested.- Returns:
- The newly minted identifier.
-