Interface: PropertyGraphTranslateResponse
@kortexya/reasoninglayer / PropertyGraphTranslateResponse
Interface: PropertyGraphTranslateResponse
Section titled “Interface: PropertyGraphTranslateResponse”Defined in: src/types/property-graph.ts:123
Translate-only result for a GQL/Cypher/Gremlin query.
Remarks
Section titled “Remarks”Returned by the /translate endpoints, which lower the query to OSFQL and
return the program without executing it. Useful for migration audits and
for inspecting how a property-graph query maps onto OSF.
Example
Section titled “Example”const translated = await client.propertyGraph.translateGremlin('g.V().hasLabel("person")');console.log(translated.osfql); // the OSFQL program the server would runProperties
Section titled “Properties”language
Section titled “language”language:
string
Defined in: src/types/property-graph.ts:125
Source language: "gql", "cypher", or "gremlin".
notes:
string[]
Defined in: src/types/property-graph.ts:134
Compatibility notes explaining the lowering.
operation
Section titled “operation”operation:
string
Defined in: src/types/property-graph.ts:128
Operation kind: "read" or "write".
osfql:
string
Defined in: src/types/property-graph.ts:131
The OSFQL program the server would execute.