import pytest


@pytest.fixture
def association_table_response():
    return {
        "responseHeader": {
            "QTime": 0,
            "params": {
                "mm": "100%",
                "q": "*:*",
                "defType": "edismax",
                "facet_min_count": "1",
                "hl": "false",
                "start": "0",
                "q.op": "AND",
                "fq": [
                    "category:biolink\\:DiseaseToPhenotypicFeatureAssociation",
                    'subject:"MONDO:0020121" OR subject_closure:"MONDO:0020121" OR object:"MONDO:0020121" OR object_closure:"MONDO:0020121" OR disease_context_qualifier:"MONDO:0020121" OR disease_context_qualifier_closure:"MONDO:0020121"',
                ],
                "facet.mincount": "1",
                "sort": "frequency_computed_sortable_float desc, evidence_count desc, subject_label asc, predicate asc, object_label asc, primary_knowledge_source asc",
                "rows": "5",
                "facet": "true",
            },
        },
        "response": {
            "num_found": 4192,
            "start": 0,
            "docs": [
                {
                    "id": "uuid:292ee13f-198e-11f0-be82-6045bdb3d4c0",
                    "original_subject": "OMIM:620727",
                    "predicate": "biolink:has_phenotype",
                    "category": "biolink:DiseaseToPhenotypicFeatureAssociation",
                    "agent_type": "manual_agent",
                    "aggregator_knowledge_source": ["infores:monarchinitiative", "infores:hpo-annotations"],
                    "knowledge_level": "knowledge_assertion",
                    "primary_knowledge_source": "infores:omim",
                    "publications": [
                        "PMID:16075202",
                        "PMID:11381124",
                        "PMID:11506412",
                        "PMID:20729548",
                        "PMID:20106987",
                    ],
                    "provided_by": "hpoa_disease_to_phenotype_edges",
                    "has_count": 7,
                    "has_percentage": 100.0,
                    "has_quotient": 1.0,
                    "has_total": 7,
                    "has_evidence": ["ECO:0006017"],
                    "negated": False,
                    "subject": "MONDO:0958235",
                    "object": "HP:0006094",
                    "subject_label": "Ullrich congenital muscular dystrophy 1B",
                    "subject_category": "biolink:Disease",
                    "subject_namespace": "MONDO",
                    "subject_closure": [
                        "MONDO:0100545",
                        "MONDO:0019952",
                        "MONDO:0005336",
                        "MONDO:0005071",
                        "MONDO:0020120",
                        "MONDO:0002081",
                        "MONDO:0000001",
                        "MONDO:0700223",
                        "MONDO:0700096",
                        "MONDO:0003847",
                        "MONDO:0000355",
                        "MONDO:0020121",
                        "MONDO:0019950",
                        "MONDO:0100546",
                        "MONDO:0002320",
                        "MONDO:0958235",
                        "MONDO:0019056",
                        "MONDO:0003939",
                    ],
                    "subject_closure_label": [
                        "musculoskeletal system disorder",
                        "congenital nervous system disorder",
                        "hereditary neuromuscular disease",
                        "hereditary disease",
                        "congenital myopathy",
                        "myopathy",
                        "Ullrich congenital muscular dystrophy",
                        "nervous system disorder",
                        "congenital muscular dystrophy",
                        "hereditary neurological disease",
                        "Ullrich congenital muscular dystrophy 1B",
                        "hereditary skeletal muscle disorder",
                        "neuromuscular disease",
                        "disease",
                        "muscular dystrophy",
                        "skeletal muscle disorder",
                        "human disease",
                        "muscle tissue disorder",
                    ],
                    "object_label": "Finger joint hypermobility",
                    "object_category": "biolink:PhenotypicFeature",
                    "object_namespace": "HP",
                    "object_closure": [
                        "UPHENO:0002746",
                        "UPHENO:0003095",
                        "UPHENO:0087347",
                        "UPHENO:0087660",
                        "UPHENO:0005214",
                        "UPHENO:0084763",
                        "UPHENO:0002577",
                        "UPHENO:0002949",
                        "UPHENO:0003049",
                        "UPHENO:0076727",
                        "UPHENO:0002554",
                        "UBERON:0000475",
                        "UBERON:0006058",
                        "UBERON:0011249",
                        "UPHENO:0087006",
                        "UPHENO:0002782",
                        "UPHENO:0004892",
                        "UPHENO:0081581",
                        "UPHENO:0002564",
                        "HP:0040064",
                        "UPHENO:0076697",
                        "UBERON:0001062",
                        "UBERON:0002050",
                        "UBERON:0000062",
                        "UBERON:0000468",
                        "UBERON:0010758",
                        "UBERON:0004765",
                        "UBERON:0007524",
                        "UBERON:5002389",
                        "UBERON:0002544",
                        "UPHENO:0082875",
                        "UPHENO:0003163",
                        "UPHENO:0002983",
                        "UPHENO:0003066",
                        "UPHENO:0077419",
                        "UPHENO:0002643",
                        "UPHENO:0084761",
                        "HP:0011297",
                        "UPHENO:0002586",
                        "UPHENO:0002880",
                        "UPHENO:0002830",
                        "UPHENO:0003799",
                        "UBERON:0034925",
                        "BFO:0000004",
                        "UBERON:0004288",
                        "UBERON:0004770",
                        "UBERON:0005291",
                        "UBERON:0003104",
                        "UBERON:0000153",
                        "HP:0001155",
                        "HP:0011842",
                        "UPHENO:0088123",
                        "UPHENO:0003159",
                        "UPHENO:0002708",
                        "UPHENO:0002945",
                        "UPHENO:0002870",
                        "UPHENO:0004466",
                        "HP:0040068",
                        "UBERON:0005423",
                        "UBERON:0010130",
                        "UBERON:0000923",
                        "UBERON:0010708",
                        "UBERON:0004710",
                        "UBERON:0002101",
                        "HP:0001167",
                        "HP:0000924",
                        "UPHENO:0086546",
                        "UPHENO:0002536",
                        "UPHENO:0002648",
                        "UPHENO:0003432",
                        "UPHENO:0076944",
                        "UBERON:0000465",
                        "UBERON:0010316",
                        "UBERON:0003081",
                        "UBERON:0010707",
                        "UBERON:0004708",
                        "UBERON:0005419",
                        "UBERON:0004347",
                        "UBERON:0002389",
                        "UBERON:0010740",
                        "UBERON:0002513",
                        "UBERON:0002529",
                        "UBERON:0015061",
                        "UBERON:0001460",
                        "UPHENO:0086769",
                        "UPHENO:0002526",
                        "UPHENO:0076703",
                        "HP:0000118",
                        "UPHENO:0002731",
                        "UPHENO:0003812",
                        "UPHENO:0002530",
                        "UPHENO:0087663",
                        "BFO:0000004",
                        "UPHENO:0002976",
                        "UBERON:0000061",
                        "UBERON:0004120",
                        "UBERON:0000922",
                        "UPHENO:0002269",
                        "UPHENO:0004885",
                        "UPHENO:0003005",
                        "UPHENO:0003334",
                        "HP:0033127",
                        "UPHENO:0002267",
                        "UPHENO:0002926",
                        "UBERON:0010000",
                        "UBERON:0006598",
                        "UBERON:0000926",
                        "UBERON:0002102",
                        "UPHENO:0086633",
                        "UPHENO:0077421",
                        "UPHENO:0002542",
                        "UPHENO:0003366",
                        "UPHENO:0076943",
                        "BFO:0000001",
                        "UBERON:0004381",
                        "UBERON:0010712",
                        "UBERON:0002091",
                        "UBERON:0000982",
                        "UPHENO:0002944",
                        "UPHENO:0087665",
                        "BFO:0000040",
                        "HP:0002817",
                        "UPHENO:0002650",
                        "UPHENO:0002568",
                        "UBERON:0002204",
                        "UBERON:0005451",
                        "UBERON:0002398",
                        "UBERON:0012140",
                        "UBERON:0012354",
                        "UPHENO:0004900",
                        "UPHENO:0002861",
                        "HP:0001382",
                        "UPHENO:0002816",
                        "UPHENO:0004476",
                        "UPHENO:0084448",
                        "HP:0011844",
                        "UPHENO:0002571",
                        "UPHENO:0002600",
                        "UPHENO:0005092",
                        "UBERON:0001062",
                        "UBERON:0000075",
                        "UBERON:0001015",
                        "UBERON:0001434",
                        "UBERON:0010912",
                        "UBERON:0000383",
                        "UBERON:0012141",
                        "UPHENO:0076740",
                        "UPHENO:0002747",
                        "UPHENO:0003415",
                        "UPHENO:0002541",
                        "UPHENO:0002559",
                        "UPHENO:0001003",
                        "UPHENO:0002525",
                        "UPHENO:0086700",
                        "UPHENO:0079876",
                        "HP:0011843",
                        "UBERON:0001474",
                        "UBERON:0010538",
                        "UBERON:0010363",
                        "UBERON:0004375",
                        "UBERON:0002428",
                        "UBERON:0008785",
                        "UBERON:0002470",
                        "UBERON:0012139",
                        "UBERON:0003839",
                        "UPHENO:0003227",
                        "UPHENO:0002964",
                        "UPHENO:0004909",
                        "UPHENO:0002632",
                        "UPHENO:0004475",
                        "UPHENO:0002385",
                        "BFO:0000001",
                        "UPHENO:0001001",
                        "UPHENO:0076723",
                        "UPHENO:0002905",
                        "HP:0034430",
                        "UPHENO:0003065",
                        "HP:0430046",
                        "UBERON:0003102",
                        "UBERON:0011216",
                        "UBERON:0034921",
                        "UBERON:0004905",
                        "HP:0000001",
                        "UPHENO:0001002",
                        "HP:0006094",
                        "HP:0002813",
                        "UPHENO:0003514",
                        "UPHENO:0081440",
                        "UPHENO:0086635",
                        "BFO:0000002",
                        "UBERON:0000467",
                        "RO:0002577",
                        "UPHENO:0002593",
                        "UPHENO:0002567",
                        "UPHENO:0004680",
                        "UPHENO:0003015",
                        "UPHENO:0087849",
                        "HP:0006256",
                        "UPHENO:0002963",
                        "UPHENO:0002733",
                        "UPHENO:0076692",
                        "BFO:0000040",
                        "UBERON:0004357",
                        "UBERON:0000479",
                        "UBERON:0000026",
                        "UBERON:5002544",
                        "UBERON:0005881",
                        "UBERON:0003657",
                        "HP:0011729",
                        "BFO:0000002",
                        "UPHENO:0002896",
                        "UBERON:0015212",
                        "UBERON:0010314",
                        "UBERON:0011582",
                        "UBERON:0005417",
                    ],
                    "object_closure_label": [
                        "paired limb/fin bud phenotype",
                        "Abnormality of the musculoskeletal system",
                        "paired limb/fin segment phenotype",
                        "Small joint hypermobilty",
                        "anatomical structure",
                        "mesoderm-derived structure",
                        "germ layer / neural crest",
                        "lateral plate mesoderm",
                        "appendage girdle complex",
                        "paired limb/fin",
                        "subdivision of organism along appendicular axis",
                        "skeletal element",
                        "bone element",
                        "paired limb/fin segment",
                        "endochondral element",
                        "organ phenotype",
                        "skeletal system morphology phenotype",
                        "material entity",
                        "Abnormality of the upper limb",
                        "multicellular organism phenotype",
                        "autopodial extension phenotype",
                        "anatomical entity morphology phenotype",
                        "entity",
                        "skeleton",
                        "articular system",
                        "musculoskeletal system",
                        "anatomical entity physiology phenotype",
                        "Abnormal finger morphology",
                        "Phenotypic abnormality",
                        "lateral structure phenotype",
                        "appendicular skeleton phenotype",
                        "skeletal system phenotype",
                        "limb skeleton subdivision phenotype",
                        "bone of free limb or fin phenotype",
                        "multicellular anatomical structure phenotype",
                        "organ system subdivision",
                        "multi organ part structure",
                        "embryo phenotype",
                        "Abnormality of joint mobility",
                        "manus morphology phenotype",
                        "digit phenotype",
                        "Abnormal joint physiology",
                        "endochondral bone phenotype",
                        "skeletal joint phenotype",
                        "increased anatomical entity mobility",
                        "multi organ part structure phenotype",
                        "organ system subdivision phenotype",
                        "surface structure",
                        "forelimb bud",
                        "limb segment phenotype",
                        "embryo morphology phenotype",
                        "appendage phenotype",
                        "Joint hypermobility",
                        "germ layer phenotype",
                        "endochondral element phenotype",
                        "limb endochondral element phenotype",
                        "musculoskeletal system phenotype",
                        "anatomical entity",
                        "embryonic structure",
                        "organism subdivision",
                        "manual digit",
                        "bone of appendage girdle complex",
                        "endochondral bone",
                        "limb segment",
                        "limb endochondral element",
                        "arm",
                        "Abnormality of hand joint mobility",
                        "anatomical system phenotype",
                        "independent continuant",
                        "pectoral appendage bud phenotype",
                        "Abnormality of limb bone",
                        "developing anatomical structure",
                        "skeleton of limb",
                        "All",
                        "Abnormality of the skeletal system",
                        "limb bud phenotype",
                        "anatomical entity mobility phenotype",
                        "anatomical structure phenotype",
                        "digit morphology phenotype",
                        "anatomical entity morphology in the pectoral complex phenotype",
                        "Abnormal musculoskeletal physiology",
                        "paired limb/fin bud",
                        "tissue",
                        "appendage",
                        "digit plus metapodial segment",
                        "autopodial extension",
                        "germ layer / neural crest phenotype",
                        "articulation phenotype",
                        "mesenchyme morphology phenotype",
                        "lateral plate mesoderm phenotype",
                        "manus phenotype",
                        "paired limb/fin phenotype",
                        "musculature phenotype",
                        "manual digit phenotype",
                        "anatomical entity morphology in the manus phenotype",
                        "Abnormal appendicular skeleton morphology",
                        "manual digit morphology in the manus phenotype",
                        "Abnormal digit morphology",
                        "upper limb segment phenotype",
                        "anatomical structure physiology phenotype",
                        "anatomical collection",
                        "independent continuant",
                        "multicellular anatomical structure",
                        "embryonic autopod plate",
                        "germ layer",
                        "pectoral complex",
                        "pectoral appendage",
                        "limb",
                        "anatomical system physiology phenotype",
                        "autopod region morphology phenotype",
                        "developing anatomical structure phenotype",
                        "skeletal element phenotype",
                        "multicellular organism morphology phenotype",
                        "anatomical collection phenotype",
                        "musculature of body phenotype",
                        "arm phenotype",
                        "limb phenotype",
                        "skeleton phenotype",
                        "organ",
                        "multicellular organism",
                        "articulation",
                        "bone of free limb or fin",
                        "limb bone",
                        "upper limb segment",
                        "autopod region",
                        "segment of autopod",
                        "forelimb joint",
                        "bone of appendage girdle complex phenotype",
                        "embryonic tissue phenotype",
                        "forelimb morphology phenotype",
                        "increased skeletal joint mobility",
                        "subdivision of skeleton phenotype",
                        "forelimb bud phenotype",
                        "anatomical entity",
                        "presumptive structure",
                        "embryo",
                        "limb joint",
                        "subdivision of skeletal system phenotype",
                        "subdivision of organism along appendicular axis phenotype",
                        "forelimb bud morphology phenotype",
                        "phenotypic effect",
                        "Finger joint hypermobility",
                        "Abnormal limb bone morphology",
                        "limb bone phenotype",
                        "multi-limb segment region phenotype",
                        "limb bone morphology phenotype",
                        "skeletal joint mobility phenotype",
                        "system",
                        "segment of manus",
                        "manus",
                        "digitopodium region",
                        "acropodium region",
                        "skeleton of limb phenotype",
                        "autopod region phenotype",
                        "mesoderm phenotype",
                        "pectoral appendage phenotype",
                        "musculoskeletal system physiology phenotype",
                        "limb morphology phenotype",
                        "entity",
                        "material entity",
                        "subdivision of skeletal system",
                        "musculature",
                        "skeletal system",
                        "subdivision of skeleton",
                        "musculature of body",
                        "limb skeleton subdivision",
                        "appendicular skeleton",
                        "skeletal joint",
                        "manual digitopodium region",
                        "surface structure phenotype",
                        "forelimb phenotype",
                        "bone element phenotype",
                        "embryonic structure phenotype",
                        "mesoderm-derived structure phenotype",
                        "paired limb/fin skeleton",
                        "pectoral appendage bud",
                        "limb bud",
                        "mesoderm",
                        "forelimb",
                        "appendicular skeleton morphology phenotype",
                        "germ layer morphology phenotype",
                        "paired limb/fin skeleton phenotype",
                        "anatomical entity morphology in the appendage girdle complex phenotype",
                        "mesenchyme phenotype",
                        "dense mesenchyme tissue phenotype",
                        "anatomical entity phenotype",
                        "material anatomical entity physiology phenotype",
                        "organism subdivision phenotype",
                        "continuant",
                        "anatomical system",
                        "embryonic tissue",
                        "mesenchyme",
                        "anterior region of body",
                        "phenotype",
                        "Abnormality of the hand",
                        "Abnormal skeletal morphology",
                        "embryonic tissue morphology phenotype",
                        "continuant",
                        "material anatomical entity phenotype",
                        "mesoderm morphology phenotype",
                        "material anatomical entity",
                        "multi-limb segment region",
                        "appendicular skeletal system",
                        "embryonic autopod plate morphology phenotype",
                        "presumptive structure phenotype",
                        "limb bud morphology phenotype",
                        "taxon specific phenotype",
                        "tissue phenotype",
                        "Abnormality of limbs",
                        "lateral plate mesoderm morphology phenotype",
                        "lateral structure",
                        "structure with developmental contribution from neural crest",
                        "dense mesenchyme tissue",
                        "manual digit plus metapodial segment",
                        "digit",
                    ],
                    "evidence_count": 6,
                    "grouping_key": "MONDO:0958235|False|biolink:has_phenotype|HP:0006094",
                    "highlighting": None,
                },
                {
                    "id": "uuid:292ee13a-198e-11f0-be82-6045bdb3d4c0",
                    "original_subject": "OMIM:620727",
                    "predicate": "biolink:has_phenotype",
                    "category": "biolink:DiseaseToPhenotypicFeatureAssociation",
                    "agent_type": "manual_agent",
                    "aggregator_knowledge_source": ["infores:monarchinitiative", "infores:hpo-annotations"],
                    "knowledge_level": "knowledge_assertion",
                    "primary_knowledge_source": "infores:omim",
                    "publications": [
                        "PMID:16075202",
                        "PMID:11381124",
                        "PMID:11506412",
                        "PMID:20729548",
                        "PMID:20106987",
                    ],
                    "provided_by": "hpoa_disease_to_phenotype_edges",
                    "has_count": 5,
                    "has_percentage": 100.0,
                    "has_quotient": 1.0,
                    "has_total": 5,
                    "has_evidence": ["ECO:0006017"],
                    "negated": False,
                    "subject": "MONDO:0958235",
                    "object": "HP:0001252",
                    "subject_label": "Ullrich congenital muscular dystrophy 1B",
                    "subject_category": "biolink:Disease",
                    "subject_namespace": "MONDO",
                    "subject_closure": [
                        "MONDO:0100545",
                        "MONDO:0019952",
                        "MONDO:0005336",
                        "MONDO:0005071",
                        "MONDO:0020120",
                        "MONDO:0002081",
                        "MONDO:0000001",
                        "MONDO:0700223",
                        "MONDO:0700096",
                        "MONDO:0003847",
                        "MONDO:0000355",
                        "MONDO:0020121",
                        "MONDO:0019950",
                        "MONDO:0100546",
                        "MONDO:0002320",
                        "MONDO:0958235",
                        "MONDO:0019056",
                        "MONDO:0003939",
                    ],
                    "subject_closure_label": [
                        "musculoskeletal system disorder",
                        "congenital nervous system disorder",
                        "hereditary neuromuscular disease",
                        "hereditary disease",
                        "congenital myopathy",
                        "myopathy",
                        "Ullrich congenital muscular dystrophy",
                        "nervous system disorder",
                        "congenital muscular dystrophy",
                        "hereditary neurological disease",
                        "Ullrich congenital muscular dystrophy 1B",
                        "hereditary skeletal muscle disorder",
                        "neuromuscular disease",
                        "disease",
                        "muscular dystrophy",
                        "skeletal muscle disorder",
                        "human disease",
                        "muscle tissue disorder",
                    ],
                    "object_label": "Hypotonia",
                    "object_category": "biolink:PhenotypicFeature",
                    "object_namespace": "HP",
                    "object_closure": [
                        "HP:0011804",
                        "UPHENO:0002320",
                        "UPHENO:0003047",
                        "UBERON:0001062",
                        "UBERON:0000062",
                        "UPHENO:0082875",
                        "UPHENO:0002949",
                        "UPHENO:0002568",
                        "UBERON:0000468",
                        "HP:0003011",
                        "UPHENO:0002536",
                        "UPHENO:0003432",
                        "UPHENO:0002525",
                        "UPHENO:0082555",
                        "UPHENO:0002526",
                        "HP:0000118",
                        "UPHENO:0002530",
                        "UPHENO:0002976",
                        "UBERON:0005090",
                        "UPHENO:0001002",
                        "HP:0033127",
                        "UPHENO:0002267",
                        "HP:0003808",
                        "BFO:0000040",
                        "BFO:0000001",
                        "UPHENO:0002359",
                        "UBERON:0001630",
                        "UPHENO:0002816",
                        "UPHENO:0002386",
                        "UBERON:0001062",
                        "UBERON:0001015",
                        "UBERON:0000383",
                        "UPHENO:0001003",
                        "BFO:0000004",
                        "UPHENO:0001001",
                        "UPHENO:0082557",
                        "UPHENO:0002308",
                        "UPHENO:0002385",
                        "BFO:0000001",
                        "UBERON:0000061",
                        "UPHENO:0002963",
                        "UBERON:0000465",
                        "UBERON:0010000",
                        "UBERON:0011216",
                        "HP:0000001",
                        "BFO:0000002",
                        "UBERON:0000467",
                        "BFO:0000040",
                        "BFO:0000002",
                        "UPHENO:0003022",
                        "HP:0001252",
                        "BFO:0000004",
                    ],
                    "object_closure_label": [
                        "Abnormality of the musculoskeletal system",
                        "muscle structure",
                        "decreased anatomical entity tone",
                        "organ phenotype",
                        "entity",
                        "material anatomical entity",
                        "muscle organ",
                        "anatomical entity physiology phenotype",
                        "Phenotypic abnormality",
                        "organ system subdivision",
                        "multicellular anatomical structure phenotype",
                        "organ system subdivision phenotype",
                        "multicellular anatomical structure",
                        "anatomical entity",
                        "muscle organ physiology phenotype",
                        "phenotypic effect",
                        "All",
                        "musculature phenotype",
                        "organ physiology phenotype",
                        "anatomical structure physiology phenotype",
                        "multicellular organism",
                        "muscle structure phenotype",
                        "musculature of body phenotype",
                        "organ",
                        "Abnormal muscle tone",
                        "material entity",
                        "muscle structure physiology phenotype",
                        "decreased muscle organ tone",
                        "multicellular anatomical structure physiology phenotype",
                        "anatomical entity",
                        "muscle organ phenotype",
                        "Hypotonia",
                        "anatomical structure phenotype",
                        "phenotype",
                        "anatomical system phenotype",
                        "entity",
                        "anatomical structure",
                        "material entity",
                        "musculature",
                        "musculature of body",
                        "multicellular organism phenotype",
                        "Abnormal muscle physiology",
                        "anatomical entity phenotype",
                        "material anatomical entity physiology phenotype",
                        "continuant",
                        "anatomical system",
                        "continuant",
                        "material anatomical entity phenotype",
                        "independent continuant",
                        "independent continuant",
                        "Abnormality of the musculature",
                        "taxon specific phenotype",
                    ],
                    "evidence_count": 6,
                    "grouping_key": "MONDO:0958235|False|biolink:has_phenotype|HP:0001252",
                    "highlighting": None,
                },
                {
                    "id": "uuid:292ee15b-198e-11f0-be82-6045bdb3d4c0",
                    "original_subject": "OMIM:620727",
                    "predicate": "biolink:has_phenotype",
                    "category": "biolink:DiseaseToPhenotypicFeatureAssociation",
                    "agent_type": "manual_agent",
                    "aggregator_knowledge_source": ["infores:monarchinitiative", "infores:hpo-annotations"],
                    "knowledge_level": "knowledge_assertion",
                    "primary_knowledge_source": "infores:omim",
                    "publications": ["PMID:16075202", "PMID:11381124", "PMID:20106987"],
                    "provided_by": "hpoa_disease_to_phenotype_edges",
                    "has_count": 4,
                    "has_percentage": 100.0,
                    "has_quotient": 1.0,
                    "has_total": 4,
                    "has_evidence": ["ECO:0006017"],
                    "negated": False,
                    "subject": "MONDO:0958235",
                    "object": "HP:0003557",
                    "subject_label": "Ullrich congenital muscular dystrophy 1B",
                    "subject_category": "biolink:Disease",
                    "subject_namespace": "MONDO",
                    "subject_closure": [
                        "MONDO:0100545",
                        "MONDO:0019952",
                        "MONDO:0005336",
                        "MONDO:0005071",
                        "MONDO:0020120",
                        "MONDO:0002081",
                        "MONDO:0000001",
                        "MONDO:0700223",
                        "MONDO:0700096",
                        "MONDO:0003847",
                        "MONDO:0000355",
                        "MONDO:0020121",
                        "MONDO:0019950",
                        "MONDO:0100546",
                        "MONDO:0002320",
                        "MONDO:0958235",
                        "MONDO:0019056",
                        "MONDO:0003939",
                    ],
                    "subject_closure_label": [
                        "musculoskeletal system disorder",
                        "congenital nervous system disorder",
                        "hereditary neuromuscular disease",
                        "hereditary disease",
                        "congenital myopathy",
                        "myopathy",
                        "Ullrich congenital muscular dystrophy",
                        "nervous system disorder",
                        "congenital muscular dystrophy",
                        "hereditary neurological disease",
                        "Ullrich congenital muscular dystrophy 1B",
                        "hereditary skeletal muscle disorder",
                        "neuromuscular disease",
                        "disease",
                        "muscular dystrophy",
                        "skeletal muscle disorder",
                        "human disease",
                        "muscle tissue disorder",
                    ],
                    "object_label": "Increased variability in muscle fiber diameter",
                    "object_category": "biolink:PhenotypicFeature",
                    "object_namespace": "HP",
                    "object_closure": [
                        "UPHENO:0002577",
                        "UPHENO:0002949",
                        "UPHENO:0079562",
                        "BFO:0000004",
                        "UPHENO:0002554",
                        "UPHENO:0004969",
                        "BFO:0000002",
                        "UBERON:0000475",
                        "UBERON:0000307",
                        "UPHENO:0003047",
                        "UPHENO:0003191",
                        "UPHENO:0004892",
                        "UPHENO:0081581",
                        "UPHENO:0086457",
                        "UBERON:0001062",
                        "BFO:0000001",
                        "UBERON:0002050",
                        "UBERON:0002329",
                        "UBERON:0000062",
                        "UBERON:0007524",
                        "UBERON:0002100",
                        "UPHENO:0002720",
                        "HP:0012084",
                        "UPHENO:0077801",
                        "UPHENO:0003234",
                        "UPHENO:0079572",
                        "UBERON:0000477",
                        "BFO:0000040",
                        "UBERON:0005291",
                        "UBERON:0003104",
                        "HP:0011805",
                        "UPHENO:0088123",
                        "UPHENO:0086482",
                        "UPHENO:0004143",
                        "UPHENO:0003081",
                        "UBERON:0005423",
                        "UBERON:0000468",
                        "UBERON:0007285",
                        "UBERON:0000923",
                        "CL:4052002",
                        "CL:0000737",
                        "CL:0008002",
                        "UBERON:0001134",
                        "UPHENO:0003163",
                        "HP:0003011",
                        "UPHENO:0004545",
                        "UPHENO:0003432",
                        "UBERON:0000465",
                        "UBERON:0003082",
                        "UBERON:0003077",
                        "UBERON:0000483",
                        "UPHENO:0002526",
                        "HP:0000118",
                        "UPHENO:0002731",
                        "UPHENO:0002530",
                        "UPHENO:0086477",
                        "UPHENO:0087663",
                        "UPHENO:0002564",
                        "UPHENO:0003160",
                        "UPHENO:0002976",
                        "UBERON:0000061",
                        "UBERON:0018254",
                        "UBERON:0003059",
                        "UBERON:0004120",
                        "UBERON:0005090",
                        "UBERON:0000922",
                        "HP:0003557",
                        "UPHENO:0075195",
                        "HP:0033127",
                        "UPHENO:0001003",
                        "UPHENO:0002926",
                        "UBERON:0010000",
                        "UBERON:0006598",
                        "UBERON:0010316",
                        "UBERON:0000926",
                        "UPHENO:0087660",
                        "BFO:0000040",
                        "UPHENO:0002542",
                        "CL:0000393",
                        "UBERON:0002036",
                        "UBERON:0014892",
                        "UPHENO:0087665",
                        "UPHENO:0086172",
                        "UPHENO:0003372",
                        "UPHENO:0002576",
                        "UPHENO:0005135",
                        "UPHENO:0002897",
                        "UPHENO:0086505",
                        "UPHENO:0002571",
                        "UPHENO:0002568",
                        "CL:0002242",
                        "CL:0000183",
                        "CL:0000255",
                        "CL:0000211",
                        "UBERON:0002385",
                        "UPHENO:0002816",
                        "UBERON:0001062",
                        "UBERON:0001015",
                        "UBERON:0000383",
                        "UPHENO:0004900",
                        "UPHENO:0002541",
                        "UPHENO:0003413",
                        "UPHENO:0002525",
                        "BFO:0000004",
                        "UPHENO:0087047",
                        "UPHENO:0003025",
                        "UPHENO:0004885",
                        "UPHENO:0086462",
                        "UBERON:0034923",
                        "UPHENO:0002963",
                        "UPHENO:0088180",
                        "UPHENO:0003182",
                        "UBERON:0011216",
                        "CL:0000228",
                        "CL:0000187",
                        "CL:0000188",
                        "HP:0000001",
                        "HP:0004303",
                        "UPHENO:0001002",
                        "UPHENO:0005141",
                        "UPHENO:0002536",
                        "UPHENO:0076710",
                        "UBERON:0000467",
                        "CL:0000000",
                        "RO:0002577",
                        "UPHENO:0002567",
                        "UPHENO:0079564",
                        "UPHENO:0004680",
                        "UPHENO:0087849",
                        "UPHENO:0076692",
                        "BFO:0000001",
                        "UBERON:0000479",
                        "UBERON:0013701",
                        "UBERON:0013702",
                        "CL:0002372",
                        "UPHENO:0001001",
                        "BFO:0000002",
                        "UPHENO:0003022",
                        "UBERON:0017650",
                        "UBERON:0015212",
                        "UBERON:0001630",
                        "UBERON:0009142",
                        "UBERON:0011676",
                        "UBERON:0007503",
                        "UBERON:0000486",
                        "UBERON:0005256",
                    ],
                    "object_closure_label": [
                        "subdivision of organism along main body axis phenotype",
                        "Abnormality of the musculoskeletal system",
                        "taxon specific phenotype",
                        "paraxial mesoderm phenotype",
                        "anatomical structure",
                        "skeletal musculature",
                        "presomitic mesoderm",
                        "mesoderm-derived structure",
                        "muscle structure",
                        "myotome",
                        "paraxial mesoderm",
                        "organ phenotype",
                        "multilaminar epithelium phenotype",
                        "skeletal muscle organ, vertebrate phenotype",
                        "presomitic mesoderm morphology phenotype",
                        "multicellular organism phenotype",
                        "anatomical entity morphology phenotype",
                        "anatomical cluster",
                        "material entity",
                        "nucleate cell",
                        "contractile cell",
                        "eukaryotic cell",
                        "electrically active cell",
                        "muscle tissue",
                        "Phenotypic abnormality",
                        "lateral structure phenotype",
                        "embryonic structure phenotype",
                        "multicellular anatomical structure phenotype",
                        "organ system subdivision",
                        "muscle tissue phenotype",
                        "Abnormality of skeletal muscle fiber size",
                        "myotome phenotype",
                        "organ system subdivision phenotype",
                        "subdivision of organism along main body axis",
                        "epithelial vesicle",
                        "multilaminar epithelium",
                        "trunk mesenchyme",
                        "embryo morphology phenotype",
                        "cell phenotype",
                        "Increased variability in muscle fiber diameter",
                        "size of anatomical entity phenotype",
                        "cell of skeletal muscle morphology phenotype",
                        "anatomical entity",
                        "entity",
                        "embryonic structure",
                        "somite",
                        "organism subdivision",
                        "tissue phenotype",
                        "developing anatomical structure",
                        "electrically responsive cell",
                        "striated muscle tissue",
                        "skeletal muscle organ, vertebrate",
                        "All",
                        "Abnormal muscle fiber morphology",
                        "presumptive structure phenotype",
                        "epithelium phenotype",
                        "anatomical structure phenotype",
                        "tissue",
                        "main body axis",
                        "body proper",
                        "phenotype",
                        "morphology of cell of skeletal muscle phenotype",
                        "germ layer / neural crest phenotype",
                        "mesenchyme morphology phenotype",
                        "musculature phenotype",
                        "size of cell phenotype",
                        "multicellular anatomical structure",
                        "multicellular organism",
                        "presumptive paraxial mesoderm",
                        "germ layer",
                        "syncytial cell",
                        "striated muscle cell",
                        "skeletal muscle fiber",
                        "skeletal muscle tissue",
                        "muscle structure phenotype",
                        "developing anatomical structure phenotype",
                        "multicellular organism morphology phenotype",
                        "somite phenotype",
                        "musculature of body phenotype",
                        "presomitic mesoderm phenotype",
                        "morphology of myotube phenotype",
                        "organ",
                        "multinucleate cell",
                        "muscle cell",
                        "cell of skeletal muscle",
                        "embryonic tissue phenotype",
                        "germ layer morphology phenotype",
                        "material entity",
                        "size of skeletal muscle fiber phenotype",
                        "anatomical entity",
                        "presumptive structure",
                        "germ layer / neural crest",
                        "embryo",
                        "myotube",
                        "phenotypic effect",
                        "muscle organ phenotype",
                        "morphology of muscle cell phenotype",
                        "independent continuant",
                        "entity",
                        "continuant",
                        "system",
                        "skeletal muscle tissue morphology phenotype",
                        "presumptive paraxial mesoderm phenotype",
                        "trunk mesenchyme phenotype",
                        "mesoderm phenotype",
                        "anatomical system phenotype",
                        "anatomical entity phenotype",
                        "muscle organ morphology phenotype",
                        "disconnected anatomical group",
                        "musculature",
                        "musculature of body",
                        "germ layer phenotype",
                        "skeletal musculature phenotype",
                        "mesoderm-derived structure phenotype",
                        "epithelial vesicle phenotype",
                        "muscle organ",
                        "entire embryonic mesenchyme",
                        "epithelium",
                        "mesoderm",
                        "embryo phenotype",
                        "mesenchyme phenotype",
                        "dense mesenchyme tissue phenotype",
                        "trunk phenotype",
                        "organism subdivision phenotype",
                        "anatomical system",
                        "cell",
                        "embryonic tissue",
                        "mesenchyme",
                        "Abnormal skeletal muscle morphology",
                        "embryonic tissue morphology phenotype",
                        "paraxial mesoderm morphology phenotype",
                        "continuant",
                        "material anatomical entity phenotype",
                        "myotome morphology phenotype",
                        "mesoderm morphology phenotype",
                        "material anatomical entity",
                        "independent continuant",
                        "blastula",
                        "developing mesenchymal structure phenotype",
                        "anatomical cluster phenotype",
                        "Abnormality of the musculature",
                        "size of cell of skeletal muscle phenotype",
                        "developing mesenchymal structure",
                        "lateral structure",
                        "dense mesenchyme tissue",
                        "trunk",
                    ],
                    "evidence_count": 4,
                    "grouping_key": "MONDO:0958235|False|biolink:has_phenotype|HP:0003557",
                    "highlighting": None,
                },
                {
                    "id": "uuid:292ee13c-198e-11f0-be82-6045bdb3d4c0",
                    "original_subject": "OMIM:620727",
                    "predicate": "biolink:has_phenotype",
                    "category": "biolink:DiseaseToPhenotypicFeatureAssociation",
                    "agent_type": "manual_agent",
                    "aggregator_knowledge_source": ["infores:monarchinitiative", "infores:hpo-annotations"],
                    "knowledge_level": "knowledge_assertion",
                    "primary_knowledge_source": "infores:omim",
                    "publications": ["PMID:16075202", "PMID:11506412", "PMID:20729548"],
                    "provided_by": "hpoa_disease_to_phenotype_edges",
                    "has_count": 3,
                    "has_percentage": 100.0,
                    "has_quotient": 1.0,
                    "has_total": 3,
                    "has_evidence": ["ECO:0006017"],
                    "negated": False,
                    "subject": "MONDO:0958235",
                    "object": "HP:0001270",
                    "subject_label": "Ullrich congenital muscular dystrophy 1B",
                    "subject_category": "biolink:Disease",
                    "subject_namespace": "MONDO",
                    "subject_closure": [
                        "MONDO:0100545",
                        "MONDO:0019952",
                        "MONDO:0005336",
                        "MONDO:0005071",
                        "MONDO:0020120",
                        "MONDO:0002081",
                        "MONDO:0000001",
                        "MONDO:0700223",
                        "MONDO:0700096",
                        "MONDO:0003847",
                        "MONDO:0000355",
                        "MONDO:0020121",
                        "MONDO:0019950",
                        "MONDO:0100546",
                        "MONDO:0002320",
                        "MONDO:0958235",
                        "MONDO:0019056",
                        "MONDO:0003939",
                    ],
                    "subject_closure_label": [
                        "musculoskeletal system disorder",
                        "congenital nervous system disorder",
                        "hereditary neuromuscular disease",
                        "hereditary disease",
                        "congenital myopathy",
                        "myopathy",
                        "Ullrich congenital muscular dystrophy",
                        "nervous system disorder",
                        "congenital muscular dystrophy",
                        "hereditary neurological disease",
                        "Ullrich congenital muscular dystrophy 1B",
                        "hereditary skeletal muscle disorder",
                        "neuromuscular disease",
                        "disease",
                        "muscular dystrophy",
                        "skeletal muscle disorder",
                        "human disease",
                        "muscle tissue disorder",
                    ],
                    "object_label": "Motor delay",
                    "object_category": "biolink:PhenotypicFeature",
                    "object_namespace": "HP",
                    "object_closure": [
                        "UPHENO:0002433",
                        "UPHENO:0002949",
                        "BFO:0000004",
                        "UPHENO:0082875",
                        "HP:0012759",
                        "HP:0012638",
                        "UPHENO:0002568",
                        "UBERON:0000468",
                        "HP:0012758",
                        "HP:0000118",
                        "UPHENO:0002530",
                        "UBERON:0001062",
                        "UPHENO:0002269",
                        "UPHENO:0001002",
                        "UPHENO:0002267",
                        "BFO:0000040",
                        "HP:0000707",
                        "BFO:0000001",
                        "BFO:0000040",
                        "UBERON:0001016",
                        "HP:0001270",
                        "UBERON:0001062",
                        "UPHENO:0001003",
                        "UPHENO:0004523",
                        "UPHENO:0002525",
                        "BFO:0000004",
                        "UPHENO:0001001",
                        "UPHENO:0002385",
                        "BFO:0000001",
                        "UBERON:0000061",
                        "UPHENO:0002963",
                        "UBERON:0000465",
                        "UBERON:0010000",
                        "HP:0000001",
                        "UPHENO:0002536",
                        "BFO:0000002",
                        "UBERON:0000467",
                        "BFO:0000002",
                    ],
                    "object_closure_label": [
                        "multicellular organism phenotype",
                        "entity",
                        "material anatomical entity",
                        "nervous system",
                        "anatomical entity physiology phenotype",
                        "Phenotypic abnormality",
                        "Neurodevelopmental abnormality",
                        "multicellular anatomical structure phenotype",
                        "multicellular anatomical structure",
                        "Motor delay",
                        "phenotypic effect",
                        "All",
                        "anatomical structure phenotype",
                        "anatomical structure physiology phenotype",
                        "multicellular organism",
                        "anatomical system physiology phenotype",
                        "Abnormal nervous system physiology",
                        "material entity",
                        "anatomical entity",
                        "independent continuant",
                        "phenotype",
                        "anatomical system phenotype",
                        "anatomical entity phenotype",
                        "entity",
                        "anatomical structure",
                        "material entity",
                        "nervous system physiology phenotype",
                        "Abnormality of the nervous system",
                        "Neurodevelopmental delay",
                        "nervous system phenotype",
                        "material anatomical entity physiology phenotype",
                        "continuant",
                        "anatomical system",
                        "continuant",
                        "material anatomical entity phenotype",
                        "independent continuant",
                        "taxon specific phenotype",
                        "anatomical entity",
                    ],
                    "evidence_count": 4,
                    "grouping_key": "MONDO:0958235|False|biolink:has_phenotype|HP:0001270",
                    "highlighting": None,
                },
                {
                    "id": "uuid:2372d469-198e-11f0-be82-6045bdb3d4c0",
                    "original_subject": "OMIM:158810",
                    "predicate": "biolink:has_phenotype",
                    "category": "biolink:DiseaseToPhenotypicFeatureAssociation",
                    "agent_type": "manual_agent",
                    "aggregator_knowledge_source": ["infores:monarchinitiative", "infores:hpo-annotations"],
                    "knowledge_level": "knowledge_assertion",
                    "primary_knowledge_source": "infores:omim",
                    "publications": ["PMID:30808312", "PMID:17886299"],
                    "provided_by": "hpoa_disease_to_phenotype_edges",
                    "has_count": 4,
                    "has_percentage": 100.0,
                    "has_quotient": 1.0,
                    "has_total": 4,
                    "has_evidence": ["ECO:0006017"],
                    "negated": False,
                    "subject": "MONDO:0024530",
                    "object": "HP:0003701",
                    "subject_label": "Bethlem myopathy 1A",
                    "subject_category": "biolink:Disease",
                    "subject_namespace": "MONDO",
                    "subject_closure": [
                        "MONDO:0100225",
                        "MONDO:0016106",
                        "MONDO:0100545",
                        "MONDO:0000001",
                        "MONDO:0019952",
                        "MONDO:0005336",
                        "MONDO:0005071",
                        "MONDO:0020120",
                        "MONDO:0002081",
                        "MONDO:0700223",
                        "MONDO:0003847",
                        "MONDO:0020121",
                        "MONDO:0024530",
                        "MONDO:0016139",
                        "MONDO:0700096",
                        "MONDO:0019950",
                        "MONDO:0100546",
                        "MONDO:0002320",
                        "MONDO:0008029",
                        "MONDO:0019056",
                        "MONDO:0003939",
                    ],
                    "subject_closure_label": [
                        "musculoskeletal system disorder",
                        "congenital nervous system disorder",
                        "hereditary neuromuscular disease",
                        "disease",
                        "Bethlem myopathy 1A",
                        "qualitative or quantitative protein defects in neuromuscular diseases",
                        "human disease",
                        "hereditary disease",
                        "congenital myopathy",
                        "myopathy",
                        "nervous system disorder",
                        "Bethlem myopathy",
                        "congenital muscular dystrophy",
                        "hereditary neurological disease",
                        "hereditary skeletal muscle disorder",
                        "neuromuscular disease",
                        "progressive muscular dystrophy",
                        "muscular dystrophy",
                        "skeletal muscle disorder",
                        "collagen 6-related myopathy",
                        "muscle tissue disorder",
                    ],
                    "object_label": "Proximal muscle weakness",
                    "object_category": "biolink:PhenotypicFeature",
                    "object_namespace": "HP",
                    "object_closure": [
                        "HP:0011804",
                        "UPHENO:0002320",
                        "UPHENO:0003047",
                        "UPHENO:0080555",
                        "UBERON:0000062",
                        "UPHENO:0082875",
                        "BFO:0000004",
                        "HP:0003701",
                        "BFO:0000002",
                        "UPHENO:0002949",
                        "UBERON:0000468",
                        "HP:0003011",
                        "UPHENO:0003432",
                        "UBERON:0000465",
                        "UPHENO:0002526",
                        "HP:0000118",
                        "UPHENO:0002530",
                        "BFO:0000004",
                        "UPHENO:0002976",
                        "UBERON:0001062",
                        "UBERON:0000061",
                        "UBERON:0005090",
                        "UPHENO:0001002",
                        "HP:0033127",
                        "UPHENO:0001003",
                        "UPHENO:0002267",
                        "UBERON:0010000",
                        "BFO:0000040",
                        "BFO:0000001",
                        "BFO:0000040",
                        "UPHENO:0002359",
                        "UPHENO:0002568",
                        "UPHENO:0002816",
                        "UPHENO:0002386",
                        "UBERON:0001062",
                        "UBERON:0001015",
                        "UBERON:0000383",
                        "UPHENO:0002525",
                        "UPHENO:0080556",
                        "UPHENO:0002308",
                        "UPHENO:0002385",
                        "BFO:0000001",
                        "UPHENO:0001001",
                        "UPHENO:0002963",
                        "UBERON:0011216",
                        "HP:0000001",
                        "UPHENO:0002536",
                        "BFO:0000002",
                        "UBERON:0000467",
                        "HP:0001324",
                        "UPHENO:0003022",
                        "UBERON:0001630",
                    ],
                    "object_closure_label": [
                        "Abnormality of the musculoskeletal system",
                        "taxon specific phenotype",
                        "anatomical structure",
                        "muscle structure",
                        "organ phenotype",
                        "entity",
                        "anatomical entity physiology phenotype",
                        "Phenotypic abnormality",
                        "decreased muscle organ strength",
                        "multicellular anatomical structure phenotype",
                        "organ system subdivision",
                        "organ system subdivision phenotype",
                        "muscle organ physiology phenotype",
                        "phenotypic effect",
                        "independent continuant",
                        "All",
                        "anatomical structure phenotype",
                        "Muscle weakness",
                        "musculature phenotype",
                        "organ physiology phenotype",
                        "anatomical structure physiology phenotype",
                        "independent continuant",
                        "multicellular anatomical structure",
                        "multicellular organism",
                        "muscle structure phenotype",
                        "musculature of body phenotype",
                        "organ",
                        "material entity",
                        "muscle structure physiology phenotype",
                        "multicellular anatomical structure physiology phenotype",
                        "anatomical entity",
                        "muscle organ phenotype",
                        "continuant",
                        "decreased anatomical entity strength",
                        "anatomical system phenotype",
                        "anatomical entity phenotype",
                        "entity",
                        "musculature",
                        "musculature of body",
                        "multicellular organism phenotype",
                        "Abnormal muscle physiology",
                        "material entity",
                        "muscle organ",
                        "material anatomical entity physiology phenotype",
                        "continuant",
                        "anatomical system",
                        "phenotype",
                        "Proximal muscle weakness",
                        "material anatomical entity phenotype",
                        "material anatomical entity",
                        "Abnormality of the musculature",
                        "anatomical entity",
                    ],
                    "evidence_count": 3,
                    "grouping_key": "MONDO:0024530|False|biolink:has_phenotype|HP:0003701",
                    "highlighting": None,
                },
            ],
        },
        "facet_counts": {"facet_fields": {}, "facet_queries": {}},
        "highlighting": {},
    }
