I might have another use case, which I haven’t been able to solve.
Consider the following persons P1, P2 and P3, which is a connected through an edge (relation) with two time-based facets (from and to) to an intermediary node (N1, N2).
P1 --(from: "2021-06-01", to: "2021-06-03")--> N1 <--(from: "2021-05-28", to: "2021-06-05")-- P2 --(from: "2021-05-30", to: "2021-06-02")--> N2 <--(from: "2021-05-20", to: "2021-05-21")-- P3
I would like to query from P1 and expand relation but only if the time-ranges is intersecting.
I would like to get P1 --> N1 <-- P2 --> N2, but as the time-range from P2 --> N2 does not intersect with N2 <-- P3 the later is not followed.
Any way this is possible? Also, in our actual case, P1 multiple relation, as thus we need to filter the facet based on a variable from the parent block. Also, we would like to be able to make the query @recursive.