To get these comparison features, we instead intersect the subgraphs on the path types, and combine the intermediate nodes when there are common path types.
if we see a common path type, such as -GENDER-, we will construct a feature representing a comparison between the intermediate node for the source and the target.