> the Query Graph Model (QGM) representation is quite abstract and hardcodes many properties, making it exceptionally difficult to understand. Its claimed extensibility is also questionable.<p>I don't know much about the context, but it was interesting to note that Materialize scrapped their QGM code last year: <a href="https://github.com/MaterializeInc/materialize/pull/17139">https://github.com/MaterializeInc/materialize/pull/17139</a><p>Also, a couple of interesting projects in the IR space:<p>- <a href="https://substrait.io/" rel="nofollow">https://substrait.io/</a> is a cross-language serialization for Relational Algebra<p>- <a href="https://www.lingo-db.com/" rel="nofollow">https://www.lingo-db.com/</a> is an MLIR-based (LLVM) query engine described extensively in this paper <a href="https://db.in.tum.de/~jungmair/papers/p2485-jungmair.pdf?lang=en" rel="nofollow">https://db.in.tum.de/~jungmair/papers/p2485-jungmair.pdf?lan...</a>