We've developed a high-level query language, http://htsql.org, for complex reporting of medical informatics data sets stored in a relational database (Sqlite, MySQL or PostgreSQL). I'm not sure how this might fit your requirements, but it feels like 2012 to us -:)