def METHOD_NAME(self, query, variableBindings, timeout_in_millis):
    req = requests.request(
        url=self.knowledge_query_url,
        headers=self.headers,
        data=json.dumps({"query": query, "variableBindings": variableBindings}),
        method="POST",
    ).json()
    return req