code: def subject_pair_overlap(subject1, subject2, object_category=None, **kwargs):
      
      set1 = get_object_closure(subject1,
                                object_category=object_category,
                                **kwargs)
      set2 = get_object_closure(subject2,
                                object_category=object_category,
                                **kwargs)
      return len(set1.intersection(set2)), len(set1.union(set2))
docs: Jaccard similarity