Text this: Logical and Algebraic Characterizations of Rational Transductions