start working on queries to extract data from my textpattern instance