The Open SQL Log Exchange format (OpenSLEX) is distributed as a library to store and retrieve Events, Event collections, Perspectives, Traces, Data Models, Objects and Versions in a SQLite based database, ready to perform Process Mining analysis.
To use this library, go to JitPack.
If you are looking for a way to query all this data, check out the project Data Aware Process Oriented Query Language DAPOQ-Lang.