<value> <> [<lower>, <upper>]Example: Judge whether "abc" is in the open interval ["abc", "123"]
UQLreturn "abc" <> ["abc", "123"]
Result0
Example: Judge whether PI is in the open interval [3.14, 3.15]
UQLwith [3.14, 3.15] as a return pi() <> [a[0], a[1]]
Result1
Example: Judge each row of an alias whether it is in the open interval [2, 4]
UQLuncollect [1,2,3,2,2] as a return a <> [2, 4]
Result0 0 1 0 0
Sample graph: (to be used for the following examples)

Example: Find nodes whose age is in the open interval [25, 35]
UQLfind().nodes({age <> [25, 35]}) as n return n{*}
Result|--------------- @professor --------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | P002 | 2 | 27 | [email protected] | |---------------- @student ---------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | S001 | 3 | 27 | [email protected] |
Example: Find nodes of @professor, whose age is in the open interval [25, 35]
UQLfind().nodes({@professor.age <> [25, 35]}) as n return n{*}
Result|--------------- @professor --------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | P002 | 2 | 27 | [email protected] |