Skip to content

Result discrepancy between tier 1 and tier 0 for direct lookup #85

@maximusunc

Description

@maximusunc

Here's a query that gets 1 result from Tier 0, but 0 results from Tier 1:

curl -X POST https://dev.retriever.biothings.io/query \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "message": {
    "query_graph": {
      "nodes": {
        "n1": {
          "ids": [
            "MONDO:0011705"
          ],
          "categories": [
            "biolink:Disease"
          ],
          "set_interpretation": "BATCH",
          "constraints": [],
          "member_ids": []
        },
        "n0": {
          "ids": null,
          "categories": [
            "biolink:ChemicalEntity"
          ],
          "set_interpretation": "BATCH",
          "constraints": [],
          "member_ids": []
        }
      },
      "edges": {
        "t_edge": {
          "subject": "n0",
          "object": "n1",
          "knowledge_type": null,
          "predicates": [
            "biolink:treats"
          ],
          "attribute_constraints": [],
          "qualifier_constraints": []
        }
      }
    },
    "knowledge_graph": { "nodes": {}, "edges": {} },
    "results": [],
    "auxiliary_graphs": {}
  },
  "parameters": { "tiers": [1], "timeout": 3000.0 }
}' > retriever_response.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtier1Concerts Tier 1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions