We use a lot of this style in upsert/queries:
node as var(func:uid("0x1"))
nodeDate as var(func:uid(node)) @filter(has(publication.date))
nodeDateFiltered as var(func:uid(nodeDate)) @filter(le(publication.date, "2023-10-05T10:00:00Z"))
Love to see any improvement on the has and le filters.
Thanks,
Ryan