* lsdb-to-rdfdb.el: Don't require 'rdfdb; save database in ~/.lsdb.nt.
(lsdb-rdfdb-prepare-record-triples): Rename from add-entry-triples.
* lsdb.el: Require 'rdfdb.
(lsdb-rdfdb-file): New user option.
(lsdb-use-rdfdb): New user option.
(lsdb-rdfdb-database): New variable.
(lsdb-rdfdb-namespace-uri): New constant.
(lsdb-rdfdb-maybe-load-database): New function.
(lsdb-rdfdb-convert-triples-to-alist): New function.
(lsdb-rdfdb-lookup-records): New function.
(lsdb-mode-lookup): Use RDFDB.
* rdfdb.el (rdfdb-literal-resource-uri-prefix): Change.
(rdfdb-prime-list): Abolish.
(rdfdb-make-database): Use only native hash-tables; don't pick up
literals from " *rdfdb literals*" buffer.
(rdfdb-database-key-index): Rename from rdfdb-database-key-obarray.
(rdfdb-database-set-key-index): Rename from rdfdb-database-set-key-obarray.
(rdfdb-database-literal-index): Rename from rdfdb-database-literal-buffer.
(rdfdb-database-literal-reverse-index): New inline function.
(rdfdb-database-set-literal-reverse-index): New inline function.
(rdfdb-clear-database): Follow changes of rdfdb-database structure.
(rdfdb-find-key): Ditto.
(rdfdb-get-key): Ditto.
(rdfdb-get-literal-resource): Ditto.
(rdfdb-find-literal): Ditto.