QGenda interview question

Given a graph predicate future values