Skip to content

Test Queries

MarkDWilliams edited this page Dec 7, 2020 · 3 revisions

Ehlers-Danlos Drug Repurposing

{
    "message":{
        "query_graph": {
            "nodes": [
            {
                "id": "n0",
                "type": "disease",
                "curie":"DOID:13636"
            },
            {
                "id": "n1",
                "type": "gene"
            },
            {
                "id": "n2",
                "type": "chemical_substance"
            }
            ],
            "edges": [
            {
                "id": "e0",
                "source_id": "n0",
                "target_id": "n1"
            },
            {
                "id": "e1",
                "source_id": "n1",
                "target_id": "n2"
            }
            ]
        }
    }
}

Xeroderma Pigmentosa Drug Repurposing

{
    "message":{
        "query_graph": {
            "nodes": [
            {
                "id": "n0",
                "type": "disease",
                "curie":"DOID:0050427"
            },
            {
                "id": "n1",
                "type": "gene",
                "set": false
            },
            {
                "id": "n2",
                "type": "chemical_substance",
                "set": false
            }
            ],
            "edges": [
            {
                "id": "e0",
                "source_id": "n0",
                "target_id": "n1"
            },
            {
                "id": "e1",
                "source_id": "n1",
                "target_id": "n2"
            }
            ]
        }
    }
}

What drugs treat pain?

{
  "message": {
    "query_graph": {
      "edges": [
        {
          "id": "e00",
          "source_id": "n00",
          "target_id": "n01",
          "type": "treated_by"
        }
      ],
      "nodes": [
        {
          "curie": "MONDO:0021668",
          "id": "n00",
          "type": "disease"
        },
        {
          "id": "n01",
          "type": "chemical_substance"
        }
      ]
    }
  }
}
Clone this wiki locally