added annotated query example