NCATSTranslator / minihackathons

MIT License
5 stars 5 forks source link

Explanatory no results on Workflow A.4 #143

Closed vgardner-renci closed 3 years ago

vgardner-renci commented 3 years ago

https://arax.ncats.io/?source=ARS&id=08c2c1d9-65d7-4a86-affc-6a90f9d33b4a

No predicates or categories

image

vgardner-renci commented 3 years ago

{
  "description": "Unsupported query structure.",
  "logs": [],
  "message": {
    "knowledge_graph": {
      "edges": {},
      "nodes": {}
    },
    "query_graph": {
      "edges": {
        "e01": {
          "object": "n0",
          "subject": "n1"
        }
      },
      "nodes": {
        "n0": {
          "categories": [
            "biolink:Gene"
          ],
          "ids": [
            "NCBIGene:23221"
          ]
        },
        "n1": {}
      }
    },
    "results": []
  },
  "status": "Unsupported",
  "validation_result": {
    "message": "",
    "n_edges": 0,
    "n_nodes": 0,
    "size": "0.99 kB",
    "status": "PASS",
    "version": "1.1.1"
  }
}
pg427 commented 3 years ago

Explanatory Agent currently can't handle queries with no information i.e. node category, name or id for a particular id. We are incorporating this in the new design, expected to be implemented by September relay.

vgardner-renci commented 3 years ago

The query is not currently a part of the demo.