It is not known exactly how many violin sonatas Joseph Haydn composed, since the authorship of several works attributed to him is uncertain. There is even some evidence that the present G major Sonata Hob. XV:32 may be Haydn's only original work in this genre. The striking correspondence of its opening with the theme of the second movement from Wolfgang Amadeus Mozart's Sonata in G major K. 301, which is likewise a two-movement violin sonata, could be regarded as a conscious quotation.