sapience-lookup

Description

This component provides an interface for all Injectors to read existing knowledge-annotations out of a connected repository or to write knowledge-annotations out of a annotated document into a connected repository.

Interface

check

This method returns all References, which contain the given URI.

Input

  • Serializable request The request could be any validated URI.

Output

  • List<Reference>: The output is normal List containing only sapience.injectors.model.Reference objects.

put

This method adds or updates the given reference in the database.

Input

  • String request, Reference reference: The reference could be any sapience.injectors.model.Reference object. The request should contain a request to this document.

put

This method adds or updates a list of references in the database.

Input

  • String request, List<Reference> refList: The refList could contain any sapience.injectors.model.Reference object. The request should contain a request to this document.

Components