{
#Get the volume of ice
totalVolumeOfIce = sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Global_Grounded_Ice> prop:Volume ?x}");
#Get the volume in km3
totalVolumeOfIce = utConvert(totalVolumeOfIce, "km3",1);
#Fetch the ice density and water density
iceDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water_Ice> prop:Density ?x}"),'kg/m3',1);
waterDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water> prop:Density ?x}"),'kg/m3',1);
#Calculate the volume of water created when the ice melts
totalVolumeOfWater = totalVolumeOfIce * iceDensity / waterDensity;
#Get the area of the ocean
seaArea = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Ocean> prop:Area ?x}"),'km2',1);
#Divide the volume of water by the area of the ocean, and convert to meters
seaLevelIncrease = utConvert("km", "m", totalVolumeOfWater / seaArea);
#Return a string containing the units, rounded to the nearest 10 meters
paste(round(seaLevelIncrease, -1), "m");
}