ranking-agent / robokop-ara

0 stars 1 forks source link

The query graph is modified to multiple TRAPI versions #24

Closed maximusunc closed 3 years ago

maximusunc commented 3 years ago

I asked this query:

{
  "message": {
    "query_graph": {
      "nodes": {
        "n0": {
          "categories": [
            "biolink:GeneOrGeneProduct"
          ],
          "ids": ["NCBIGene:3105","NCBIGene:3106","NCBIGene:64167","NCBIGene:60412","NCBIGene:26191"]
        },
        "n1": {
          "categories": [
            "biolink:BiologicalProcessOrActivity"
          ]
        }
      },
      "edges": {
        "e0": {
          "predicates": [
            "biolink:has_participant"
          ],
          "subject": "n1",
          "object": "n0"
        }
      }
    }
  }
}

and got back this query graph:

"query_graph": {
      "nodes": {
        "n0": {
          "is_set": false,
          "constraints": null,
          "id": [
            "NCBIGene:3105",
            "NCBIGene:3106",
            "NCBIGene:64167",
            "NCBIGene:60412",
            "NCBIGene:26191"
          ],
          "category": [
            "biolink:GeneOrGeneProduct"
          ]
        },
        "n1": {
          "ids": null,
          "is_set": false,
          "constraints": null,
          "category": [
            "biolink:BiologicalProcessOrActivity"
          ]
        }
      },
      "edges": {
        "e0": {
          "subject": "n1",
          "object": "n0",
          "relation": null,
          "constraints": null,
          "predicate": [
            "biolink:has_participant"
          ]
        }
      }
    },
maximusunc commented 3 years ago

False alarm. I confirmed that this is not an issue with the ARA.