The volume of water contained in the vessel would be equal to $V=l^{3}=1^{3} m ^{3}=1 \,m ^{3}$. Assuming water to be pure so the density of water would be equal to $d=1000 \,kg / m ^{3}$, hence the mass of water contained in the vessel would be equal to $m=V d=1000 \,kg$. Thus, the work done would be equal to
$W=m g h=1000 \times 10 \times \frac{1}{2}=5000 \,J$