lapis: max 500 queries