1. A computer-implemented method, comprising: at a computer having one or more processors and memory storing programs executed by the one or more processors: providing a specification in a language based on a structure of one or more target databases; and automatically translating the specification into one or more database queries adapted to the structure.