-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
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
Reactions are currently unavailable