feat(Query/interval): separate interval() and intervals()