examples: add exp2-query, a companion for math-register example