Advanced queries and readme update