ranking-agent / strider

A TRAPI-compliant component of ARAGORN that queries distributed KPs and assembles answers to user questions.
MIT License
3 stars 0 forks source link

Incorrect sources trail #412

Open maximusunc opened 1 year ago

maximusunc commented 1 year ago

When I ask this query, I get back one edge (down below) and our (aragorn) upstream resource id doesn't fit.

{
  "message": {
    "query_graph": {
      "edges": {
        "e00": {
          "object": "n01",
          "subject": "n00"
        }
      },
      "nodes": {
        "n00": {
          "constraints": [],
          "ids": [
            "PUBCHEM.COMPOUND:73441863"
          ]
        },
        "n01": {
          "constraints": [],
          "ids": [
            "UniProtKB:P49768"
          ]
        }
      }
    }
  }
}
"190108355a69": {
          "subject": "PUBCHEM.COMPOUND:73441863",
          "object": "NCBIGene:5663",
          "predicate": "biolink:physically_interacts_with",
          "sources": [
            {
              "resource_id": "infores:biothings-explorer",
              "resource_role": "aggregator_knowledge_source",
              "upstream_resource_ids": [
                "infores:biothings-bindingdb"
              ],
              "source_record_urls": null
            },
            {
              "resource_id": "infores:aragorn",
              "resource_role": "aggregator_knowledge_source",
              "upstream_resource_ids": [
                "infores:service-provider-trapi"
              ],
              "source_record_urls": null
            },
            {
              "resource_id": "infores:biothings-bindingdb",
              "resource_role": "aggregator_knowledge_source",
              "upstream_resource_ids": [
                "infores:bindingdb"
              ],
              "source_record_urls": null
            },
            {
              "resource_id": "infores:bindingdb",
              "resource_role": "primary_knowledge_source",
              "upstream_resource_ids": null,
              "source_record_urls": null
            }
          ],
}