first version of the builtin adapter which runs the queries against memory variables (collections)