Title: A modularized query translator and optimizer