Text this: Query rewriting using multitier materialized views for Cyber manufacturing reporting