NCATSTranslator / minihackathons

MIT License
5 stars 5 forks source link

Explanatory no results Workflow A.5 #148

Closed vgardner-renci closed 3 years ago

vgardner-renci commented 3 years ago

https://arax.ncats.io/?source=ARS&id=df3f226a-571a-4219-ba5e-a37b7040ee18

No predicates or categories, CURIE on subject

image

vgardner-renci commented 3 years ago

{
  "description": "Unsupported query structure.",
  "logs": [],
  "message": {
    "knowledge_graph": {
      "edges": {},
      "nodes": {}
    },
    "query_graph": {
      "edges": {
        "e01": {
          "object": "n1",
          "subject": "n0"
        }
      },
      "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

This query is not currently a part of the demo.