def related_query_name(self):
        return self.remote_field.related_query_name or self.remote_field.related_name or self.opts.model_name
Extracts a section of XML using the xpath and compares it to the expected
dataset/ETHPy150Open django/django/django/db/models/fields/related.py/RelatedField.related_query_name--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/app_manager/tests/util.py/TestXmlMixin.assertXmlPartialEqual