Look up the integer ID for an RDF term without creating it. Returns undefined if the term is not in the dictionary. Can be called with either a readonly or readwrite transaction.
Get the integer ID for an RDF term, creating it if it doesn't exist. Must be called within a readwrite transaction on the "terms" store.
Resolve an integer ID back to an RDF term. Throws if the ID is not found (should never happen if the DB is consistent).
Warm the in-memory cache for a set of IDs. Useful before iterating over a large result set to batch the ID lookups.
Clear the in-memory cache (useful after bulk operations)