Clean up OWL literal comparator