if(l instanceof au.csiro.ontology.model.DateLiteral) {
return new DateLiteral(((au.csiro.ontology.model.DateLiteral) l).getValue());
} else if(l instanceof au.csiro.ontology.model.DecimalLiteral) {
return new DecimalLiteral(((au.csiro.ontology.model.DecimalLiteral) l).getValue());
} else if(l instanceof au.csiro.ontology.model.IntegerLiteral) {
return new IntegerLiteral(((au.csiro.ontology.model.IntegerLiteral) l).getValue());
} else if(l instanceof au.csiro.ontology.model.StringLiteral) {
return new StringLiteral(((au.csiro.ontology.model.StringLiteral) l).getValue());
} else if(l instanceof au.csiro.ontology.model.FloatLiteral) {
return new DecimalLiteral(new BigDecimal(((au.csiro.ontology.model.FloatLiteral) l).getValue()));
} else {