To construct a feature vector for a source-target pair (s j , t j ), SFE takes the subgraphs G s j and G t j and merges them on the intermediate nodes i.
if an intermediate node i is present in both G s j and G t j , SFE takes the path types π corresponding to i and combines them (reversing the path type coming from the target node t j ).