             }
             self.i2tcache[id] = pairs.first
             return pairs.first
+// TODO: figure out why the getAny code isn't working
+//            guard let term = node.getAny(key: id) else {
+//                warn("*** No terms found for ID \(id)")
+//                return nil
+//            }
+//            self.i2tcache[id] = term
+//            return term
         } else {
             warn("*** No node found for tree \(i2tMapTreeName)")
         }

        let defaultIndex = QuadStore.defaultIndex
        guard let m = self.mediator as? RWMediator else { throw DatabaseError.PermissionError("Cannot load quads into a read-only quadstore") }
        do {
//            print("Adding RDF terms to database...")
            let idquads = try generateIDQuadsAddingTerms(quads: quads)

//            print("Adding RDF triples to database...")
            let empty = Empty()

            let toIndex = quadMapping(toOrder: defaultIndex)

            let pairs = node.get(key: value)
            self.t2icache[value] = pairs.first
            return pairs.first
// TODO: figure out why the getAny code isn't working
//            guard let id = node.getAny(key: value) else { return nil }
//            self.t2icache[value] = id
//            return id
        }
        return nil
    }
