Relying on the notation introduced earlier, these features are generated by intersecting the subgraphs G s and G t on the intermediate nodes.
when the subgraphs share an intermediate node, we combine the path types found from the source and target to that node.