     }
     
     
-
-
-
-
-
     /**
      
      Term ID type byte:

        let insert: Insert
        switch term.type {
        case .iri:
            insert = termsTable.insert(or: .ignore, idColumn <- i, termTypeColumn <- TermType.iri.rawValue, termValueColumn <- term.value)
        case .blank:
            insert = termsTable.insert(or: .ignore, idColumn <- i, termTypeColumn <- TermType.blank.rawValue, termValueColumn <- term.value)
        case .language(let lang):
            insert = try termsTable.insert(or: .ignore,
                idColumn <- i,
                termTypeColumn <- TermType.literal.rawValue,
                termValueColumn <- term.value,
                termDatatypeColumn <- getOrSetID(for: Term(iri: Namespace.rdf.langString)),
                termLangColumn <- lang)
        case .datatype(let dt):
            insert = try termsTable.insert(or: .ignore,
                idColumn <- i,
                termTypeColumn <- TermType.literal.rawValue,
                termValueColumn <- term.value,
                termDatatypeColumn <- getOrSetID(for: Term(iri: dt.value)))
        }
        //        print("INSERT: \(insert)")
        try db.run(insert)

    
    static func loadMaxIDs(from db: Connection) throws -> (Int64, Int64, Int64, Int64) {
        let mask        = UInt64(0x00ffffffffffffff)
        let blankID = SQLiteQuadStore.TermType.blank.rawValue
        let iriID = SQLiteQuadStore.TermType.iri.rawValue
        let literalID = SQLiteQuadStore.TermType.literal.rawValue
