Add zero or more KB entries for the given info.
Add zero or more KB entries for the given info. Duplicate entries are not added.
Print a textual representation of the IMKB contents to standard output.
Return a sequence of ALL the NS/ID keys in this KB.
Return resolutions for the set of all KB entries for the given text string.
Find the set of KB entries, for the given text string, which match the given single species.
Find the set of KB entries, for the given text string, which match the given single species. Returns resolutions for matching entries or None.
Finds the set of KB entries, for the given text string, which contains a species in the given set of species.
Finds the set of KB entries, for the given text string, which contains a species in the given set of species. Returns resolutions for matching entries or None.
Finds the set of KB entries, for the given text string, which have humans as the species.
Finds the set of KB entries, for the given text string, which have humans as the species. Returns resolutions for matching entries or None.
Find the set of KB entries, for the given text string, which do not contain a species.
Find the set of KB entries, for the given text string, which do not contain a species. Returns resolutions for matching entries or None.
Return resolutions for the set of KB entries for the given namespace and ID strings.
Return resolutions for the set of KB entries for the given NS/ID string.
Try lookups for all given NS/IDs until one succeeds or all fail.
Return a sequence of ALL the NS/ID keys in this KB.
Return a sequence of ALL the KB resolutions in this KB.
Return the set of species for the entries mapped by the given NS/ID key.
Class implementing an in-memory knowledge base indexed by key and species. Written by: Tom Hicks. 10/25/2015. Last Modified: Replacement of reverse lookups: add species for NS/ID method.