Syntactic translation web services - AIoTES/DataLayer-DataLake-QueryExecution GitHub Wiki
The query component of the Data Lake makes use of syntactic translation web services to convert the retrieved data into the AIoTES JSON-LD format. These web services are defined for a specific platform type and must implement the following methods:
-
POST /translate: syntactic translation from the platform's format to the AIoTES JSON-LD format.
- Input: data in the platform's format.
- Output: AIoTES JSON-LD Observation message containing the input data in the payload graph.
-
POST /formatx: syntactic translation from the AIoTES JSON-LD format into the platform's specific format.
- Input: AIoTES JSON-LD Observation message containing data in the platform's ontology/datamodel.
- Output: data in the platform's format.
- GET /type: get associated platform type value (for the service registration). This method returns the value of the platform's bridge label.