There is a lot of information in the LR database and the EXIF information from the image (including VR info, at least in Nikon cameras) and it is possible to create interesting queries beyond what is possible with LR.
It should be even possible to create an XMP file for a raw image querying the LR database. You can also get an ODBC driver for SQLite and query the LR database from any ODBC compatible database and even in MS excel, where you can perform additional analysis on the data.
E.G. you could analyse if there exists any correlation between edit parameters and camera / lens combinations and create presets based on that info, something like any time you use camera x with lens y at ISO z you find out that you use the same clarity, sharpening, noise reduction, etc.