Advanced text query example