A little helper around the query language