The Violin Sonata in G major, BWV 1019, is a piece for violin with keyboard accompainment composed by Johann Sebastian Bach around 1717-23 as part of his Six Sonatas for Keyboard and Violin. It was first published in 1814. The average performance time of the piece is 16 minutes.