example query format:
{
"parameters": {"tiers": [0], "timeout": -1},
"submitter": "trapi-testing-tools",
"message": {
"query_graph": {
"nodes": {
"n0": {"ids": ["MONDO:0030010", "MONDO:0011766", "MONDO:0009890"]},
"n1": {},
},
"edges": {
"e0": {
"subject": "n0",
"object": "n1",
"predicates": ["biolink:has_phenotype"],
"attribute_constraints": [
{
"id": "biolink:has_total",
"name": "total value must be greater than 2",
"operator": ">",
"value": 2,
},
{
"id": "biolink:has_total",
"name": "total value must not be greater than 4",
"operator": ">",
"value": 4,
"not": True,
},
],
}
},
}
},
}
example query format:
{
"parameters": {"tiers": [0], "timeout": -1},
"submitter": "trapi-testing-tools",
"message": {
"query_graph": {
"nodes": {
"n0": {"ids": ["MONDO:0030010", "MONDO:0011766", "MONDO:0009890"]},
"n1": {},
},
"edges": {
"e0": {
"subject": "n0",
"object": "n1",
"predicates": ["biolink:has_phenotype"],
"attribute_constraints": [
{
"id": "biolink:has_total",
"name": "total value must be greater than 2",
"operator": ">",
"value": 2,
},
{
"id": "biolink:has_total",
"name": "total value must not be greater than 4",
"operator": ">",
"value": 4,
"not": True,
},
],
}
},
}
},
}