Comparison between subquery

I’m trying to build an home-automation system using Wolfram Alpha, but i have some difficulty to understand how to build query that compare different subquery.

If i ask 3<4 i have the boolean result True.

It’s possible (and what is a correct syntax) to have the same boolean result True or False to query like

current time is between sunrise and sunset?

…

2 < 4 < 5 return True, ok.

time return a date.

sunset return a date.

sunrise return a date.

Why
sunrise < time < sunset doesn’t return a simple True ?

Another example i’m looking:
current day of week is Sunday?

Thanks for any feedback or a link to some article that explain multiple subquery syntax.

{3 < 4, 4 < 1}