Mancora provides a simple DSL that allows you to automate queries for statistical purposes.