code: def compare(self,
                  reference_classes: List,
                  query_classes: List,
                  method: Optional[SimAlgorithm] = SimAlgorithm.PHENODIGM) -> SimResult:
          
          owlsim_results = compare_attribute_sets(self.url, tuple(reference_classes), tuple(query_classes))
          return self._simcompare_to_simresult(owlsim_results, method)
docs: Owlsim2 compare, calls compare_attribute_sets, and converts to SimResult object
          :return: SimResult object