Sequences as relations