Everything you store in mishmash io is then accessible as a variable inside your application. You can use it according to all the rules of your programming language - the rules you're already familiar with.
In essence, you give it an algorithm of what it should do. Loop over lists, walk trees or anything of any complexity. If it can be written in your programming language - mishmash io lets you use it as a query.