Librarians, lawyers and databases