code: private au.csiro.snorocket.core.model.AbstractLiteral transformLiteral(Literal l) {
          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 {
              throw new RuntimeException("Unexpected AbstractLiteral "+l.getClass().getName());
          }
      }
docs: Transforms an {@link ILiteral} into an {@link au.csiro.snorocket.core.model.AbstractLiteral}.
  
  @param l The literal in the ontology model format.
  @return The literal in the internal model format.