Update Literal.java

truncate too long strings to avoid db exceptions (and consequently loss of triple batch)