If values can be converted to the right type before updating the triplestore do it.