There are similarities between the works. In the painting, we can find a farmer and a shepherd in the setting. In the story, the ones to have seen Daedalus and Icarus flying were a shepherd and a farmer. Both media display Icarus drowning after flying too close to the sun. This presents a shared theme that if you try too hard or aim too high, you may fall.
There are also differences between