Breakdown of El retrato de la mujer con sombrero estaba junto a una escultura muy grande.
Questions & Answers about El retrato de la mujer con sombrero estaba junto a una escultura muy grande.
Because retrato is a masculine noun in Spanish. The article has to match the noun’s grammatical gender, so it takes el.
A useful reminder: noun gender in Spanish is grammatical, not logical. A word can be masculine even if it refers to something connected with a woman. Here, retrato is masculine simply because that is the gender of the noun.
The most natural reading is that it describes la mujer.
So la mujer con sombrero means the woman wearing a hat or the woman with a hat.
In other words, the structure is understood like this:
el retrato
de [la mujer con sombrero]
Spanish often places descriptive phrases after the noun they modify, so con sombrero is attaching to la mujer here.