Sonate für Piano Nr. 2 in B-flat minor, Op. 35 by Frédéric Chopin: Beethoven's Piano Sonata, No. 12 was greatly admired by Chopin, who repeated its basic sequence of scherzo, funeral march with trio, and perpetuum mobile finale in his own Piano Sonata in B♭ minor. His first movement, however, is also animated and in sonata form, unlike Beethoven's Andante con variazioni.
Sonate für Piano, D. 958 by Franz Schubert: Another less immediate connection exists with the main theme, also in A♭ major, of the Adagio movement in Schubert's piano sonata in C minor, D. 958. Indeed, Schubert may have borrowed these themes from Beethoven, as he often did in his compositions.
Impromptus in A-flat major, Op. 142 No. 2 by Franz Schubert: The main theme of Schubert's Impromptu in A♭ major, Op. 142 No. 2 is strikingly similar to the theme in the first movement of Beethoven's sonata. The four-bar phrases that open these pieces are almost identical in most musical aspects: key, harmony, voicing, register, and basic as well as harmonic rhythm.