The Large KB gazetteer communicates with RDF databases through the standard open-source Sesame 2 API. The database connection is configured through config.ttl in the dictionary directory which contains standard Sesame configuration template. Note that in order to configure a new database, you will need to add to the classpath the database Sesame adapter.
Here are some databases that should work correctly with the gazetteer.