RMQL is a XQuery like implementation of a query language that provides a dynamic API to your rails project to benefit from external mashups.