1. An article of manufacture comprising a computer readable storage medium having code executed to perform operations, the operations comprising: providing a module mapping associating a plurality of first type query translator modules with a first data store type to which the first query translator modules apply and associating a plurality of second query translator modules with a second data store type to which the second query translator modules apply, wherein the first and second query translator modules for the first and second data store types include database specific operations to implement query optimization for the first and second data store types to which the first and second query translator modules respectively apply and include first and second resolve modules, respectively; receiving a query to query a target data store; determining whether the target data store is of the first data store type or the second data store type; determining from the module mapping the first query translators to use in response to determining that the target data store is of the first data store type and the second query translator modules to use in response to determining that the target data store is of the second data store type; generating a parse tree of nodes; grouping the nodes according to query parts to produce a query graph; forwarding the query graph to the first or second resolve module from the determined first or second query translator modules to validate that the query attributes are valid attributes in the target data store; and in response to validating the query parts, performing: using the first query translator modules to translate the received query to a query execution plan in response to determining that the target data store is of the first data store type; and using the second query translator modules to translate the received query to a query execution plan in response to determining that the target data store is of the second data store type.