You are here

UniGraph API - Sample Source Code

The UniGraph API facilitates access to a vast collection of knowledge resources. The API is powered by the UniGraph QL, a graph traversal language platform that is more or less an imitation of the Facebook-operated GraphQL. The UniGraph QL supports the processing of graph-related queries with least interventions. Developers have the option of deploying either the data streaming endpoint or the REST-like request/response endpoint. Whereas the data streaming endpoint supports real-time transmission of graph traversing results, the REST-like request/response endpoint conveys results soon after the query execution. The REST-like request/response endpoint also imposes a 20-seconds time limit to query execution, after which it automatically generates a timeout error warning. The use of either endpoint requires some basic understanding of the UniGraph schema.