WIP: Materialize Logical expressions