added stream reasoning queries