translate
Translate natural language question into a standardized query
post/translate
Request body
Example request
{
"text": "what genetic conditions offer protection against malaria",
"language": "English"
}Response
successful operation
Example response
[
{
"submitter": "submitter",
"bypass_cache": false,
"page_number": 1,
"operations": "",
"workflow": [
"",
""
],
"log_level": "",
"enforce_edge_directionality": false,
"return_minimal_metadata": false,
"max_results": 100,
"stream_progress": false,
"message": {
"query_graph": {
"edges": {
"e00": {
"subject": "n00",
"object": "n01",
"predicates": [
"biolink:physically_interacts_with"
]
}
},
"nodes": {
"n00": {
"ids": [
"CHEMBL.COMPOUND:CHEMBL112"
]
},
"n01": {
"categories": [
"biolink:Protein"
]
}
}
}
},
"page_size": 100
}
]