To do so, we create a pairwise factor node that connects two variable nodes if the aforementioned relation between the underlying NPs is satisfied.
to implement this idea, we need to address two questions.