Comments
|
Comparisons across type are defined by the following arbitrary ordering, on which users are advised against relying:
BOOLEAN < NUMERIC < STRING < OBJECT < SLOT <
DATETIME < LIST
Within each type, ordering is as:
-
BOOLEAN: TRUE < FALSE
-
NUMERIC: values involving different dimensions are sorted by lexicographic ordering on the names of the units; within values of the same dimensionality, the sorting is based on standard numeric comparisons.
-
STRING: Lexicographic ordering
-
OBJECT: Lexicographic ordering on the object’s name
-
SLOT: Lexicographic ordering on the slot’s name
-
DATETIME: Same as RPL operator
-
LIST: Based on comparison of items within the list (left to right).
|