Improve documentation and sample queries of the `named_databases` example