Add support for advanced queries (Readme.md example)