if (n1.size() == n2.size()) {
nodeNameRelationship = SAME_TYPE;
} else {
nodeNameRelationship = SUBSUMES;
}
} else if (n2.containsAll(n1)) {
nodeNameRelationship = SUBSUMED_BY;
} else if (n1.containsSome(n2)) {
nodeNameRelationship = OVERLAPS;
} else {
nodeNameRelationship = DISJOINT;